Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Break Condiditon: [esp+4]==L"Test.dll"
- Break Condition: esp+4==L"Test.dll"
- etc..
- Typ Address Module/La State Disassembly H Summa
- DLL
- 76850000 gdi32.dll Enabled 0 all()
- Type Address Module/Label/Exception State Disassembly H Summary
- Software
- 76ACE8A5 <kernel32.dll.CreateFileW> Enabled mov edi,edi 5 breakif((1:[[esp+4]+0xc] == 66) && (1:[[esp+4]+0xe] == 69)), log("brk hit { 1:[[esp+4]+c] }")
- #include <stdio.h>
- int main(void)
- {
- char *filenames[] = {
- "testmeone.txt",
- "testmetwo.txt",
- "testmethree.txt",
- "testmefour.txt",
- "testmefive.txt"};
- for (int i = 0; i < 5; i++)
- {
- FILE *fp = NULL;
- errno_t err = fopen_s(&fp, filenames[i], "r");
- if (err == 0 && fp != 0)
- {
- char buff[0x50] = {0};
- fread_s(buff, 0x50, 1, 0x50, fp);
- printf("%sn", buff);
- fclose(fp);
- }
- }
- }
Add Comment
Please, Sign In to add comment