Created
June 19, 2016 05:15
-
-
Save pushrax/e1923a20e2278c30e833f7babbd49525 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
readelf -x .text $1 | sed '1,2d' | cut -d ' ' -f 4,5,6,7 | sed 's/ //g' | sed 's/\(..\)/\\x\1/g' | tr -d '\n' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment