11 gdb

11 gdb



hakingff’ live:/ramdisk/home/haking

m


0xbffffaa0: 0xbffffab0: 0xbffffac0: 0xbffffad0: 0xbffffae0:

0x0804836e

0x0804836f

0x08048371

0x08048374

0x08048377

0x0804837c

0x0804837e

0x08048385

0x0804838c

0x0804838f

0x08048392

0x08048395

0x0804839a

0x0804839d

0x0804839e

0x00000001

0x00000002

0x00000001

0x40159238

0xbffffac0 0x00000002

0x00000001

0xbffffb44

0x40015020

0x40038732 0x00000000

0xbffffbl8

0xbffffb4c

0x080483e8

0x00000000 0x40159238

0x40038770

0x00000000

0xbffffbl8

0x00000000

End of assembler dump. (gdb) |


(gdb) disas main

Dump of assembler codę for function main:

<main+0>:

push

Xebp

<main+l>:

mov

%esp,%ebp

<main+3>:

sub

$0x8,%esp

<main+6>:

and

$0xfffffff0,Xesp

<main+9>:

mov

$0x0,Xeax

<main+14>:

sub

Xeax/Xesp

<main+16>:

movl

$0x1,0xfffffffc(Xebp)

<main+23>:

movl

$0x2,0xfffffff8(Xebp)

<main+30>:

sub

$0x8,Xesp

<main+33>:

pushl

0xfffffff8(Xebp)

<main+36>:

pushl

0xfffffffc(Zebp)

<main+39>:

cali

0x8048348 <fn>

<main+44>:

add

$0x10,Xesp

<main+47>:

leave

<main+48>:

ret



Wyszukiwarka

Podobne podstrony:
12 gdb m hakingff’ live:/ramdisk/home/haking 0xbffffae0:
08 gdb v ^ 1^_hakingg live:/ramdisk/home/haking_j n □ X Type "shou copying" to see the con
10 gdb hakingff’ live:/ramdisk/home/haking 5 printfCnou ue are in fn

hakingff’ live:/ramdisk/home/haking &buf=0xbffff9b0 num=272 Segmentation fault (core
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
18 gdb hakingff’ live:/ramdisk/home/haking ) main (int argc, char *argv[]) { fn(argv[ll); print
&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
39 gdb ** ^ __haking@>live:/ramdisk/home/haking/libgtop-1.0.6/src/daemon__) ° □ X m [haking@live
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ł
19 1 r—    :-^ ^ «« ^ 1^__hakingg live:/ramdisk/home/haking_ J n □ X [hakingQlive hak
36 hexdump n □ X ł_hakingg’ live:/ramdisk/home/haking_J [hakingQlive haking]$ echo -en
hakingśP live:/ramdisk/home/haking <7    ^ m [haking@live haking]$ ./vuln_2 m
38 gdb □ X haking£live:/ramdisk/home/haking/libgtop-1.0.6/src/daemon [haking@live daemon]$ gdb
15 gdb haking?Plive:/ramdisk/home/haking Type "shou copying" to see the conditions. There
haking?Plive:/ramdisk/home/haking 7    printf("num=%d


więcej podobnych podstron