16

16



haking?Plive:/ramdisk/home/haking

7    printf("num=%d\n", num);

0xbffffaac:    0x40035770

[hakingUlive haking]$ ./vuln 272 &buf=0xbffff9b0

[haking81ive haking]$ nc -1 -p 9999 I gdb -x gdb_commands.txt vuln GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)

Copgright 2003 Free Softuare Foundation, Inc.

GDB is free softuare, covered bg the GNU General Public License, and gou are uelcome to change it and/or distribute copies of it under certain conditions. Tgpe "shou copging" to see the conditions.

There is absolutelg no uarrantg for GDB. Tgpe "shou uarrantg" for details.

This GDB uas configured as "i386-redhat-linux-gnu"...Using host libthread_db lib rarg "/1ib/tls/1ibthread_db.so.1".

Breakpoint 1 at 0x80483d6: file vuln.c, linę 6.

&buf=0xbffff9a0

Breakpoint 1, main (argc=2, argv=0xbffffb34) at vuln.c:6

6    num = read(0,buf,atoi(argv[ll));

0xbffffaac:    0x40035770

7    pr intf (,,num=7jj\n", num);

0xbffffaac:    0xbffffale

[haking01ive hakingl$ |


Wyszukiwarka

Podobne podstrony:
haking?Plive:/ramdisk/home/haking §1 [hakingdlive haking]$ ping jabber.org i PING jabber.org
09 2 haking?Plive:/ramdisk/home/haking 0x400356bc <__1ibc_start_ma in+60> (%eax),%eax
u haking?Plive:/ramdisk/home/haking 17:30:36 2004 GMT 17:30:36 2005 GMT Not Before: Sep 7 Not flfter
15 gdb haking?Plive:/ramdisk/home/haking Type "shou copying" to see the conditions. There
hakingff’ live:/ramdisk/home/haking &buf=0xbffff9b0 num=272 Segmentation fault (core
10 gdb hakingff’ live:/ramdisk/home/haking 5 printfCnou ue are in fn

18 gdb hakingff’ live:/ramdisk/home/haking ) main (int argc, char *argv[]) { fn(argv[ll); print
lazyjoe F ->- haking@live:/ramdisk/home/haking/lazyjoe/listings Plik Edycja Widok lerminal Zakła
lazyjoeb F ->- haking@live:/ramdisk/home/haking/lazyjoe/listings Plik Edycja Widok lerminal Zakł
08 gdb v ^ 1^_hakingg live:/ramdisk/home/haking_j n □ X Type "shou copying" to see the con
□ mc - /ramdisk/home/haking/demoCA/private -BEGIN RSfl PRIUATE KEY-Proc-Type: A,ENCRYPTED DEK-Info:
11 gdb hakingff’ live:/ramdisk/home/haking m 0xbffffaa0:
12 gdb m hakingff’ live:/ramdisk/home/haking 0xbffffae0:
hakingg’ live:/ramdisk/home/haking There is absolutely no uarranty for GDB. Type "shou uarranty
16 gdb hakingff’ live:/ramdisk/home/haking (gdb) list 1
18 gdb 2 hakingff’ live:/ramdisk/home/haking (gdb) break 3 Breakpoint 1 at 0x8048382: file stack_l.c
19 1 r—    :-^ ^ «« ^ 1^__hakingg live:/ramdisk/home/haking_ J n □ X [hakingQlive hak
&buf=0xbffff9b0 f haking£> live:/ramdisk/home/haking [haking@live haking]$ ./egg_2.pg I nc
29 gdb □ hakingff live:/ramdisk/home/haking/libgtop-1.0.6/src/daemon This GDB uas configured as

więcej podobnych podstron