notes.md: Add book notes for Tutorial through Whitehorse

This commit is contained in:
Val
2023-03-15 20:44:18 -05:00
parent 95e7776c8a
commit a0d9829a4c
7 changed files with 109 additions and 0 deletions

29
7-Whitehorse/notes.md Normal file
View 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
```