Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 398 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 398 Bytes

#python extract_bytecode.py file_name.txt Extract bytecode and format shellcode that output from objdump -d in Linux

Run extract_bytecode.py to extract byte code from output text file

ex1:

nasm -f elf sh1.asm

ld -o sh1 sh1.o

objdump -d sh1 > sh1.txt #python extract_bytecode.py sh1.txt

ex2:

nasm -f elf sh2.asm

ld -o sh2 sh2.o

objdump -d sh2 > sh2.txt #python extract_bytecode.py sh2.txt