mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-22 04:33:28 +00:00
Thread canary example
This commit is contained in:
parent
654219573c
commit
3c938cce25
1 changed files with 4 additions and 0 deletions
|
@ -212,6 +212,10 @@ $tls = 0x7ffff7d7f640
|
|||
...
|
||||
```
|
||||
|
||||
{% hint style="info" %}
|
||||
Some of the above GDB functions are defined on an extension called [bata24/gef](https://github.com/bata24/gef), which has more features than the usual [hugsy/gef](https://github.com/hugsy/gef).
|
||||
{% endhint %}
|
||||
|
||||
As a result, a large Buffer Overflow can allow to modify both the stack canary and the master canary in the TLS. This is the offset:
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in a new issue