-
Notifications
You must be signed in to change notification settings - Fork 209
Open
Description
For some reason this code do not work for me :
for i in `objdump -d shellcode.o | tr '\t' ' ' | tr ' ' '\n' | egrep '^[0-9a-f]{2}$' ` ; do echo -n "\x$i" ; done
And I found that you can use the following code to extract hexadecimal shellcode from the objdump disassemble output :
for i in `objdump -d shellcode.o | tr '\t' ' ' | tr ' ' '\n' | egrep '^[0-9a-f]{2}$' ` ; do printf \\%c%b x $i ; done
rosehgal
Metadata
Metadata
Assignees
Labels
No labels