Skip to content

Commit

Permalink
deploy: c490069
Browse files Browse the repository at this point in the history
  • Loading branch information
XVilka committed Jun 2, 2024
1 parent a1bce6a commit 5859a5a
Show file tree
Hide file tree
Showing 140 changed files with 285 additions and 281 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.4.553">
<meta name="generator" content="quarto-1.4.554">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down
2 changes: 1 addition & 1 deletion search.json
Original file line number Diff line number Diff line change
Expand Up @@ -1684,7 +1684,7 @@
"href": "src/tools/rz-ax/intro.html",
"title": "76  Rz-ax",
"section": "",
"text": "The rz-ax utility comes with the rizin framework and aims to be a minimalistic expression evaluator for the shell. It is useful for making base conversions between floating point values, hexadecimal representations, hexpair strings to ascii, octal to integer. It supports endianness and can be used as a shell if no arguments are given.\nThis is the help message of rz-ax, this tool can be used in the command-line or interactively (reading the values from stdin), so it can be used as a multi-base calculator.\nInside rizin, the functionality of rz-ax is available under the % command. For example:\n[0x00000000]&gt; % 3+4\nAs you can see, the numeric expressions can contain mathematical expressions like addition, subtraction, as well as group operations with parenthesis.\nThe syntax in which the numbers are represented define the base, for example:\n\n3 : decimal, base 10\n0xface : hexadecimal, base 16\n0472 : octal, base 8\n2M : units, 2 megabytes\n…\n\nThis is the help message of rz-ax -h, which will show you a bunch more syntaxes\n$ rz-ax -h\nUsage: rz-ax [options] [expr ...]\n =[base] ; rz-ax =10 0x46 -&gt; output in base 10\n int -&gt; hex ; rz-ax 10\n hex -&gt; int ; rz-ax 0xa\n -int -&gt; hex ; rz-ax -77\n -hex -&gt; int ; rz-ax 0xffffffb3\n int -&gt; bin ; rz-ax b30\n int -&gt; ternary ; rz-ax t42\n bin -&gt; int ; rz-ax 1010d\n ternary -&gt; int ; rz-ax 1010dt\n float -&gt; hex ; rz-ax 3.33f\n hex -&gt; float ; rz-ax Fx40551ed8\n oct -&gt; hex ; rz-ax 35o\n hex -&gt; oct ; rz-ax Ox12 (O is a letter)\n bin -&gt; hex ; rz-ax 1100011b\n hex -&gt; bin ; rz-ax Bx63\n ternary -&gt; hex ; rz-ax 212t\n hex -&gt; ternary ; rz-ax Tx23\n raw -&gt; hex ; rz-ax -S &lt; /binfile\n hex -&gt; raw ; rz-ax -s 414141\n -l ; append newline to output (for -E/-D/-r/..\n -a show ascii table ; rz-ax -a\n -b bin -&gt; str ; rz-ax -b 01000101 01110110\n -B str -&gt; bin ; rz-ax -B hello\n -d force integer ; rz-ax -d 3 -&gt; 3 instead of 0x3\n -e swap endianness ; rz-ax -e 0x33\n -D base64 decode ;\n -E base64 encode ;\n -f floating point ; rz-ax -f 6.3+2.1\n -F stdin slurp code hex ; rz-ax -F &lt; shellcode.[c/py/js]\n -h help ; rz-ax -h\n -i dump as C byte array ; rz-ax -i &lt; bytes\n -k keep base ; rz-ax -k 33+3 -&gt; 36\n -K randomart ; rz-ax -K 0x34 1020304050\n -L bin -&gt; hex(bignum) ; rz-ax -L 111111111 # 0x1ff\n -n binary number ; rz-ax -n 0x1234 # 34120000\n -N binary number ; rz-ax -N 0x1234 # \\x34\\x12\\x00\\x00\n -r rizin style output ; rz-ax -r 0x1234\n -s hexstr -&gt; raw ; rz-ax -s 43 4a 50\n -S raw -&gt; hexstr ; rz-ax -S &lt; /bin/ls &gt; ls.hex\n -t tstamp -&gt; str ; rz-ax -t 1234567890\n -x hash string ; rz-ax -x linux osx\n -u units ; rz-ax -u 389289238 # 317.0M\n -w signed word ; rz-ax -w 16 0xffff\n -v version ; rz-ax -v\nSome examples:\n$ rz-ax 3+0x80\n0x83\n$ rz-ax 0x80+3\n131\n$ echo 0x80+3 | rz-ax\n131\n$ rz-ax -s 4142\nAB\n$ rz-ax -S AB\n4142\n$ rz-ax -S &lt; bin.foo\n...\n$ rz-ax -e 33\n0x21000000\n$ rz-ax -e 0x21000000\n33\n$ rz-ax -K 90203010\n+--[0x10302090]---+\n|Eo. . |\n| . . . . |\n| o |\n| . |\n| S |\n| |\n| |\n| |\n| |\n+-----------------+",
"text": "The rz-ax utility comes with the rizin framework and aims to be a minimalistic expression evaluator for the shell. It is useful for making base conversions between floating point values, hexadecimal representations, hexpair strings to ascii, octal to integer. It supports endianness and can be used as a shell if no arguments are given.\nThis is the help message of rz-ax, this tool can be used in the command-line or interactively (reading the values from stdin), so it can be used as a multi-base calculator.\nInside rizin, the functionality of rz-ax is available under the % command. For example:\n[0x00000000]&gt; % 3+4\nAs you can see, the numeric expressions can contain mathematical expressions like addition, subtraction, as well as group operations with parenthesis.\nThe syntax in which the numbers are represented define the base, for example:\n\n3 : decimal, base 10\n0xface : hexadecimal, base 16\n0472 : octal, base 8\n2M : units, 2 megabytes\n…\n\nThis is the help message of rz-ax -h, which will show you a bunch more syntaxes\n$ rz-ax -h\nUsage: rz-ax [options] [expr ...]\n =[base] ; rz-ax =10 0x46 -&gt; output in base 10\n int -&gt; hex ; rz-ax 10\n hex -&gt; int ; rz-ax 0xa\n -int -&gt; hex ; rz-ax -77\n -hex -&gt; int ; rz-ax 0xffffffb3\n int -&gt; bin ; rz-ax b30\n int -&gt; ternary ; rz-ax t42\n bin -&gt; int ; rz-ax 1010d\n ternary -&gt; int ; rz-ax 1010dt\n float -&gt; hex ; rz-ax 3.33f\n hex -&gt; float ; rz-ax Fx40551ed8\n oct -&gt; hex ; rz-ax 35o\n hex -&gt; oct ; rz-ax Ox12 (O is a letter)\n bin -&gt; hex ; rz-ax 1100011b\n hex -&gt; bin ; rz-ax Bx63\n ternary -&gt; hex ; rz-ax 212t\n hex -&gt; ternary ; rz-ax Tx23\n raw -&gt; hex ; rz-ax -S &lt; /binfile\n hex -&gt; raw ; rz-ax -s 414141\n -l ; append newline to output (for -E/-D/-r/..\n -a show ascii table ; rz-ax -a\n -b bin -&gt; str ; rz-ax -b 01000101 01110110\n -B str -&gt; bin ; rz-ax -B hello\n -d force integer ; rz-ax -d 3 -&gt; 3 instead of 0x3\n -e swap endianness ; rz-ax -e 0x33\n -D base64 decode ;\n -E base64 encode ;\n -f floating point ; rz-ax -f 6.3+2.1\n -F stdin slurp code hex ; rz-ax -F &lt; shellcode.[c/py/js]\n -h show this help ; rz-ax -h\n -i dump as C byte array ; rz-ax -i &lt; bytes\n -I IP address &lt;-&gt; LONG ; rz-ax -I 3530468537\n -k keep base ; rz-ax -k 33+3 -&gt; 36\n -L bin -&gt; hex(bignum) ; rz-ax -L 111111111 # 0x1ff\n -n int value -&gt; hexpairs; rz-ax -n 0x1234 # 34120000\n -o octalstr -&gt; raw ; rz-ax -o \\162 \\172 # rz\n -N binary number ; rz-ax -N 0x1234 # \\x34\\x12\\x00\\x00\n -r rz style output ; rz-ax -r 0x1234\n -s hexstr -&gt; raw ; rz-ax -s 43 4a 50\n -S raw -&gt; hexstr ; rz-ax -S &lt; /bin/ls &gt; ls.hex\n -t Unix tstamp -&gt; str ; rz-ax -t 1234567890\n -m MS-DOS tstamp -&gt; str ; rz-ax -m 1234567890\n -W Win32 tstamp -&gt; str ; rz-ax -W 1234567890\n -x hash string ; rz-ax -x linux osx\n -u units ; rz-ax -u 389289238 # 317.0M\n -w signed word ; rz-ax -w 16 0xffff\n -v version ; rz-ax -v\n -p position of set bits ; rz-ax -p 0xb3\nSome examples:\n$ rz-ax 3+0x80\n0x83\n$ rz-ax 0x80+3\n131\n$ echo 0x80+3 | rz-ax\n131\n$ rz-ax -s 4142\nAB\n$ rz-ax -S AB\n4142\n$ rz-ax -S &lt; bin.foo\n...\n$ rz-ax -e 33\n0x21000000\n$ rz-ax -e 0x21000000\n33\n$ rz-ax -K 90203010\n+--[0x10302090]---+\n|Eo. . |\n| . . . . |\n| o |\n| . |\n| S |\n| |\n| |\n| |\n| |\n+-----------------+",
"crumbs": [
"Command Line Tools",
"<span class='chapter-number'>76</span>  <span class='chapter-title'>Rz-ax</span>"
Expand Down
2 changes: 1 addition & 1 deletion site_libs/bootstrap/bootstrap-dark.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion site_libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 5859a5a

Please sign in to comment.