You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
730 B

USAGE
1. Prepare your payload in payload.nasm file or you can directly specify it in make.sh script (PAYLOADCODE= variable)
2. Compile the shellcode with a custom "egg" (must be 8 bytes in length)
access$ ./make.sh "MyEgg123"
[I] Using custom EGG mark: MyEgg123
[+] Compiling payload.nasm ...
[+] Compiling hunter.nasm ...
[+] Extracting PAYLOAD code from payload ...
[+] Adding EGG mark to PAYLOAD ...
[+] Checking PAYLOAD code for NULLs ...
[+] Extracting HUNTER code from hunter ...
[+] Checking HUNTER code for NULLs ...
[+] Compiling shellcode.c ...
-rwx------. 1 arno arno 5132 Mar 28 00:22 ./shellcode
[+] All done!
3. Run the shellcode
access$ ./shellcode
Hunter Length: 44
Payload Length: 36
sh-4.1$