08 1

08 1




haki ng @> I ive:/ram d i sk/ho me/haki ng

[haking@live hakingl$ head -c 280 /dev/zero I ./vuln 280 &buf=0xbffff%0 num=280

Segmentation fault

[haking@live haking]$ gcc -ggdb vuln.c -o vuln [haking01ive hakingl$ gdb vuln GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)

Copgright 2003 Free Software Foundation, Inc.

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

There is absolutelg no warrantg for GDB. Tgpe "show warrantg" for details.

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

(gdb) break 6

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

(gdb) run

Starting program: /ramdisk/home/haking/vuln &buf=0xbffff%0

Breakpoint 1, main (argc=l, argv=0xbffffb44) at vuln.c:6 6    num = read(0,buf,atoi(argv[ll));

(gdb) |


Wyszukiwarka

Podobne podstrony:
1?100bc45f45 6.6 5.08± r^r 9.4 8.5T ł-L
2011 12 19 ;57;08 ¥>(") = arctgl±-± 2Ja , a więc W naszym konkretnym przypadku   &
TPD 08 •~A- J*>/ O.ł a% CKTC^-> o.r A 5o0 .XX) /co 2 3oO GOO -./oo /* too -
ORTOFRAJDA MALOWANE DYKTANDA ZESZYT ĆWICZEŃ 08(1) □ omiczek malinki Kto mądry, DodowaniD zwieDakDw
244 VIII. SPECJALNE PRZYPADKI REKTYFIKACJIa) h yi> i l$sk h) I I hO,xo,i o Pólka
68797 scan 1 jvoi
Screen shot 13 02 08 at 03 42 (ir was impossible for me co participatc in a world of scrength, to g
B Ho/me^ł UioŁo-c^6*- ‘    0^v /ua (ŁeŁ«Łd ;: PaU Ojglę^U «■* <Vm** rh^H §§ 1 1

więcej podobnych podstron