ronin 2.0.4 → 2.1.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +3 -3
- data/.gitignore +1 -0
- data/.rubocop.yml +5 -1
- data/ChangeLog.md +67 -1
- data/Gemfile +66 -29
- data/README.md +166 -21
- data/Rakefile +9 -0
- data/data/completions/ronin +655 -0
- data/data/templates/dns_proxy.rb.erb +35 -0
- data/gemspec.yml +27 -13
- data/lib/ronin/cli/binary_template.rb +124 -0
- data/lib/ronin/cli/commands/archive.rb +104 -0
- data/lib/ronin/cli/commands/banner_grab.rb +2 -0
- data/lib/ronin/cli/commands/bitflip.rb +1 -1
- data/lib/ronin/cli/commands/bitsquat.rb +119 -0
- data/lib/ronin/cli/commands/cert_dump.rb +20 -4
- data/lib/ronin/cli/commands/cert_gen.rb +11 -19
- data/lib/ronin/cli/commands/cert_grab.rb +4 -3
- data/lib/ronin/cli/commands/completion.rb +115 -0
- data/lib/ronin/cli/commands/dns_proxy.rb +235 -0
- data/lib/ronin/cli/commands/http.rb +80 -8
- data/lib/ronin/cli/commands/ip.rb +101 -0
- data/lib/ronin/cli/commands/iprange.rb +25 -8
- data/lib/ronin/cli/commands/netcat.rb +2 -0
- data/lib/ronin/cli/commands/new/dns_listener.rb +37 -0
- data/lib/ronin/cli/commands/new/dns_proxy.rb +99 -0
- data/lib/ronin/cli/commands/new/exploit.rb +34 -0
- data/lib/ronin/cli/commands/new/http_listener.rb +37 -0
- data/lib/ronin/cli/commands/new/nokogiri.rb +33 -0
- data/lib/ronin/cli/commands/new/payload.rb +34 -0
- data/lib/ronin/cli/commands/new/project.rb +1 -1
- data/lib/ronin/cli/commands/new/script.rb +1 -1
- data/lib/ronin/cli/commands/new/web_app.rb +37 -0
- data/lib/ronin/cli/commands/new/web_server.rb +37 -0
- data/lib/ronin/cli/commands/new/web_spider.rb +37 -0
- data/lib/ronin/cli/commands/new.rb +3 -1
- data/lib/ronin/cli/commands/pack.rb +339 -0
- data/lib/ronin/cli/commands/public_suffix_list.rb +2 -0
- data/lib/ronin/cli/commands/tld_list.rb +2 -0
- data/lib/ronin/cli/commands/unarchive.rb +128 -0
- data/lib/ronin/cli/commands/unhexdump.rb +3 -1
- data/lib/ronin/cli/commands/unpack.rb +195 -0
- data/lib/ronin/cli/commands/url.rb +2 -0
- data/lib/ronin/cli/http_shell.rb +25 -0
- data/lib/ronin/cli.rb +10 -0
- data/lib/ronin/version.rb +1 -1
- data/man/ronin-archive.1.md +49 -0
- data/man/ronin-asn.1 +60 -77
- data/man/ronin-asn.1.md +25 -21
- data/man/ronin-banner-grab.1 +10 -21
- data/man/ronin-banner-grab.1.md +9 -5
- data/man/ronin-bitflip.1 +35 -61
- data/man/ronin-bitflip.1.md +30 -26
- data/man/ronin-bitsquat.1 +40 -0
- data/man/ronin-bitsquat.1.md +43 -0
- data/man/ronin-cert-dump.1 +44 -54
- data/man/ronin-cert-dump.1.md +18 -14
- data/man/ronin-cert-gen.1 +73 -94
- data/man/ronin-cert-gen.1.md +38 -34
- data/man/ronin-cert-grab.1 +29 -37
- data/man/ronin-cert-grab.1.md +12 -8
- data/man/ronin-completion.1 +78 -0
- data/man/ronin-completion.1.md +80 -0
- data/man/ronin-decode.1 +32 -63
- data/man/ronin-decode.1.md +29 -25
- data/man/ronin-decrypt.1 +42 -57
- data/man/ronin-decrypt.1.md +20 -16
- data/man/ronin-dns-proxy.1 +100 -0
- data/man/ronin-dns-proxy.1.md +70 -0
- data/man/ronin-dns.1 +10 -21
- data/man/ronin-dns.1.md +9 -5
- data/man/ronin-email-addr.1 +27 -40
- data/man/ronin-email-addr.1.md +15 -11
- data/man/ronin-encode.1 +93 -63
- data/man/ronin-encode.1.md +64 -26
- data/man/ronin-encrypt.1 +42 -57
- data/man/ronin-encrypt.1.md +20 -16
- data/man/ronin-entropy.1 +11 -21
- data/man/ronin-entropy.1.md +8 -4
- data/man/ronin-escape.1 +22 -46
- data/man/ronin-escape.1.md +22 -18
- data/man/ronin-extract.1 +74 -149
- data/man/ronin-extract.1.md +73 -69
- data/man/ronin-grep.1 +77 -155
- data/man/ronin-grep.1.md +76 -72
- data/man/ronin-help.1 +3 -14
- data/man/ronin-help.1.md +2 -2
- data/man/ronin-hexdump.1 +249 -265
- data/man/ronin-hexdump.1.md +93 -89
- data/man/ronin-highlight.1 +8 -18
- data/man/ronin-highlight.1.md +8 -4
- data/man/ronin-hmac.1 +17 -30
- data/man/ronin-hmac.1.md +14 -10
- data/man/ronin-homoglyph.1 +11 -22
- data/man/ronin-homoglyph.1.md +10 -6
- data/man/ronin-host.1 +23 -47
- data/man/ronin-host.1.md +22 -18
- data/man/ronin-http.1 +40 -69
- data/man/ronin-http.1.md +40 -30
- data/man/ronin-ip.1 +70 -80
- data/man/ronin-ip.1.md +44 -28
- data/man/ronin-iprange.1 +14 -22
- data/man/ronin-iprange.1.md +12 -5
- data/man/ronin-irb.1 +9 -17
- data/man/ronin-irb.1.md +7 -3
- data/man/ronin-md5.1 +13 -24
- data/man/ronin-md5.1.md +11 -7
- data/man/ronin-netcat.1 +25 -51
- data/man/ronin-netcat.1.md +25 -21
- data/man/ronin-new-dns-proxy.1 +45 -0
- data/man/ronin-new-dns-proxy.1.md +44 -0
- data/man/ronin-new-project.1 +32 -45
- data/man/ronin-new-project.1.md +11 -11
- data/man/ronin-new-script.1 +10 -22
- data/man/ronin-new-script.1.md +4 -4
- data/man/ronin-new.1 +56 -31
- data/man/ronin-new.1.md +48 -8
- data/man/ronin-pack.1 +977 -0
- data/man/ronin-pack.1.md +929 -0
- data/man/ronin-proxy.1 +37 -63
- data/man/ronin-proxy.1.md +29 -25
- data/man/ronin-public-suffix-list.1 +16 -32
- data/man/ronin-public-suffix-list.1.md +13 -9
- data/man/ronin-quote.1 +17 -36
- data/man/ronin-quote.1.md +17 -13
- data/man/ronin-rot.1 +26 -39
- data/man/ronin-rot.1.md +15 -11
- data/man/ronin-sha1.1 +13 -24
- data/man/ronin-sha1.1.md +11 -7
- data/man/ronin-sha256.1 +13 -24
- data/man/ronin-sha256.1.md +11 -7
- data/man/ronin-sha512.1 +13 -24
- data/man/ronin-sha512.1.md +11 -7
- data/man/ronin-strings.1 +30 -55
- data/man/ronin-strings.1.md +27 -23
- data/man/ronin-tips.1 +8 -16
- data/man/ronin-tips.1.md +7 -3
- data/man/ronin-tld-list.1 +16 -32
- data/man/ronin-tld-list.1.md +13 -9
- data/man/ronin-typo.1 +14 -28
- data/man/ronin-typo.1.md +13 -9
- data/man/ronin-typosquat.1 +15 -32
- data/man/ronin-typosquat.1.md +15 -11
- data/man/ronin-unarchive.1.md +41 -0
- data/man/ronin-unescape.1 +22 -46
- data/man/ronin-unescape.1.md +22 -18
- data/man/ronin-unhexdump.1 +81 -91
- data/man/ronin-unhexdump.1.md +16 -12
- data/man/ronin-unpack.1 +978 -0
- data/man/ronin-unpack.1.md +920 -0
- data/man/ronin-unquote.1 +17 -36
- data/man/ronin-unquote.1.md +17 -13
- data/man/ronin-url.1 +19 -40
- data/man/ronin-url.1.md +19 -15
- data/man/ronin-xor.1 +14 -28
- data/man/ronin-xor.1.md +13 -9
- data/man/ronin.1 +208 -29
- data/man/ronin.1.md +156 -11
- data/scripts/setup +58 -0
- metadata +162 -73
- data/lib/ronin/config.rb +0 -95
- /data/data/{new → templates}/project/.gitignore +0 -0
- /data/data/{new → templates}/project/.ruby-version.erb +0 -0
- /data/data/{new → templates}/project/Dockerfile.erb +0 -0
- /data/data/{new → templates}/project/Gemfile.erb +0 -0
- /data/data/{new → templates}/project/Rakefile +0 -0
- /data/data/{new → templates}/project/project.rb.erb +0 -0
- /data/data/{new → templates}/script.rb.erb +0 -0
data/man/ronin-unescape.1
CHANGED
@@ -1,98 +1,74 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
3
|
.TH ronin-unescape 1 "2023-02-01" Ronin "User Manuals"
|
4
|
-
.
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-unescape \- Unescapes each escaped character from a variety of encodings
|
5
7
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
.HP
|
8
|
+
.PP
|
8
9
|
\fBronin unescape\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIFILE\fP \.\.\.\[rB]
|
9
|
-
.LP
|
10
10
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
11
|
.PP
|
13
12
|
Unescapes each escaped character from a variety of encodings\.
|
14
|
-
.LP
|
15
13
|
.SH ARGUMENTS
|
16
|
-
.LP
|
17
14
|
.TP
|
18
15
|
\fIFILE\fP
|
19
16
|
The optional file to read and process\. If no \fIFILE\fP arguments are given,
|
20
17
|
input will be read from \fBstdin\fR\.
|
21
|
-
.LP
|
22
18
|
.SH OPTIONS
|
23
|
-
.LP
|
24
19
|
.TP
|
25
|
-
\fB
|
20
|
+
\fB\-f\fR, \fB\-\-file \fR \fIFILE\fP
|
26
21
|
Optional file to process\.
|
27
|
-
.LP
|
28
22
|
.TP
|
29
|
-
\fB
|
23
|
+
\fB\-\-string\fR \fISTRING\fP
|
30
24
|
Optional string to process\.
|
31
|
-
.LP
|
32
25
|
.TP
|
33
|
-
\fB
|
26
|
+
\fB\-M\fR, \fB\-\-multiline\fR
|
34
27
|
Process each line separately\.
|
35
|
-
.LP
|
36
28
|
.TP
|
37
|
-
\fB
|
29
|
+
\fB\-n\fR, \fB\-\-keep\-newlines\fR
|
38
30
|
Preserves newlines at the end of each line\.
|
39
|
-
.LP
|
40
31
|
.TP
|
41
|
-
\fB
|
32
|
+
\fB\-c\fR, \fB\-\-c\fR
|
42
33
|
Unescapes the data as a C string\.
|
43
|
-
.LP
|
44
34
|
.TP
|
45
|
-
\fB
|
35
|
+
\fB\-X\fR, \fB\-\-hex\fR
|
46
36
|
Unescapes the data as a hex string (ex: \[lq]ABC\ex01\ex02\ex03\.\.\.\[rq])
|
47
|
-
.LP
|
48
37
|
.TP
|
49
|
-
\fB
|
38
|
+
\fB\-H\fR, \fB\-\-html\fR
|
50
39
|
HTML unescapes the data\.
|
51
|
-
.LP
|
52
40
|
.TP
|
53
|
-
\fB
|
41
|
+
\fB\-u\fR, \fB\-\-uri\fR
|
54
42
|
URI unescapes the data\.
|
55
|
-
.LP
|
56
43
|
.TP
|
57
|
-
\fB
|
44
|
+
\fB\-\-http\fR
|
58
45
|
HTTP unescapes the data\.
|
59
|
-
.LP
|
60
46
|
.TP
|
61
|
-
\fB
|
47
|
+
\fB\-j\fR, \fB\-\-js\fR
|
62
48
|
JavaScript unescapes the data\.
|
63
|
-
.LP
|
64
49
|
.TP
|
65
|
-
\fB
|
50
|
+
\fB\-S\fR, \fB\-\-shell\fR
|
66
51
|
Unescapes the data as a Shell String\.
|
67
|
-
.LP
|
68
52
|
.TP
|
69
|
-
\fB
|
53
|
+
\fB\-P\fR, \fB\-\-powershell\fR
|
70
54
|
Unescapes the data as a PowerShell String\.
|
71
|
-
.LP
|
72
55
|
.TP
|
73
|
-
\fB
|
56
|
+
\fB\-Q\fR, \fB\-\-quoted\-printable\fR
|
74
57
|
Unescapes the data as Quoted Printable\.
|
75
|
-
.LP
|
76
58
|
.TP
|
77
|
-
\fB
|
59
|
+
\fB\-R\fR, \fB\-\-ruby\fR
|
78
60
|
Unescapes the data as a Ruby String\.
|
79
|
-
.LP
|
80
61
|
.TP
|
81
|
-
\fB
|
62
|
+
\fB\-x\fR, \fB\-\-xml\fR
|
82
63
|
XML unescapes the data\.
|
83
|
-
.LP
|
84
64
|
.TP
|
85
|
-
\fB
|
65
|
+
\fB\-h\fR, \fB\-\-help\fR
|
86
66
|
Print help information\.
|
87
|
-
.LP
|
88
67
|
.SH AUTHOR
|
89
|
-
.LP
|
90
68
|
.PP
|
91
69
|
Postmodern
|
92
70
|
.MT postmodern\.mod3\[at]gmail\.com
|
93
71
|
.ME
|
94
|
-
.LP
|
95
72
|
.SH SEE ALSO
|
96
|
-
.LP
|
97
73
|
.PP
|
98
|
-
ronin\-escape(1)
|
74
|
+
.BR ronin\-escape (1)
|
data/man/ronin-unescape.1.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# ronin-unescape 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
|
+
## NAME
|
4
|
+
|
5
|
+
ronin-unescape - Unescapes each escaped character from a variety of encodings
|
6
|
+
|
3
7
|
## SYNOPSIS
|
4
8
|
|
5
9
|
`ronin unescape` [*options*] [*FILE* ...]
|
@@ -11,58 +15,58 @@ Unescapes each escaped character from a variety of encodings.
|
|
11
15
|
## ARGUMENTS
|
12
16
|
|
13
17
|
*FILE*
|
14
|
-
|
18
|
+
: The optional file to read and process. If no *FILE* arguments are given,
|
15
19
|
input will be read from `stdin`.
|
16
20
|
|
17
21
|
## OPTIONS
|
18
22
|
|
19
23
|
`-f`, `--file ` *FILE*
|
20
|
-
|
24
|
+
: Optional file to process.
|
21
25
|
|
22
26
|
`--string` *STRING*
|
23
|
-
|
27
|
+
: Optional string to process.
|
24
28
|
|
25
29
|
`-M`, `--multiline`
|
26
|
-
|
30
|
+
: Process each line separately.
|
27
31
|
|
28
32
|
`-n`, `--keep-newlines`
|
29
|
-
|
33
|
+
: Preserves newlines at the end of each line.
|
30
34
|
|
31
35
|
`-c`, `--c`
|
32
|
-
|
36
|
+
: Unescapes the data as a C string.
|
33
37
|
|
34
38
|
`-X`, `--hex`
|
35
|
-
|
39
|
+
: Unescapes the data as a hex string (ex: "ABC\x01\x02\x03...")
|
36
40
|
|
37
41
|
`-H`, `--html`
|
38
|
-
|
42
|
+
: HTML unescapes the data.
|
39
43
|
|
40
44
|
`-u`, `--uri`
|
41
|
-
|
45
|
+
: URI unescapes the data.
|
42
46
|
|
43
47
|
`--http`
|
44
|
-
|
48
|
+
: HTTP unescapes the data.
|
45
49
|
|
46
50
|
`-j`, `--js`
|
47
|
-
|
51
|
+
: JavaScript unescapes the data.
|
48
52
|
|
49
53
|
`-S`, `--shell`
|
50
|
-
|
54
|
+
: Unescapes the data as a Shell String.
|
51
55
|
|
52
56
|
`-P`, `--powershell`
|
53
|
-
|
57
|
+
: Unescapes the data as a PowerShell String.
|
54
58
|
|
55
59
|
`-Q`, `--quoted-printable`
|
56
|
-
|
60
|
+
: Unescapes the data as Quoted Printable.
|
57
61
|
|
58
62
|
`-R`, `--ruby`
|
59
|
-
|
63
|
+
: Unescapes the data as a Ruby String.
|
60
64
|
|
61
65
|
`-x`, `--xml`
|
62
|
-
|
66
|
+
: XML unescapes the data.
|
63
67
|
|
64
68
|
`-h`, `--help`
|
65
|
-
|
69
|
+
: Print help information.
|
66
70
|
|
67
71
|
## AUTHOR
|
68
72
|
|
@@ -70,4 +74,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
70
74
|
|
71
75
|
## SEE ALSO
|
72
76
|
|
73
|
-
ronin-escape(1)
|
77
|
+
[ronin-escape](ronin-escape.1.md)
|
data/man/ronin-unhexdump.1
CHANGED
@@ -1,38 +1,31 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
3
|
.TH ronin-unhexdump 1 "2023-02-01" Ronin "User Manuals"
|
4
|
-
.
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-unhexdump \- Decodes a hexdump back into raw data
|
5
7
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
.HP
|
8
|
+
.PP
|
8
9
|
\fBronin unhexdump\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIFILE\fP\[rB]\`
|
9
|
-
.LP
|
10
10
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
11
|
.PP
|
13
12
|
Un\-hexdumps a hexdump back into it\[cq]s original raw data\.
|
14
13
|
Supports a variety of formats, bases, and encodings\.
|
15
|
-
.LP
|
16
14
|
.SH ARGUMENTS
|
17
|
-
.LP
|
18
15
|
.TP
|
19
16
|
\fIFILE\fP
|
20
17
|
The optional path to the file to un\-hexdump\.
|
21
|
-
.LP
|
22
18
|
.SH OPTIONS
|
23
|
-
.LP
|
24
19
|
.TP
|
25
|
-
\fB
|
20
|
+
\fB\-o\fR, \fB\-\-output\fR \fIFILE\fP
|
26
21
|
Optional path to the output file\.
|
27
|
-
.
|
28
|
-
|
29
|
-
\fB-f\fR, \fB--format\fR \[lB]\fBhexdump\fR\[or]\fBod\fR\[rB]
|
22
|
+
.TP
|
23
|
+
\fB\-f\fR, \fB\-\-format\fR \[lB]\fBhexdump\fR\[or]\fBod\fR\[rB]
|
30
24
|
Specifies the hexdump format to parse\.
|
31
|
-
.LP
|
32
25
|
.TP
|
33
|
-
\fB
|
26
|
+
\fB\-t\fR, \fB\-\-type\fR \fITYPE\fP
|
34
27
|
The binary data type to decode the data as\. Must be one of the following:
|
35
|
-
.
|
28
|
+
.RS
|
36
29
|
.RS
|
37
30
|
.IP \(bu 2
|
38
31
|
\fBint8\fR
|
@@ -47,168 +40,165 @@ The binary data type to decode the data as\. Must be one of the following:
|
|
47
40
|
.IP \(bu 2
|
48
41
|
\fBint16\fR
|
49
42
|
.IP \(bu 2
|
50
|
-
\
|
43
|
+
\fBint16\[ru]le\fR
|
51
44
|
.IP \(bu 2
|
52
|
-
\
|
45
|
+
\fBint16\[ru]be\fR
|
53
46
|
.IP \(bu 2
|
54
|
-
\
|
47
|
+
\fBint16\[ru]ne\fR
|
55
48
|
.IP \(bu 2
|
56
49
|
\fBuint16\fR
|
57
50
|
.IP \(bu 2
|
58
|
-
\
|
51
|
+
\fBuint16\[ru]le\fR
|
59
52
|
.IP \(bu 2
|
60
|
-
\
|
53
|
+
\fBuint16\[ru]be\fR
|
61
54
|
.IP \(bu 2
|
62
|
-
\
|
55
|
+
\fBuint16\[ru]ne\fR
|
63
56
|
.IP \(bu 2
|
64
57
|
\fBshort\fR
|
65
58
|
.IP \(bu 2
|
66
|
-
\
|
59
|
+
\fBshort\[ru]le\fR
|
67
60
|
.IP \(bu 2
|
68
|
-
\
|
61
|
+
\fBshort\[ru]be\fR
|
69
62
|
.IP \(bu 2
|
70
|
-
\
|
63
|
+
\fBshort\[ru]ne\fR
|
71
64
|
.IP \(bu 2
|
72
65
|
\fBushort\fR
|
73
66
|
.IP \(bu 2
|
74
|
-
\
|
67
|
+
\fBushort\[ru]le\fR
|
75
68
|
.IP \(bu 2
|
76
|
-
\
|
69
|
+
\fBushort\[ru]be\fR
|
77
70
|
.IP \(bu 2
|
78
|
-
\
|
71
|
+
\fBushort\[ru]ne\fR
|
79
72
|
.IP \(bu 2
|
80
73
|
\fBint32\fR
|
81
74
|
.IP \(bu 2
|
82
|
-
\
|
75
|
+
\fBint32\[ru]le\fR
|
83
76
|
.IP \(bu 2
|
84
|
-
\
|
77
|
+
\fBint32\[ru]be\fR
|
85
78
|
.IP \(bu 2
|
86
|
-
\
|
79
|
+
\fBint32\[ru]ne\fR
|
87
80
|
.IP \(bu 2
|
88
81
|
\fBuint32\fR
|
89
82
|
.IP \(bu 2
|
90
|
-
\
|
83
|
+
\fBuint32\[ru]le\fR
|
91
84
|
.IP \(bu 2
|
92
|
-
\
|
85
|
+
\fBuint32\[ru]be\fR
|
93
86
|
.IP \(bu 2
|
94
|
-
\
|
87
|
+
\fBuint32\[ru]ne\fR
|
95
88
|
.IP \(bu 2
|
96
89
|
\fBint\fR
|
97
90
|
.IP \(bu 2
|
98
91
|
\fBlong\fR
|
99
92
|
.IP \(bu 2
|
100
|
-
\
|
93
|
+
\fBlong\[ru]le\fR
|
101
94
|
.IP \(bu 2
|
102
|
-
\
|
95
|
+
\fBlong\[ru]be\fR
|
103
96
|
.IP \(bu 2
|
104
|
-
\
|
97
|
+
\fBlong\[ru]ne\fR
|
105
98
|
.IP \(bu 2
|
106
99
|
\fBuint\fR
|
107
100
|
.IP \(bu 2
|
108
101
|
\fBulong\fR
|
109
102
|
.IP \(bu 2
|
110
|
-
\
|
103
|
+
\fBulong\[ru]le\fR
|
111
104
|
.IP \(bu 2
|
112
|
-
\
|
105
|
+
\fBulong\[ru]be\fR
|
113
106
|
.IP \(bu 2
|
114
|
-
\
|
107
|
+
\fBulong\[ru]ne\fR
|
115
108
|
.IP \(bu 2
|
116
109
|
\fBint64\fR
|
117
110
|
.IP \(bu 2
|
118
|
-
\
|
111
|
+
\fBint64\[ru]le\fR
|
119
112
|
.IP \(bu 2
|
120
|
-
\
|
113
|
+
\fBint64\[ru]be\fR
|
121
114
|
.IP \(bu 2
|
122
|
-
\
|
115
|
+
\fBint64\[ru]ne\fR
|
123
116
|
.IP \(bu 2
|
124
117
|
\fBuint64\fR
|
125
118
|
.IP \(bu 2
|
126
|
-
\
|
119
|
+
\fBuint64\[ru]le\fR
|
127
120
|
.IP \(bu 2
|
128
|
-
\
|
121
|
+
\fBuint64\[ru]be\fR
|
129
122
|
.IP \(bu 2
|
130
|
-
\
|
123
|
+
\fBuint64\[ru]ne\fR
|
131
124
|
.IP \(bu 2
|
132
|
-
\
|
125
|
+
\fBlong\[ru]long\fR
|
133
126
|
.IP \(bu 2
|
134
|
-
\
|
127
|
+
\fBlong\[ru]long\[ru]le\fR
|
135
128
|
.IP \(bu 2
|
136
|
-
\
|
129
|
+
\fBlong\[ru]long\[ru]be\fR
|
137
130
|
.IP \(bu 2
|
138
|
-
\
|
131
|
+
\fBlong\[ru]long\[ru]ne\fR
|
139
132
|
.IP \(bu 2
|
140
|
-
\
|
133
|
+
\fBulong\[ru]long\fR
|
141
134
|
.IP \(bu 2
|
142
|
-
\
|
135
|
+
\fBulong\[ru]long\[ru]le\fR
|
143
136
|
.IP \(bu 2
|
144
|
-
\
|
137
|
+
\fBulong\[ru]long\[ru]be\fR
|
145
138
|
.IP \(bu 2
|
146
|
-
\
|
139
|
+
\fBulong\[ru]long\[ru]ne\fR
|
147
140
|
.IP \(bu 2
|
148
141
|
\fBfloat\fR
|
149
142
|
.IP \(bu 2
|
150
|
-
\
|
143
|
+
\fBfloat\[ru]le\fR
|
151
144
|
.IP \(bu 2
|
152
|
-
\
|
145
|
+
\fBfloat\[ru]be\fR
|
153
146
|
.IP \(bu 2
|
154
|
-
\
|
147
|
+
\fBfloat\[ru]ne\fR
|
155
148
|
.IP \(bu 2
|
156
149
|
\fBdouble\fR
|
157
150
|
.IP \(bu 2
|
158
|
-
\
|
151
|
+
\fBdouble\[ru]le\fR
|
159
152
|
.IP \(bu 2
|
160
|
-
\
|
153
|
+
\fBdouble\[ru]be\fR
|
161
154
|
.IP \(bu 2
|
162
|
-
\
|
155
|
+
\fBdouble\[ru]ne\fR
|
156
|
+
.RE
|
163
157
|
.RE
|
164
|
-
.LP
|
165
158
|
.TP
|
166
|
-
\fB
|
159
|
+
\fB\-b\fR, \fB\-\-base\fR \fB2\fR\[or]\fB8\fR\[or]\fB10\fR\[or]\fB16\fR
|
167
160
|
The numeric base to print hexdumped numbers in\.
|
168
|
-
.LP
|
169
161
|
.TP
|
170
|
-
\fB
|
162
|
+
\fB\-A\fR, \fB\-\-address\-base\fR \fB2\fR\[or]\fB8\fR\[or]\fB10\fR\[or]\fB16\fR
|
171
163
|
The numeric base to print the index addresses in\.
|
172
|
-
.LP
|
173
164
|
.TP
|
174
|
-
\fB
|
165
|
+
\fB\-\-\[lB]no\-\[rB]named\-chars\fR
|
175
166
|
Enables parsing of \fBod\fR\-style named characters (ex: \fBnul\fR)\.
|
176
|
-
.LP
|
177
167
|
.TP
|
178
|
-
\fB
|
168
|
+
\fB\-h\fR, \fB\-\-help\fR
|
179
169
|
Prints help information\.
|
180
|
-
.LP
|
181
170
|
.SH EXAMPLES
|
182
|
-
.LP
|
183
171
|
.PP
|
184
|
-
Unhexdump a \fBhexdump
|
185
|
-
.
|
186
|
-
.
|
187
|
-
|
188
|
-
|
189
|
-
.
|
172
|
+
Unhexdump a \fBhexdump \-C\fR hexdump:
|
173
|
+
.PP
|
174
|
+
.RS 4
|
175
|
+
.EX
|
176
|
+
\[Do] ronin unhexdump \-o raw\.bin hexdump\.txt
|
177
|
+
.EE
|
178
|
+
.RE
|
190
179
|
.PP
|
191
180
|
Unhexdump a \fBhexdump\fR hexdump:
|
192
|
-
.
|
193
|
-
.
|
194
|
-
|
195
|
-
|
196
|
-
.
|
181
|
+
.PP
|
182
|
+
.RS 4
|
183
|
+
.EX
|
184
|
+
\[Do] ronin unhexdump \-o raw\.bin \-t uint16\[ru]le hexdump\.txt
|
185
|
+
.EE
|
186
|
+
.RE
|
197
187
|
.PP
|
198
188
|
Unhexdump an \fBod\fR hexdump:
|
199
|
-
.
|
200
|
-
.
|
201
|
-
|
202
|
-
|
203
|
-
.
|
189
|
+
.PP
|
190
|
+
.RS 4
|
191
|
+
.EX
|
192
|
+
\[Do] ronin unhexdump \-o raw\.bin \-f od od\.txt
|
193
|
+
.EE
|
194
|
+
.RE
|
204
195
|
.SH AUTHOR
|
205
|
-
.LP
|
206
196
|
.PP
|
207
197
|
Postmodern
|
208
198
|
.MT postmodern\.mod3\[at]gmail\.com
|
209
199
|
.ME
|
210
|
-
.LP
|
211
200
|
.SH SEE ALSO
|
212
|
-
.LP
|
213
201
|
.PP
|
214
|
-
ronin\-hexdump
|
202
|
+
.BR ronin\-hexdump (1)
|
203
|
+
.BR hexdump (1)
|
204
|
+
.BR od (1)
|
data/man/ronin-unhexdump.1.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# ronin-unhexdump 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
|
+
## NAME
|
4
|
+
|
5
|
+
ronin-unhexdump - Decodes a hexdump back into raw data
|
6
|
+
|
3
7
|
## SYNOPSIS
|
4
8
|
|
5
9
|
`ronin unhexdump` [*options*] [*FILE*]`
|
@@ -12,18 +16,18 @@ Supports a variety of formats, bases, and encodings.
|
|
12
16
|
## ARGUMENTS
|
13
17
|
|
14
18
|
*FILE*
|
15
|
-
|
19
|
+
: The optional path to the file to un-hexdump.
|
16
20
|
|
17
21
|
## OPTIONS
|
18
22
|
|
19
23
|
`-o`, `--output` *FILE*
|
20
|
-
|
24
|
+
: Optional path to the output file.
|
21
25
|
|
22
26
|
`-f`, `--format` [`hexdump`\|`od`]
|
23
|
-
|
27
|
+
: Specifies the hexdump format to parse.
|
24
28
|
|
25
29
|
`-t`, `--type` *TYPE*
|
26
|
-
|
30
|
+
: The binary data type to decode the data as. Must be one of the following:
|
27
31
|
|
28
32
|
* `int8`
|
29
33
|
* `uint8`
|
@@ -90,30 +94,30 @@ Supports a variety of formats, bases, and encodings.
|
|
90
94
|
* `double_ne`
|
91
95
|
|
92
96
|
`-b`, `--base` `2`|`8`|`10`|`16`
|
93
|
-
|
97
|
+
: The numeric base to print hexdumped numbers in.
|
94
98
|
|
95
99
|
`-A`, `--address-base` `2`|`8`|`10`|`16`
|
96
|
-
|
100
|
+
: The numeric base to print the index addresses in.
|
97
101
|
|
98
102
|
`--[no-]named-chars`
|
99
|
-
|
103
|
+
: Enables parsing of `od`-style named characters (ex: `nul`).
|
100
104
|
|
101
105
|
`-h`, `--help`
|
102
|
-
|
106
|
+
: Prints help information.
|
103
107
|
|
104
108
|
## EXAMPLES
|
105
109
|
|
106
110
|
Unhexdump a `hexdump -C` hexdump:
|
107
111
|
|
108
|
-
|
112
|
+
$ ronin unhexdump -o raw.bin hexdump.txt
|
109
113
|
|
110
114
|
Unhexdump a `hexdump` hexdump:
|
111
115
|
|
112
|
-
|
116
|
+
$ ronin unhexdump -o raw.bin -t uint16_le hexdump.txt
|
113
117
|
|
114
118
|
Unhexdump an `od` hexdump:
|
115
119
|
|
116
|
-
|
120
|
+
$ ronin unhexdump -o raw.bin -f od od.txt
|
117
121
|
|
118
122
|
## AUTHOR
|
119
123
|
|
@@ -121,4 +125,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
121
125
|
|
122
126
|
## SEE ALSO
|
123
127
|
|
124
|
-
ronin-hexdump(1)
|
128
|
+
[ronin-hexdump](ronin-hexdump.1.md) [hexdump](hexdump.1.md) [od](od.1.md)
|