Skip to content

Instantly share code, notes, and snippets.

@0xTowel
0xTowel / rsrcdump.py
Created May 14, 2019 09:08
An example tool to dump resources from a file using radare2
#!/usr/bin/env python3
"""A small example utility to demonstrate r2pipe scripting
by extracting resources from a file.
Written as an example for someone on IRC.
--Towel, 2019
"""
import r2pipe