From 907e0981c58bc32e1622feadc165284b69deb542 Mon Sep 17 00:00:00 2001 From: Giovanni <561184+wargio@users.noreply.github.com> Date: Wed, 18 Jan 2023 02:49:38 +0800 Subject: [PATCH] Fix English in docs files and updated/removed some tips (#3299) --- doc/esil.md | 2 +- doc/fortunes.fun | 9 +++------ doc/fortunes.tips | 10 ++++------ 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/doc/esil.md b/doc/esil.md index 4d1bc2cdbb..201dbf24e4 100644 --- a/doc/esil.md +++ b/doc/esil.md @@ -102,7 +102,7 @@ Common operations: * Check dstreg * Check srcreg - * Get destinaion + * Get destination * Is jump * Is conditional * Evulate diff --git a/doc/fortunes.fun b/doc/fortunes.fun index c8c2468b8d..813fae0bb9 100644 --- a/doc/fortunes.fun +++ b/doc/fortunes.fun @@ -70,7 +70,7 @@ This should be documented, since it's not that obvious. The Hard ROP Cafe Wait a minute! I found a bug, self-fixing ... OK Hold on, this should never happen! -Well this is embarrasing ... +Well this is embarrassing ... THIS IS NOT FUNNY ♥ -- Can you stand on your head? @@ -114,8 +114,6 @@ When you sold that exploit, what they really bought, was your silence. Greetings, human. nothing personal, just bitness Too old to crash -ESIL ruined my life -ESIL: The Aftersleep Insert coin to continue ... See you in shell Mess with the best, die like the rest. @@ -141,7 +139,7 @@ rizin is a great OS, but a terrible hex editor THE CAKE IS A PIE Have you seen the latest rizin TV spot? scp ~/.idapro/ida.key rizin.org:/var/www/rizin.org/pub/losers/ -Too bad there is no gif support in rizin. Yet. -- @rizingif +Too bad there is no gif support in rizin. Yet. Almost 5am, maybe you should go to bed. Jingle sploits, jingle sploits, ropchain all the way. 256 colors ought to be enough for anybody @@ -157,7 +155,7 @@ You haxor! Me jane? rizin talks to you. tries to make you feel well. Now i'm like an evil engineer. MUAHAHAH We only have bugs, features are an unintended side-effect -Quantum dissasemble: it's there as long as you don't observe it +Quantum disassemble: it's there as long as you don't observe it Ceci n'est pas une rzpipe (gdb) ^D ((fn [f s n] (str (f f s n) "zin")) (fn [f s n] (pr s) (if (> n 0) (f f (str s "ri") (dec n)) s)) "" (/ 1.0 0)) @@ -165,7 +163,6 @@ There's no way you could crash rizin. No. Way. When in doubt, try 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa; pd;' .-. .- -.. .- .-. . ..--- You crackme up! -Welcome, "reenigne" Search returned no hits. Did you mean 'Misassemble'? We fix bugs while you sleep. You find bugs while we sleep. diff --git a/doc/fortunes.tips b/doc/fortunes.tips index 912db05a87..e53c1ae81b 100644 --- a/doc/fortunes.tips +++ b/doc/fortunes.tips @@ -34,7 +34,6 @@ Interpret rizin scripts with '. '. Similar to the bash source al Most of commands accept '?' as a suffix. Use it to understand how they work :) Find hexpairs with '/x a0 cc 33' Step through your seek history with the commands 'u' (undo) and 'U' (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' in Visual mode) to find strings Add colors to your screen with 'e scr.color=X' where 1 is 16 colors, 2 is 256 colors and 3 is 16M colors @@ -49,8 +48,8 @@ Disassemble in intel syntax with 'e asm.syntax=intel'. Change the UID of the debugged process with child.uid (requires root) Enhance 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 -Emulate the base address of a file with e file.baddr. -Bindiff two files with '$ rz-diff /bin/true /bin/false' +Use `rizin -B 0x123456 /bin/ls` option to set the base address of a PIE file. +Bindiff two files with '$ rz-diff -H /bin/true /bin/false' Execute commands on a temporary offset by 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 @@ -61,7 +60,7 @@ Setup dbg.fpregs to true to visualize the fpu registers in the debugger view. To debug a program, you can call rizin with 'dbg://' or '-d ' Use 'e' and 't' in Visual mode to edit configuration and track flags. Use 'rz-bin -ris' to get the import/export symbols of any binary. -Remember to maintain your ~/.rizin_history +Remember to maintain your `$(rizin -H RZ_RCACHEHOME)/history` file! Enable the PAGER with 'e scr.pager=less -R' Use 'e asm.offset=true' to show offsets in 16bit segment addressing mode. The '?' command can be used to evaluate math expressions. Like this: '? (0x34+22)*4' @@ -71,7 +70,6 @@ You can redefine descriptive commands in the hud file and using the 'V_' command Pass '-j' to rz-bin to get the information of the binary in JSON format. Use rz-run to launch your programs with a predefined environment. You are probably using an old version of rizin, go checkout the git! -Run your own rizin scripts in awk using the rizinawk program. Use '-e bin.strings=false' to disable automatic string search when loading the binary. The unix-like reverse engineering framework. This code was intentionally left blank, try 'e asm.arch=ws' @@ -84,6 +82,6 @@ The more 'a' you add after 'aa' the more analysis steps are executed. Review all the subcommands of aa to see better ways to analyze your targets. Use /m to carve for known magic headers. speedup with search. You can use registers in math expressions. For example: 'wx 1234 @ esp - 2' -For HTTP authentification 'e http.auth=1', 'e http.authfile=' +For HTTP authentication 'e http.auth=1', 'e http.authfile=' Save your project in compressed format with 'e prj.compress=true' Use 'avg?' to know how you can use global variables in rizin