DhavalKapil/heap-exploitation

Forging chunks example not working

TheCrazyT opened this issue · 1 comments

I guess this line is not correct anymore:
https://github.com/DhavalKapil/heap-exploitation/blame/master/attacks/forging_chunks.md#L51

Atleast i needed to change the following line in the example:
chunk.size = 0x20;
to:
chunk.size = 0x11;

to be able to test this.

Info about package installed:

Package: libc6-i386
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 10187
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: glibc
Version: 2.23-0ubuntu10
Replaces: libc6-dev-i386
Depends: libc6 (= 2.23-0ubuntu10)

My bad ... the example was for 64-bit system.
Somehow skipped the last comment during reading.