Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #asm to elf aliases
- alias escape="python -c $'import sys; a = sys.stdin; f = a.readlines()[0].strip(); print 2*'\''\\\\'\''+'\''x'\''+(2*'\''\\\\'\''+'\''x'\'').join([f[x:x+2] for x in range(len(f))][0::2])'"
- alias a2e='echo -e "#include <stdio.h>\n#include <string.h>\nunsigned char shellcode[]=\"$(</dev/stdin)\";\nmain(){__asm__(\"call shellcode\");}" | gcc -m32 -fno-stack-protector -z execstack -o elf -xc -'
Advertisement
Add Comment
Please, Sign In to add comment