Skip to content

Instantly share code, notes, and snippets.

View hackerman008's full-sized avatar
🎯
Focusing

Hack3rMan hackerman008

🎯
Focusing
View GitHub Profile

radare2

load without any analysis (file header at offset 0x0): r2 -n /path/to/file

  • analyze all: aa
  • show sections: iS
  • list functions: afl
  • list imports: ii
  • list entrypoints: ie
  • seek to function: s sym.main
@hackerman008
hackerman008 / README.md
Created August 23, 2018 08:55 — forked from joyrexus/README.md
Perl one-liners

Hi:

perl -e 'print "hello world!\n"'

A simple filter:

perl -ne 'print if /REGEX/'

Filter out blank lines (in place):