Radare 2 wiki
The goal of this wiki is to make a searchable collection of documents which can be used to find various use cases and help regarding using r2. This is a live wiki and the goal is to updated frequently. If you have a tip, use case or plugin you would like to suggest, either create an issue, or tweet to me at @securisec
This wiki can be used either from the online version, local webapp or from the r2 shell.
Make sure to update the local version everytime before using. The wiki is updated frequently
Tons of great youtube videos, the radare2 irc channel, twitter, too many to list. Wiki is powered by https://wiki.js.org/
The wiki is available online at readthedocs http://r2wiki.readthedocs.io/en/latest/
The wiki is available online at radare2.securisec.com
Both the online version and local version supports full search capability. The online version is always upto date.
r2pm -i r2wiki
$wiki "some term"
$wiki -u ''
pip install mkdocs
git clone https://github.com/securisec/r2wiki-rtd.git
cd r2wiki-rtd
mkdocs serve
repo
directory, or run
git clone https://github.com/securisec/radare2_wiki.git repo/
from inside your wiki directory.git pull origin master
from inside the repo directory.Directions can be found in the r2wiki.py
In order for this to work, you need a local copy of the wiki. You can get it from github
The argument supports regex and the output is in less format
Because the output is using less, you can highlight/search using /
or show only matching lines by using &
/path/to/repo/r2wiki.py needs to be absolute path
This can be accessed multiple ways.
~/.radare2rc
fileecho '$'wiki="#"'!'"pipe python /path/to/repo/r2wiki.py" >> ~/.radare2rc
Invoke as
$wiki arg
wiki=#!pipe python /path/to/r2wiki.py
invoke as
$wiki arg
#!pipe python /path/to/repo/r2wiki.py
To style your local wiki in a manner similar to the online version, add the following to the /wiki_installation_dir/server/views/layout.pug
under the section marked as //- JS / CSS
style(type='text/css').
.mkcontent {
font-family: Arial;
}
style(type='text/css').
.mkcontent {
font-size: 16px;
}
To change the search behaviour of your local wiki similar to that of the online version, change the following lines in server/libs/search.js
- Line 73 to 1
- Line 78 to 0
- Line 88 to 3
- Line 175 to 20