Last active
October 21, 2020 16:57
-
-
Save 0xhexmex/8a519a8fc44f37d579ed9e2ee2d318f6 to your computer and use it in GitHub Desktop.
Random shellcode formatting tips
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
// Take a stageless CS Beacon raw payload and convert to shellcode in the '\xAA\xBB...' format | |
# Attacks > Packages > Windows Executable (S) > Raw. Save as beacon.bin | |
# hexdump -v -e '"\\x" 1/1 "%02X"' ./beacon.bin | |
// Take any raw shellcode file and get the hex from it in the 'fe9820fa...' format | |
# xxd -p -c 100000000000000000 ./payload.bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment