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
""" | |
Usage: | |
-First assemble the .asm file eg (nasm -f elf test.asm) | |
-Then objdump the object file eg (objdump -d -M intel test.o) | |
-Execute the script with the bytecode you want parsed eg: | |
--------------------------------- | |
python3.7 'ShellParse.py' "31 c0 | |
50 | |
68 2f 2f 73 68 | |
68 2f 62 69 6e |