Radare2笔记

Radare2笔记

radare2

common:

Command Description
aaaa Fully analyze the binary
afl List all the functions in the binary
afv Analyze the functions variables
ii List imports
iI Information about the binary
iz List strings in the binary
sf function Seek to a function
pdb Print disassembly of the basic block
pdf Print disassembly of the function

breakpoint:

Command Description
db memaddress Set a breakpoint
dc Continue the execution flow to breakpoint(s)
dt Run the current instruction
dr Inspect the registers

rahash2

rahash2 -L: 列举支持的算法

常见用法:

  • 字符串哈希:rahash2 -a md5 -s admin
  • 文件哈希:rahash2 -a md5 bin