Last active
December 8, 2021 01:25
-
-
Save oxagast/87a4fd93a11c8bd9f0d5f20cf3c6e434 to your computer and use it in GitHub Desktop.
Dissassembles all binaries in a directory and sorts by most used processor instructions
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
# finds and sorts most commonly used processor instructions from raw objdump dissassembley. | |
objdump -D /bin/bash | grep -E " .{6,}:" | grep -v '(bad)' | cut -d ':' -f 2 | sort -b -t, -nk2 | uniq -c | sort -n -r | grep -E "\s+[[:digit:]]+\s+.{12,}$" | head -n 15 |
Author
oxagast
commented
Dec 8, 2021
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment