[rop/section] Updated small typo

List of number contains 2, 2
This commit is contained in:
Byambadalai Sumiya 2024-09-25 23:07:42 +08:00 committed by GitHub
parent a9a77d0d05
commit 64ddbff28d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,7 @@ mov edi, r13d;
call qword [r12 + rbx*8];
```
2. Maybe you don't know any address to write there and you **need a `ret` instruction**. Note that the second gadget will also **end in a `ret`**, but you will need to meet some **conditions** in order to reach it:
3. Maybe you don't know any address to write there and you **need a `ret` instruction**. Note that the second gadget will also **end in a `ret`**, but you will need to meet some **conditions** in order to reach it:
```armasm
mov rdx, r15;