mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-22 04:33:28 +00:00
GitBook: [master] one page modified
This commit is contained in:
parent
72e6da43f3
commit
fcc9693f5e
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ The objective is to call the **syscall \(execv\)** from a ROP controlling the va
|
|||
* **RDX**: Null
|
||||
* **RAX**: Value **0x3b** for x64 and **0xb** for x32, because this will call **execv**
|
||||
|
||||
```text
|
||||
```bash
|
||||
ROPgadget --binary vulnbinary | grep syscall
|
||||
ROPgadget --binary vulnbinary | grep "rdi\|rsi\|rdx\|rax" | grep pop
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue