killchain-compendium/exploit/binaries/r2.md

32 lines
242 B
Markdown
Raw Normal View History

2021-09-14 00:35:24 +02:00
# Radare2
## Usage
### Dynamic
```sh
r2 -d <binary>
```
* Analyze
```sh
aaa
```
* Show main
```sh
pdf @main
```
* Breakpoint
```sh
db 0xdeadbeef
```
* Show rbp-0x4
```sh
px @rbp-0x4
```
* Continue
```sh
dc
```
* Show registers
```sh
dr
```