Day 13: Top 10 radare2 (r2) commands

#1 — Webserver (-c=H)

int0x33
int0x33
Jan 12 · 2 min read
#=h: Start the server
#=H: Start server and browser
r2 -c=H <input_binary>
#Starting http server...
#open http://localhost:9090/
#r2 -C http://localhost:9090/cmd/

#2 — Visual Mode (V)

#3 — Search assembly (/a)

/a <instruction>

#4 — Gadget Library (pda)

#5-Python Output (pcp)

#6 — List All Functions (afl)

#7- File Info (iI)

#8- All Strings in Binary (izz)

#9 — JSON Output (j)

iSj

#10 — Imports (ii)

int0x33

Written by

int0x33

Security Researcher / 365 Days of PWN