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 | |
# Call with python CleanBinaryStrings.py <binaryName> | |
# Will edit the binary in place | |
import struct | |
import sys | |
import mmap | |
import string | |
import binascii | |
import hashlib | |
import subprocess |