Skip to content

Commit 939b41e

Browse files
committed
Fixed typo: get the libc address from fixed offset
1 parent 1bb4b76 commit 939b41e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_posts/2019-07-16-canary_bypass.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ x/20gx $rsp
204204
![exploit01_3](assets/2019-07-16-canary_bypass.assets/exploit01_3.png)
205205

206206

207-
- `ASLR` is activated in the host therefore this `libc` address changes in every program `restart`. However we can always get a libc address from a fixed offset `[RSP + 8]`
207+
- `ASLR` is activated in the host therefore this `libc` address changes in every program `restart`. However we can always get a libc address from a fixed offset (`x/gx $rsp + 56`).
208208
- We can't `leak` the `canary` value because there are no `puts()` / `printf()` after the last `scanf()`.
209209
- The binary has partial RELRO, allowing us to overwrite entries in the .GOT.
210210
- Additionally, since this is a non-PIE binary, the .GOT address is fixed.

0 commit comments

Comments
 (0)