Created
May 13, 2016 07:49
-
-
Save markhc/3cdf07f25496f6df025e4fb800eac9dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UCHAR pCodeBuffer[] = | |
{ | |
0x55, //push ebp // 0x00 | |
0x89, 0xE5, //mov ebp,esp // 0x01 | |
0x68, 0x00, 0x00, 0x00, 0x00, //push pModuleHandle // 0x03 | |
0x68, 0x00, 0x00, 0x00, 0x00, //push pszModulePath // 0x08 | |
0x6A, 0x00, //push 0 // 0x0D | |
0x6A, 0x00, //push 0 // 0x0F | |
0xE8, 0x00, 0x00, 0x00, 0x00, //call LdrLoadDll // 0x11 | |
0x5D, //pop ebp // 0x16 | |
0xC2, 0x04, 0x00 //ret 4 // 0x17 | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment