forked from radareorg/radare2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fortunes
173 lines (173 loc) · 9.9 KB
/
fortunes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
Do you want to perform more than one search at a time? '> /k0 keyword1', '> /k1 keyword2' and '> /r 0-1'
Isn't your disassembly pretty enought? Try changing values with 'e asm.'
Did you setup your ~/.radarerc today?
You can mark an offset in visual mode with the cursor and the ',' key. Later press '.' to go back
You can debug a program from the graph view (ag command) using standard radare commands
Before entering a 'call' you can identify the arguments passed to it using the 'pm xxi' command
Use the '[' and ']' keys in visual mode to adjust the screen width (scr.width)
Choose your architecture by typing: 'e asm.arch=ppc' (or arm, java, m68k, intel, intel16 or intel64)
Move between your search hits in visual mode using the 'f' and 'F' keys
Save your projects with 'Ps <project-filename>' and restore then with 'Po <project-filename>'
Everytime you run radare, a random file is removed :)
RADARE CUMS WITH ABSOLUTELY NO WARRANTY
Enable asm.trace to see the tracing information inside the disassembly
Change the registers of the child process in this way: '!set eax 0x333'
Deltify your life with radare
Manipulate the filedescriptors of the child with '!fd'
Trace until system calls with !contsc
Remotely open files or debug processes with radare listen://:9999/dbg:///bin/ls
Check your IO plugins with r2 -L
Find cross-reference in raw binaries using external 'xrefs' tool.
Change the size of the file with the 'r' (resize) command
Calculate checksums for the current block with the commands starting with '#' (#md5, #crc32, #all, ..)
Use +,-,*,/ to change the size of the block
Change the block size with 'b <block-size>' In visual mode you can also enter radare command pressing the ':' key (like vi does)
If you want to open the file in read-write mode use -w flag or -e cfg.write=true
Print the contents of the current block with the 'p' command
Command layout is: <repeat><command><bytes>@<offset>.\ For example: 3x20@0x33 will show 3 hexdumps of 20 bytes at 0x33
Press 'c' in visual mode to toggle the cursor mode
Press 'C' in visual mode to toggle colors
You can "copy/paste" bytes using the cursor in visual mode 'c' and using the 'y' and 'Y' keys
Move around the bytes with hjkl! Arrow keys are not portable and are less productive to use
Seek at relative offsets with 's +<offset>' or 's -<offset>'
Invert the block bytes using the 'I' key in visual mode
Switch between print modes using the 'p' and 'P' keys in visual mode
In soviet russia radare debugs you!
Add comments using the ';' key in visual mode or the 'C' command from the radare shell
Assemble opcodes with the 'a' and 'A' keys in visual mode which are hooks for the wa and wA commands
Find expanded AES keys in memory with /a command
Find wide-char strings with /w <string> command
Enable ascii-art jump lines in disassembly with asm.lines. asm.linesout and asm.linestyle may interest you too
Control the signal handlers of the child process with the '!signal' command
Get a free shell with 'rasc -i x86.linux.binsh -X'
Interpret your own radare scripts with '. <path-to-your-script>'. Similar to the bash source alias command.
Most of commands accept an '?' as suffix. Use it to understand how they work :)
Find hexpairs with '/x a0 cc 33'
Walk inside your seek history with the 'u' command (undo), and 'U' for redo
Use hasher to calculate hashes of portion blocks of a file
Use zoom.byte=entropy and press 'z' in visual mode to zoom out to see the entropy of the whole file
Use zoom.byte=printable in zoom mode (z key in visual mode) to find strings
Set colors to your screen with 'e scr.color=true'
Trace the register changes when debugging with trace.cmtregs
Move the comments to the right changing their margin with e asm.cmtmargin
Execute a command on the visual prompt with cmd.vprompt
Reduce the delta where flag resolving by address is used with cfg.delta
Disable these messages with e cfg.fortunes=false in your ~/.radarerc
Show offsets in graphs with 'e graph.offset = true'
Follow a flag in disassembly view (avoids to disasemble out of the visibility of the flag) with asm.follow
Execute a command every time a breakpoint is hitted with 'e cmd.bp = !my-program'
Disassemble in intel syntax with e asm.syntax = intel
Change the UID of the debugged process with child.uid (requires root)
Enable full backtrace with dbg.fullbt
Manually modify the DRX registers of the child process with '!dr' command
What do you want to debug today?
Sniff your favorite libusb-based application with LD_PRELOAD=/usr/lib/libusbsniff.so ./your-program
Find cp850 strings with 'e cfg.encoding=cp850' and '/s'
Enhace your graphs by increasing the size of the block and graph.depth eval variable
Control the height of the terminal on serial consoles with e scr.height
Use e file.id=true and e file.flag=true in your ~/.radarerc to get symbols, strings, .. when loading
Disassemble unsupported architectures with external objdump defined in e asm.objdump. Use 'pd' command.
Emulate the base address of a file with e file.baddr
Dump the class header information with 'javasm -c <file.class>'. Plugind by radare if file.id=true
Use gradare if you prefer simple frontend for gui users
Feedback, bug reports, patches, ideas are welcome to the mailing list at radare.nopcode.org
Bindiff two files with '$ bdiff /bin/true /bin/false'
Execute commands on a temporally offset appending '@ offset' to your command
Temporally drop the verbosity prefixing the commands with ':'
Change the graph block definition with graph.callblocks, graph.jmpblocks, graph.flagblocks
Use the '<' and '>' keys in visual cursor mode (V->c) to folder selected bytes
Use scr.accel to browse the file faster!
I love the smell of bugs in the morning.
Use the 'pR' command to see the source line related to the current seek
Analyze socket connections with the socket plugin: $ radare socket://www.foo.com:80. Use 'w' to send data
I like to suck nibbles and make hex
I'm in your source securing your bits
radare contributes to the One Byte Per Child fundation
setup dbg.fpregs to true to visualize the fpu registers in the debugger view
To debug a program you can do dbg://${path-to-program} or use -d ${path..}
3nl4r9e y0\/r r4d4r3
I did it for the pwnz
If you send the program you are debugging to 15 friends before 143 minutes and then step three times on the same opcode you will get the name of the person who loves you
To remove this message, put `dbxenv suppress_startup_message 7.5' in your .dbxrc
Heisenbug: A bug that disappears or alters its behavior when one attempts to probe or isolate it.
radare is for lulzhats
Use 'e' and 't' in Visual mode to edit configuration and track flags
Use rabin2 -rios to get the import/export/other symbols of any binary
Remember to maintain your ~/.radare_history
Microloft Visual Radare.NET 2008. Now OOXML Powered!
Enjoy the 'two girls one backup' viral video
A C program is like a fast dance on a newly waxed dance floor by people carrying razors - Waldi Ravens
radare2 is like windows 7 but even better
Enlarge your radare2
Excellent; we can attack in any direction!
Better than an eel in the ass
radare build farm beats the facebook one
Thank you for using radare. Have a nice night!
Your r2 was built 20h ago. TOO OLD
Enable the PAGER with e scr.pager=less -R
Use e asm.offset=true to show offsets as in the 16bit segment addressing mode
The '?' command can be used to evaluate math expressions. Like this: '? (0x34+22)*4'
Use radare2! lemons included!
Are you fucking coding me?
rax2 -s 20e296b20ae296b220e296b20a
Connection lost with the license server, your r2 session will terminate soon.
I swear i didn't knew she had only 8bits!
Set e bin.dwarf=true to load dwarf information at startup
Rename a function using the 'afr newname @ offset' command
You can redefine descriptive commands in the hud file and using the V_ command
Use -j in rabin2 to get the information of the binary in JSON format
this is amazing..
use rarun2 to launch your programs with a predefined environment
You are probably using an old version of r2, go checkout the git!
Run your own r2 scripts in awk using the r2awk program
I love gradients
Use -e bin.strings=false to disable search for strings when loading the binary
wait a moment..
Don't do this.
No such file or directory.
Default scripting languages are NodeJS and Python.
-bash: r2: command not found
The unix-like reverse engineering framework
To start the webserver type the following command: 'r2 -c=H /bin/ls'
To enter into the visual mode type 'V' in the prompt and hit enter
Press any key to continue...
To disable those fortune messages: $ echo cfg.fortunes=false > ~/.radare2rc
ilo ni li pona li pali e lipu. mi wile e ni: sina kama jo e musi
Radare for FideOS, now with extra potato
Your project name should contain an uppercase letter, 8 vowels, some numbers and the 5 first numbers of your private bitcoin key
This computer has gone to sleep
Did you ever ordered a pizza using radare2?
I thought we were friends. :_
Welcome back, lazy human!
yo dawg
---8<--------------------8<------------------8<-----------------8<--- --
I accidentally the kernel with radare2
I endians swap
This page intentionally left blank
sick my duck!
duck my sick!
Use 'ec' to choose the colors for your disassembly palette
Here be dragons
Trust no one, either a zero. Both lie.
EIP = 0x41414141
/dev/brain: No such file or directory
Virtual machines are great, but you lose the ability to kick the hardware
Charlie! We are here
The door is everything.
The door controls time and space.
The door can see into your soul.
Undefined symbol 'r_anal_fisting'
I am Pentium of Borg. Division is futile. You will be approximated
Don't look at the code. Don't look.
Dissasemble? No dissasemble, no dissassemble!!!!!
Warning, your trial license is about to expire
Please register your copy of r2 today! Only £29.90!
Welcome to IDA 10.0
It's not you, it's me.
ASLR stands for Age/Sex/Location/Reverser
This software comes with no brain included. please use your own
rm: /: Permission denied
That's embarrassing.
Connection with license server failed.
In soviet afghanistan radare debugs russia!
In soviet afghanistan you debug radare!