Last active
January 28, 2018 01:16
-
-
Save itsecurityco/86d620b8b0f28cb00b04dd08efe2a5a1 to your computer and use it in GitHub Desktop.
This script takes a filename as argument and will write bytes in \x format to the file
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
#!/usr/bin/env python | |
# Author: @itseco | |
# This script takes a filename as argument | |
# will write bytes in \x format to the file | |
import sys | |
handle = open(sys.argv[1], 'w') | |
buf = "Paste the shellcode here..." | |
handle.write(buf) | |
handle.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment