Login Register






The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.
Thread Rating:
  • 0 Vote(s) - 0 Average


Format String Exploitation Question filter_list
Author
Message
RE: Format String Exploitation Question #7
(03-02-2014, 01:28 AM)w00t Wrote: Meaning the disassembler you used put ret< +25 >? Different disassemblers will do different things, but you can always find the stack size by looking for the subtraction.

PHP Code:
0x080484b4 <+0>:    push   %ebp
   0x080484b5 
<+1>:    mov    %esp,%ebp
   0x080484b7 
<+3>:    sub    $0x4,%esp
   0x080484ba 
<+6>:    movl   $0x8048620,(%esp)
   
0x080484c1 <+13>:    call   0x80483dc <puts@plt>
   
0x080484c6 <+18>:    movl   $0x0,(%esp)
   
0x080484cd <+25>:    call   0x80483ec <exit@plt

0x08048cd <+25>: call 0x080483ec <exit@plt>

That's disassembling the function.
Unleash the lead from my pistol into my head bumpin' crystal

Reply





Messages In This Thread
RE: Format String Exploitation Question - by w00t - 03-01-2014, 10:10 PM
RE: Format String Exploitation Question - by w00t - 03-01-2014, 11:55 PM
RE: Format String Exploitation Question - by w00t - 03-02-2014, 01:28 AM
RE: Format String Exploitation Question - by Alan Turing - 03-02-2014, 01:30 AM
RE: Format String Exploitation Question - by w00t - 03-02-2014, 01:32 AM
RE: Format String Exploitation Question - by w00t - 03-02-2014, 02:57 AM



Users browsing this thread: 1 Guest(s)