Thread canary example

This commit is contained in:
7Rocky 2024-04-07 12:29:45 +02:00
parent 654219573c
commit 3c938cce25

View file

@ -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