# cat blog >> /dev/brain 2> /proc/mind
cat blog >> /dev/brain 2> /proc/mind
# cat od2sc #!/bin/bash # Name: od2sc (objdump to shellcode) # Usage: od2sc <object_file> objdump -D $1 \ | awk -F'\t' '{print $2}' \ | grep -v ^$ \ | tr -d '\n' \ | sed -e 's/ \+/\\x/g' -e 's/^/"\\x/' -e 's/\\x$/\"\n/' # od2sc execve "\x31\xc0\x99\xb0\x0b\x52\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x52\x89\xe2\x53\x89\xe1\xcd\x80"
cat od2sc
od2sc execve
Post a Comment
No comments:
Post a Comment