ronin 2.0.5 → 2.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +3 -3
  3. data/.gitignore +1 -0
  4. data/.rubocop.yml +5 -1
  5. data/ChangeLog.md +56 -1
  6. data/Gemfile +66 -29
  7. data/README.md +162 -17
  8. data/Rakefile +9 -0
  9. data/data/completions/ronin +655 -0
  10. data/data/templates/dns_proxy.rb.erb +35 -0
  11. data/gemspec.yml +27 -13
  12. data/lib/ronin/cli/binary_template.rb +124 -0
  13. data/lib/ronin/cli/commands/archive.rb +104 -0
  14. data/lib/ronin/cli/commands/banner_grab.rb +2 -0
  15. data/lib/ronin/cli/commands/bitflip.rb +1 -1
  16. data/lib/ronin/cli/commands/bitsquat.rb +119 -0
  17. data/lib/ronin/cli/commands/cert_dump.rb +20 -4
  18. data/lib/ronin/cli/commands/cert_gen.rb +9 -19
  19. data/lib/ronin/cli/commands/cert_grab.rb +4 -3
  20. data/lib/ronin/cli/commands/completion.rb +115 -0
  21. data/lib/ronin/cli/commands/dns_proxy.rb +235 -0
  22. data/lib/ronin/cli/commands/http.rb +80 -8
  23. data/lib/ronin/cli/commands/ip.rb +101 -0
  24. data/lib/ronin/cli/commands/iprange.rb +25 -8
  25. data/lib/ronin/cli/commands/netcat.rb +2 -0
  26. data/lib/ronin/cli/commands/new/dns_listener.rb +37 -0
  27. data/lib/ronin/cli/commands/new/dns_proxy.rb +99 -0
  28. data/lib/ronin/cli/commands/new/exploit.rb +34 -0
  29. data/lib/ronin/cli/commands/new/http_listener.rb +37 -0
  30. data/lib/ronin/cli/commands/new/nokogiri.rb +33 -0
  31. data/lib/ronin/cli/commands/new/payload.rb +34 -0
  32. data/lib/ronin/cli/commands/new/project.rb +1 -1
  33. data/lib/ronin/cli/commands/new/script.rb +1 -1
  34. data/lib/ronin/cli/commands/new/web_app.rb +37 -0
  35. data/lib/ronin/cli/commands/new/web_server.rb +37 -0
  36. data/lib/ronin/cli/commands/new/web_spider.rb +37 -0
  37. data/lib/ronin/cli/commands/new.rb +3 -1
  38. data/lib/ronin/cli/commands/pack.rb +339 -0
  39. data/lib/ronin/cli/commands/public_suffix_list.rb +2 -0
  40. data/lib/ronin/cli/commands/tld_list.rb +2 -0
  41. data/lib/ronin/cli/commands/unarchive.rb +128 -0
  42. data/lib/ronin/cli/commands/unhexdump.rb +3 -1
  43. data/lib/ronin/cli/commands/unpack.rb +195 -0
  44. data/lib/ronin/cli/commands/url.rb +2 -0
  45. data/lib/ronin/cli/http_shell.rb +25 -0
  46. data/lib/ronin/cli.rb +10 -0
  47. data/lib/ronin/version.rb +1 -1
  48. data/man/ronin-archive.1.md +49 -0
  49. data/man/ronin-asn.1 +60 -77
  50. data/man/ronin-asn.1.md +25 -21
  51. data/man/ronin-banner-grab.1 +10 -21
  52. data/man/ronin-banner-grab.1.md +9 -5
  53. data/man/ronin-bitflip.1 +35 -61
  54. data/man/ronin-bitflip.1.md +30 -26
  55. data/man/ronin-bitsquat.1 +40 -0
  56. data/man/ronin-bitsquat.1.md +43 -0
  57. data/man/ronin-cert-dump.1 +44 -54
  58. data/man/ronin-cert-dump.1.md +18 -14
  59. data/man/ronin-cert-gen.1 +73 -94
  60. data/man/ronin-cert-gen.1.md +38 -34
  61. data/man/ronin-cert-grab.1 +29 -37
  62. data/man/ronin-cert-grab.1.md +12 -8
  63. data/man/ronin-completion.1 +78 -0
  64. data/man/ronin-completion.1.md +80 -0
  65. data/man/ronin-decode.1 +32 -63
  66. data/man/ronin-decode.1.md +29 -25
  67. data/man/ronin-decrypt.1 +42 -57
  68. data/man/ronin-decrypt.1.md +20 -16
  69. data/man/ronin-dns-proxy.1 +100 -0
  70. data/man/ronin-dns-proxy.1.md +70 -0
  71. data/man/ronin-dns.1 +10 -21
  72. data/man/ronin-dns.1.md +9 -5
  73. data/man/ronin-email-addr.1 +27 -40
  74. data/man/ronin-email-addr.1.md +15 -11
  75. data/man/ronin-encode.1 +93 -63
  76. data/man/ronin-encode.1.md +64 -26
  77. data/man/ronin-encrypt.1 +42 -57
  78. data/man/ronin-encrypt.1.md +20 -16
  79. data/man/ronin-entropy.1 +11 -21
  80. data/man/ronin-entropy.1.md +8 -4
  81. data/man/ronin-escape.1 +22 -46
  82. data/man/ronin-escape.1.md +22 -18
  83. data/man/ronin-extract.1 +74 -149
  84. data/man/ronin-extract.1.md +73 -69
  85. data/man/ronin-grep.1 +77 -155
  86. data/man/ronin-grep.1.md +76 -72
  87. data/man/ronin-help.1 +3 -14
  88. data/man/ronin-help.1.md +2 -2
  89. data/man/ronin-hexdump.1 +249 -265
  90. data/man/ronin-hexdump.1.md +93 -89
  91. data/man/ronin-highlight.1 +8 -18
  92. data/man/ronin-highlight.1.md +8 -4
  93. data/man/ronin-hmac.1 +17 -30
  94. data/man/ronin-hmac.1.md +14 -10
  95. data/man/ronin-homoglyph.1 +11 -22
  96. data/man/ronin-homoglyph.1.md +10 -6
  97. data/man/ronin-host.1 +23 -47
  98. data/man/ronin-host.1.md +22 -18
  99. data/man/ronin-http.1 +40 -69
  100. data/man/ronin-http.1.md +40 -30
  101. data/man/ronin-ip.1 +70 -80
  102. data/man/ronin-ip.1.md +44 -28
  103. data/man/ronin-iprange.1 +14 -22
  104. data/man/ronin-iprange.1.md +12 -5
  105. data/man/ronin-irb.1 +9 -17
  106. data/man/ronin-irb.1.md +7 -3
  107. data/man/ronin-md5.1 +13 -24
  108. data/man/ronin-md5.1.md +11 -7
  109. data/man/ronin-netcat.1 +25 -51
  110. data/man/ronin-netcat.1.md +25 -21
  111. data/man/ronin-new-dns-proxy.1 +45 -0
  112. data/man/ronin-new-dns-proxy.1.md +44 -0
  113. data/man/ronin-new-project.1 +32 -45
  114. data/man/ronin-new-project.1.md +11 -11
  115. data/man/ronin-new-script.1 +10 -22
  116. data/man/ronin-new-script.1.md +4 -4
  117. data/man/ronin-new.1 +56 -31
  118. data/man/ronin-new.1.md +48 -8
  119. data/man/ronin-pack.1 +977 -0
  120. data/man/ronin-pack.1.md +929 -0
  121. data/man/ronin-proxy.1 +37 -63
  122. data/man/ronin-proxy.1.md +29 -25
  123. data/man/ronin-public-suffix-list.1 +16 -32
  124. data/man/ronin-public-suffix-list.1.md +13 -9
  125. data/man/ronin-quote.1 +17 -36
  126. data/man/ronin-quote.1.md +17 -13
  127. data/man/ronin-rot.1 +26 -39
  128. data/man/ronin-rot.1.md +15 -11
  129. data/man/ronin-sha1.1 +13 -24
  130. data/man/ronin-sha1.1.md +11 -7
  131. data/man/ronin-sha256.1 +13 -24
  132. data/man/ronin-sha256.1.md +11 -7
  133. data/man/ronin-sha512.1 +13 -24
  134. data/man/ronin-sha512.1.md +11 -7
  135. data/man/ronin-strings.1 +30 -55
  136. data/man/ronin-strings.1.md +27 -23
  137. data/man/ronin-tips.1 +8 -16
  138. data/man/ronin-tips.1.md +7 -3
  139. data/man/ronin-tld-list.1 +16 -32
  140. data/man/ronin-tld-list.1.md +13 -9
  141. data/man/ronin-typo.1 +14 -28
  142. data/man/ronin-typo.1.md +13 -9
  143. data/man/ronin-typosquat.1 +15 -32
  144. data/man/ronin-typosquat.1.md +15 -11
  145. data/man/ronin-unarchive.1.md +41 -0
  146. data/man/ronin-unescape.1 +22 -46
  147. data/man/ronin-unescape.1.md +22 -18
  148. data/man/ronin-unhexdump.1 +81 -91
  149. data/man/ronin-unhexdump.1.md +16 -12
  150. data/man/ronin-unpack.1 +978 -0
  151. data/man/ronin-unpack.1.md +920 -0
  152. data/man/ronin-unquote.1 +17 -36
  153. data/man/ronin-unquote.1.md +17 -13
  154. data/man/ronin-url.1 +19 -40
  155. data/man/ronin-url.1.md +19 -15
  156. data/man/ronin-xor.1 +14 -28
  157. data/man/ronin-xor.1.md +13 -9
  158. data/man/ronin.1 +208 -29
  159. data/man/ronin.1.md +156 -11
  160. data/scripts/setup +58 -0
  161. metadata +162 -73
  162. data/lib/ronin/config.rb +0 -95
  163. /data/data/{new → templates}/project/.gitignore +0 -0
  164. /data/data/{new → templates}/project/.ruby-version.erb +0 -0
  165. /data/data/{new → templates}/project/Dockerfile.erb +0 -0
  166. /data/data/{new → templates}/project/Gemfile.erb +0 -0
  167. /data/data/{new → templates}/project/Rakefile +0 -0
  168. /data/data/{new → templates}/project/project.rb.erb +0 -0
  169. /data/data/{new → templates}/script.rb.erb +0 -0
@@ -1,5 +1,9 @@
1
1
  # ronin-hexdump 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-hexdump - Hexdumps data in a variaty of encodings and formats
6
+
3
7
  ## SYNOPSIS
4
8
 
5
9
  `ronin hexdump` [*options*] [*FILE* ...]
@@ -11,12 +15,12 @@ Hexdumps data in a variety of encodings and formats.
11
15
  ## ARGUMENTS
12
16
 
13
17
  *FILE*
14
- The optional path to the file(s) to hexdump.
18
+ : The optional path to the file(s) to hexdump.
15
19
 
16
20
  ## OPTIONS
17
21
 
18
22
  `-t`, `--type` *TYPE*
19
- The binary data type to decode the data as. Must be one of the following:
23
+ : The binary data type to decode the data as. Must be one of the following:
20
24
 
21
25
  * `int8`
22
26
  * `uint8`
@@ -83,74 +87,74 @@ Hexdumps data in a variety of encodings and formats.
83
87
  * `double_ne`
84
88
 
85
89
  `-O`, `--offset` *INDEX*
86
- Start reading data at the given offset within the file or data stream.
90
+ : Start reading data at the given offset within the file or data stream.
87
91
 
88
92
  `-L`, `--length` *LEN*
89
- Only read at most *LEN* bytes of data.
93
+ : Only read at most *LEN* bytes of data.
90
94
 
91
95
  `-Z`, `--zero-pad`
92
- Enables zero-padding the input data so that it aligns with the data type
96
+ : Enables zero-padding the input data so that it aligns with the data type
93
97
  specified by `-t`,`--type`.
94
98
 
95
99
  `-c`, `--columns` *WIDTH*
96
- The number of bytes to hexdump per line.
100
+ : The number of bytes to hexdump per line.
97
101
 
98
102
  `-g`, `--group-columns *WIDTH*
99
- Groups the columns of hexdumped numbers together into groupings of *WIDTH*.
103
+ : Groups the columns of hexdumped numbers together into groupings of *WIDTH*.
100
104
 
101
105
  `-G`, `--group-chars` *WIDTH*|`type`
102
- Group the characters into columns of groupings of *WIDTH*, separated by the
106
+ : Group the characters into columns of groupings of *WIDTH*, separated by the
103
107
  `|` character. If `type` is given, the size of the `-t`,`--type` type in bytes
104
108
  will be used for the character grouping width.
105
109
 
106
110
  `-r`, `--[no-]repeating`
107
- Allows consecutive repeating lines in hexdump output. By default consecutive
111
+ : Allows consecutive repeating lines in hexdump output. By default consecutive
108
112
  repeating lines of data are omitted by a single `*` line.
109
113
 
110
114
  `-b`, `--base` `2`|`8`|`10`|`16`
111
- The numeric base to print hexdumped numbers in.
115
+ : The numeric base to print hexdumped numbers in.
112
116
 
113
117
  `-B`, `--index-base` `2`|`8`|`10`|`16`
114
- The numeric base to print the index addresses in.
118
+ : The numeric base to print the index addresses in.
115
119
 
116
120
  `-I`, `--index-offset` *INT*
117
- The starting value for the index addresses.
121
+ : The starting value for the index addresses.
118
122
 
119
123
  `-C`, `--[no-]chars-column`
120
- Enables or disables the display of the characters column.
124
+ : Enables or disables the display of the characters column.
121
125
 
122
126
  `-E`, `--encoding` `ascii`|`utf8`
123
- The character encoding to display the characters in. Default to `ascii`.
127
+ : The character encoding to display the characters in. Default to `ascii`.
124
128
 
125
129
  `--style-index` *STYLE*
126
- Applies ANSI styling to the index column.
130
+ : Applies ANSI styling to the index column.
127
131
  See the *ANSI STYLES* section for all possible style names.
128
132
 
129
133
  `--style-numeric` *STYLE*
130
- Applies ANSI styling to the numeric column.
134
+ : Applies ANSI styling to the numeric column.
131
135
  See the *ANSI STYLES* section for all possible style names.
132
136
 
133
137
  `--style-chars` *STYLE*
134
- Applies ANSI styling to the characters column.
138
+ : Applies ANSI styling to the characters column.
135
139
  See the *ANSI STYLES* section for all possible style names.
136
140
 
137
141
  `--highlight-index` *PATTERN*:*STYLE*
138
- Applies ANSI highlighting to the index column.
142
+ : Applies ANSI highlighting to the index column.
139
143
  *PATTERN* may be either a literal *STRING* value or a /*REGEXP*/ value.
140
144
  See the *ANSI STYLES* section for all possible style names.
141
145
 
142
146
  `--highlight-numeric` *PATTERN*:*STYLE*
143
- Applies ANSI highlighting to the numeric column
147
+ : Applies ANSI highlighting to the numeric column
144
148
  *PATTERN* may be either a literal *STRING* value or a /*REGEXP*/ value.
145
149
  See the *ANSI STYLES* section for all possible style names.
146
150
 
147
151
  `--highlight-chars` *PATTERN*:*STYLE*
148
- Applies ANSI highlighting to the characters column
152
+ : Applies ANSI highlighting to the characters column
149
153
  *PATTERN* may be either a literal *STRING* value or a /*REGEXP*/ value.
150
154
  See the *ANSI STYLES* section for all possible style names.
151
155
 
152
156
  `-h`, `--help`
153
- Prints help information.
157
+ : Prints help information.
154
158
 
155
159
  ## ANSI STYLES
156
160
 
@@ -192,130 +196,130 @@ Background colors:
192
196
 
193
197
  Hexdump a file:
194
198
 
195
- $ ronin hexdump /bin/ls
196
- 00000000 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 |.ELF............|
197
- 00000010 03 00 3e 00 01 00 00 00 d0 6b 00 00 00 00 00 00 |..>......k......|
198
- 00000020 40 00 00 00 00 00 00 00 18 23 02 00 00 00 00 00 |@........#......|
199
- 00000030 00 00 00 00 40 00 38 00 0d 00 40 00 20 00 1f 00 |....@.8...@. ...|
200
- 00000040 06 00 00 00 04 00 00 00 40 00 00 00 00 00 00 00 |........@.......|
201
- 00000050 40 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 |@.......@.......|
202
- ...
199
+ $ ronin hexdump /bin/ls
200
+ 00000000 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 |.ELF............|
201
+ 00000010 03 00 3e 00 01 00 00 00 d0 6b 00 00 00 00 00 00 |..>......k......|
202
+ 00000020 40 00 00 00 00 00 00 00 18 23 02 00 00 00 00 00 |@........#......|
203
+ 00000030 00 00 00 00 40 00 38 00 0d 00 40 00 20 00 1f 00 |....@.8...@. ...|
204
+ 00000040 06 00 00 00 04 00 00 00 40 00 00 00 00 00 00 00 |........@.......|
205
+ 00000050 40 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 |@.......@.......|
206
+ ...
203
207
 
204
208
  Hexdump a UTF-8 data:
205
209
 
206
- $ ronin hexdump --encoding utf8 file.txt
207
- 00000000 e8 80 80 e8 80 80 e8 80 80 e8 80 80 e8 80 80 e8 |耀耀耀耀耀.|
208
- 00000010 80 80 e8 80 80 e8 80 80 |..耀耀|
209
- 00000018
210
+ $ ronin hexdump --encoding utf8 file.txt
211
+ 00000000 e8 80 80 e8 80 80 e8 80 80 e8 80 80 e8 80 80 e8 |耀耀耀耀耀.|
212
+ 00000010 80 80 e8 80 80 e8 80 80 |..耀耀|
213
+ 00000018
210
214
 
211
215
  Control the number of columns:
212
216
 
213
- $ ronin hexdump --columns 10 a.txt
214
- 00000000 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAA|
215
- ...
217
+ $ ronin hexdump --columns 10 a.txt
218
+ 00000000 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAA|
219
+ ...
216
220
 
217
221
  Show repeating data instead of omitting them with a `*`:
218
222
 
219
- $ ronin hexdump --repeating a.txt
220
- 00000000 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAA|
221
- 0000000a 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAA|
222
- 00000014 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAA|
223
+ $ ronin hexdump --repeating a.txt
224
+ 00000000 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAA|
225
+ 0000000a 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAA|
226
+ 00000014 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAA|
223
227
 
224
228
  Grouping columns together:
225
229
 
226
- $ ronin hexdump --group-columns 4 --columns 16 abcd.txt
227
- 00000000 41 42 43 44 41 42 43 44 41 42 43 44 41 42 43 44 |ABCDABCDABCDABCD|
228
- ...
230
+ $ ronin hexdump --group-columns 4 --columns 16 abcd.txt
231
+ 00000000 41 42 43 44 41 42 43 44 41 42 43 44 41 42 43 44 |ABCDABCDABCDABCD|
232
+ ...
229
233
 
230
234
  Grouping the characters together:
231
235
 
232
- $ ronin hexdump --group-chars 4 abcd.txt
233
- 00000000 41 42 43 44 41 42 43 44 41 42 43 44 41 42 43 44 |ABCD|ABCD|ABCD|ABCD|
234
- ...
236
+ $ ronin hexdump --group-chars 4 abcd.txt
237
+ 00000000 41 42 43 44 41 42 43 44 41 42 43 44 41 42 43 44 |ABCD|ABCD|ABCD|ABCD|
238
+ ...
235
239
 
236
240
  Disabling the characters column:
237
241
 
238
- $ ronin hexdump --no-chars-column a.txt
239
- 00000000 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41
240
- ...
242
+ $ ronin hexdump --no-chars-column a.txt
243
+ 00000000 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41
244
+ ...
241
245
 
242
246
  Print the numbers as decimals (base 10):
243
247
 
244
- $ ronin hexdump --base 10 hello.txt
245
- 00000000 104 101 108 108 111 0 |hello.|
248
+ $ ronin hexdump --base 10 hello.txt
249
+ 00000000 104 101 108 108 111 0 |hello.|
246
250
 
247
251
  Print the numbers as octals (base 8):
248
252
 
249
- $ ronin hexdump --base 8 hello.txt
250
- 00000000 0150 0145 0154 0154 0157 0000 |hello.|
253
+ $ ronin hexdump --base 8 hello.txt
254
+ 00000000 0150 0145 0154 0154 0157 0000 |hello.|
251
255
 
252
256
  Print the numbers as binary (base 2):
253
257
 
254
- $ ronin hexdump --base 2 hello.txt
255
- 00000000 01101000 01100101 01101100 01101100 01101111 00000000 |hello.|
258
+ $ ronin hexdump --base 2 hello.txt
259
+ 00000000 01101000 01100101 01101100 01101100 01101111 00000000 |hello.|
256
260
 
257
261
  Decode `uint32` values:
258
262
 
259
- $ ronin hexdump --type uint32 abcd.txt
260
- 00000000 44434241 44434241 44434241 44434241 |ABCDABCDABCDABCD|
261
- ...
263
+ $ ronin hexdump --type uint32 abcd.txt
264
+ 00000000 44434241 44434241 44434241 44434241 |ABCDABCDABCDABCD|
265
+ ...
262
266
 
263
267
  Decode `uint32` (little-endian) values:
264
268
 
265
- $ ronin hexdump --type uint32_le abcd.txt
266
- 00000000 44434241 44434241 44434241 44434241 |ABCDABCDABCDABCD|
267
- ...
269
+ $ ronin hexdump --type uint32_le abcd.txt
270
+ 00000000 44434241 44434241 44434241 44434241 |ABCDABCDABCDABCD|
271
+ ...
268
272
 
269
273
  Decode `uint32` (big-endian) values:
270
274
 
271
- $ ronin hexdump --type uint32_be abcd.txt
272
- 00000000 41424344 41424344 41424344 41424344 |ABCDABCDABCDABCD|
273
- ...
275
+ $ ronin hexdump --type uint32_be abcd.txt
276
+ 00000000 41424344 41424344 41424344 41424344 |ABCDABCDABCDABCD|
277
+ ...
274
278
 
275
279
  Decode `int32` values:
276
280
 
277
- $ ronin hexdump --type int32 --base 10 data.bin
278
- 00000000 65535 -1 |........|
279
- 00000008
281
+ $ ronin hexdump --type int32 --base 10 data.bin
282
+ 00000000 65535 -1 |........|
283
+ 00000008
280
284
 
281
285
  Decode characters:
282
286
 
283
- $ ronin hexdump --type char hello.txt
284
- 00000000 h e l l o \0 |hello.|
285
- 00000006
287
+ $ ronin hexdump --type char hello.txt
288
+ 00000000 h e l l o \0 |hello.|
289
+ 00000006
286
290
 
287
291
  Decode `float` values:
288
292
 
289
- $ ronin hexdump --type float64_le floats.bin
290
- 00000000 0.000000e+00 1.000000e+00 |...............?|
291
- 00000010 -1.000000e+00 NaN |................|
292
- ...
293
+ $ ronin hexdump --type float64_le floats.bin
294
+ 00000000 0.000000e+00 1.000000e+00 |...............?|
295
+ 00000010 -1.000000e+00 NaN |................|
296
+ ...
293
297
 
294
298
  Skipping to an offset:
295
299
 
296
- $ ronin hexdump --offset 7 data.bin
300
+ $ ronin hexdump --offset 7 data.bin
297
301
 
298
302
  Zero-pad the data:
299
303
 
300
- $ ronin hexdump --type uint32_be --zero-pad abcd.txt
301
- 00000000 41424344 41424344 41424344 41424344 |ABCDABCDABCDABCD|
302
- 00000010 41420000 |AB..|
303
- 00000014
304
+ $ ronin hexdump --type uint32_be --zero-pad abcd.txt
305
+ 00000000 41424344 41424344 41424344 41424344 |ABCDABCDABCDABCD|
306
+ 00000010 41420000 |AB..|
307
+ 00000014
304
308
 
305
309
  ANSI coloring:
306
310
 
307
- $ ronin hexdump --style-index white \
308
- --style-numeric green \
309
- --style-chars cyan \
310
- data.bin
311
+ $ ronin hexdump --style-index white \
312
+ --style-numeric green \
313
+ --style-chars cyan \
314
+ data.bin
311
315
 
312
316
  ANSI highlighting:
313
317
 
314
- $ ronin hexdump --highlight-index /00$/:white,bold \
315
- --highlight-numeric /^[8-f][0-9a-f]$/:faint \
316
- --highlight-numeric /f/:cyan \
317
- --highlight-numeric 00:black,on_red \
318
- --highlight-chars /[^\.]+/:green data.bin
318
+ $ ronin hexdump --highlight-index /00$/:white,bold \
319
+ --highlight-numeric /^[8-f][0-9a-f]$/:faint \
320
+ --highlight-numeric /f/:cyan \
321
+ --highlight-numeric 00:black,on_red \
322
+ --highlight-chars /[^\.]+/:green data.bin
319
323
 
320
324
  ## AUTHOR
321
325
 
@@ -323,4 +327,4 @@ Postmodern <postmodern.mod3@gmail.com>
323
327
 
324
328
  ## SEE ALSO
325
329
 
326
- ronin-unhexdump(1)
330
+ [ronin-unhexdump](ronin-unhexdump.1.md)
@@ -1,42 +1,32 @@
1
- .\" Generated by kramdown-man 0.1.8
1
+ .\" Generated by kramdown-man 1.0.1
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
3
  .TH ronin-highlight 1 "2023-02-01" Ronin "User Manuals"
4
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-highlight \- Syntax highlights file(s)\.
5
7
  .SH SYNOPSIS
6
- .LP
7
- .HP
8
+ .PP
8
9
  \fBronin highlight\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIFILE\fP \.\.\.\[rB]
9
- .LP
10
10
  .SH DESCRIPTION
11
- .LP
12
11
  .PP
13
12
  Syntax highlights the given files or input\.
14
- .LP
15
13
  .SH ARGUMENTS
16
- .LP
17
14
  .TP
18
15
  \fIFILE\fP
19
16
  The optional file to highlight\. If no \fIFILE\fP arguments are given, then
20
17
  \fBronin highlight\fR will read from standard input\.
21
- .LP
22
18
  .SH OPTIONS
23
- .LP
24
19
  .TP
25
- \fB-s\fR, \fB--syntax\fR
20
+ \fB\-s\fR, \fB\-\-syntax\fR
26
21
  Specifies the syntax to highlight\.
27
- .LP
28
22
  .TP
29
- \fB-L\fR, \fB--less\fR
23
+ \fB\-L\fR, \fB\-\-less\fR
30
24
  Display the output in a pager\.
31
- .LP
32
25
  .TP
33
- \fB-h\fR, \fB--help\fR
26
+ \fB\-h\fR, \fB\-\-help\fR
34
27
  Print help information\.
35
- .LP
36
28
  .SH AUTHOR
37
- .LP
38
29
  .PP
39
30
  Postmodern
40
31
  .MT postmodern\.mod3\[at]gmail\.com
41
32
  .ME
42
- .LP
@@ -1,5 +1,9 @@
1
1
  # ronin-highlight 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-highlight - Syntax highlights file(s).
6
+
3
7
  ## SYNOPSIS
4
8
 
5
9
  `ronin highlight` [*options*] [*FILE* ...]
@@ -11,19 +15,19 @@ Syntax highlights the given files or input.
11
15
  ## ARGUMENTS
12
16
 
13
17
  *FILE*
14
- The optional file to highlight. If no *FILE* arguments are given, then
18
+ : The optional file to highlight. If no *FILE* arguments are given, then
15
19
  `ronin highlight` will read from standard input.
16
20
 
17
21
  ## OPTIONS
18
22
 
19
23
  `-s`, `--syntax`
20
- Specifies the syntax to highlight.
24
+ : Specifies the syntax to highlight.
21
25
 
22
26
  `-L`, `--less`
23
- Display the output in a pager.
27
+ : Display the output in a pager.
24
28
 
25
29
  `-h`, `--help`
26
- Print help information.
30
+ : Print help information.
27
31
 
28
32
  ## AUTHOR
29
33
 
data/man/ronin-hmac.1 CHANGED
@@ -1,66 +1,53 @@
1
- .\" Generated by kramdown-man 0.1.8
1
+ .\" Generated by kramdown-man 1.0.1
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
3
  .TH ronin-hmac 1 "2023-02-01" Ronin "User Manuals"
4
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-hmac \- Calculates a Hash\-based Message Authentication Code (HMAC)
5
7
  .SH SYNOPSIS
6
- .LP
7
- .HP
8
+ .PP
8
9
  \fBronin hmac\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIFILE\fP \.\.\.\[rB]
9
- .LP
10
10
  .SH DESCRIPTION
11
- .LP
12
11
  .PP
13
12
  Calculates a Hash\-based Message Authentication Code (HMAC) for data\.
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-f\fR, \fB--file\fR \fIFILE\fP
20
+ \fB\-f\fR, \fB\-\-file\fR \fIFILE\fP
26
21
  Optional file to process\.
27
- .LP
28
22
  .TP
29
- \fB--string\fR \fISTRING\fP
23
+ \fB\-\-string\fR \fISTRING\fP
30
24
  Optional string to process\.
31
- .LP
32
25
  .TP
33
- \fB-M\fR, \fB--multiline\fR
26
+ \fB\-M\fR, \fB\-\-multiline\fR
34
27
  Process each line of input separately\.
35
- .LP
36
28
  .TP
37
- \fB-n\fR, \fB--keep-newlines\fR
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-H\fR,\fB--hash\fR \fBmd5\fR\[or]\fBsha1\fR\[or]\fBsha256\fR\[or]\fBsha512\fR
32
+ \fB\-H\fR,\fB\-\-hash\fR \fBmd5\fR\[or]\fBsha1\fR\[or]\fBsha256\fR\[or]\fBsha512\fR
42
33
  Hash algorithm to use\. Defaults to \fBsha1\fR if the option is not given\.
43
- .LP
44
34
  .TP
45
- \fB-k\fR, \fB--key\fR \fIKEY\fP
35
+ \fB\-k\fR, \fB\-\-key\fR \fIKEY\fP
46
36
  The key string to use\.
47
- .LP
48
37
  .TP
49
- \fB-k\fR, \fB--key-file\fR \fIFILE\fP
38
+ \fB\-k\fR, \fB\-\-key\-file\fR \fIFILE\fP
50
39
  The file to read the key string from\.
51
- .LP
52
40
  .TP
53
- \fB-h\fR, \fB--help\fR
41
+ \fB\-h\fR, \fB\-\-help\fR
54
42
  Print help information\.
55
- .LP
56
43
  .SH AUTHOR
57
- .LP
58
44
  .PP
59
45
  Postmodern
60
46
  .MT postmodern\.mod3\[at]gmail\.com
61
47
  .ME
62
- .LP
63
48
  .SH SEE ALSO
64
- .LP
65
49
  .PP
66
- ronin\-md5(1), ronin\-sha1(1), ronin\-sha256(1), ronin\-sha512(1)
50
+ .BR ronin\-md5 (1)
51
+ .BR ronin\-sha1 (1)
52
+ .BR ronin\-sha256 (1)
53
+ .BR ronin\-sha512 (1)
data/man/ronin-hmac.1.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # ronin-hmac 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-hmac - Calculates a Hash-based Message Authentication Code (HMAC)
6
+
3
7
  ## SYNOPSIS
4
8
 
5
9
  `ronin hmac` [*options*] [*FILE* ...]
@@ -11,34 +15,34 @@ Calculates a Hash-based Message Authentication Code (HMAC) for data.
11
15
  ## ARGUMENTS
12
16
 
13
17
  *FILE*
14
- The optional file to read and process. If no *FILE* arguments are given,
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
- Optional file to process.
24
+ : Optional file to process.
21
25
 
22
26
  `--string` *STRING*
23
- Optional string to process.
27
+ : Optional string to process.
24
28
 
25
29
  `-M`, `--multiline`
26
- Process each line of input separately.
30
+ : Process each line of input separately.
27
31
 
28
32
  `-n`, `--keep-newlines`
29
- Preserves newlines at the end of each line.
33
+ : Preserves newlines at the end of each line.
30
34
 
31
35
  `-H`,`--hash` `md5`\|`sha1`\|`sha256`\|`sha512`
32
- Hash algorithm to use. Defaults to `sha1` if the option is not given.
36
+ : Hash algorithm to use. Defaults to `sha1` if the option is not given.
33
37
 
34
38
  `-k`, `--key` *KEY*
35
- The key string to use.
39
+ : The key string to use.
36
40
 
37
41
  `-k`, `--key-file` *FILE*
38
- The file to read the key string from.
42
+ : The file to read the key string from.
39
43
 
40
44
  `-h`, `--help`
41
- Print help information.
45
+ : Print help information.
42
46
 
43
47
  ## AUTHOR
44
48
 
@@ -46,4 +50,4 @@ Postmodern <postmodern.mod3@gmail.com>
46
50
 
47
51
  ## SEE ALSO
48
52
 
49
- ronin-md5(1), ronin-sha1(1), ronin-sha256(1), ronin-sha512(1)
53
+ [ronin-md5](ronin-md5.1.md) [ronin-sha1](ronin-sha1.1.md) [ronin-sha256](ronin-sha256.1.md) [ronin-sha512](ronin-sha512.1.md)
@@ -1,49 +1,38 @@
1
- .\" Generated by kramdown-man 0.1.8
1
+ .\" Generated by kramdown-man 1.0.1
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
3
  .TH ronin-homoglyph 1 "2023-02-01" Ronin "User Manuals"
4
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-homoglyph \- Generates homoglyph equivalent words
5
7
  .SH SYNOPSIS
6
- .LP
7
- .HP
8
+ .PP
8
9
  \fBronin homoglyph\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIWORD\fP \.\.\.\[rB]
9
- .LP
10
10
  .SH DESCRIPTION
11
- .LP
12
11
  .PP
13
12
  Generates homoglyph equivalent words\.
14
- .LP
15
13
  .SH ARGUMENTS
16
- .LP
17
14
  .TP
18
15
  \fIWORD\fP
19
16
  The optional word to homoglyph\.
20
- .LP
21
17
  .SH OPTIONS
22
- .LP
23
18
  .TP
24
- \fB-f\fR, \fB--file\fR \fIFILE\fP
19
+ \fB\-f\fR, \fB\-\-file\fR \fIFILE\fP
25
20
  Optional file to process\.
26
- .LP
27
21
  .TP
28
- \fB-C\fR, \fB--char-set\fR \fBascii\fR\[or]\fBgreek\fR\[or]\fBcyrillic\fR\[or]\fBpunctuation\fR\[or]\fBlatin_numbers\fR\[or]\fBfull_width\fR
22
+ \fB\-C\fR, \fB\-\-char\-set\fR \fBascii\fR\[or]\fBgreek\fR\[or]\fBcyrillic\fR\[or]\fBpunctuation\fR\[or]\fBlatin\[ru]numbers\fR\[or]\fBfull\[ru]width\fR
29
23
  Selects the homoglyph character set\.
30
- .LP
31
24
  .TP
32
- \fB-E\fR, \fB--enum\fR
25
+ \fB\-E\fR, \fB\-\-enum\fR
33
26
  Enumerates over every possible typo of a word\.
34
- .LP
35
27
  .TP
36
- \fB-h\fR, \fB--help\fR
28
+ \fB\-h\fR, \fB\-\-help\fR
37
29
  Print help information\.
38
- .LP
39
30
  .SH AUTHOR
40
- .LP
41
31
  .PP
42
32
  Postmodern
43
33
  .MT postmodern\.mod3\[at]gmail\.com
44
34
  .ME
45
- .LP
46
35
  .SH SEE ALSO
47
- .LP
48
36
  .PP
49
- ronin\-bitflip(1) ronin\-typo(1)
37
+ .BR ronin\-bitflip (1)
38
+ .BR ronin\-typo (1)
@@ -1,5 +1,9 @@
1
1
  # ronin-homoglyph 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-homoglyph - Generates homoglyph equivalent words
6
+
3
7
  ## SYNOPSIS
4
8
 
5
9
  `ronin homoglyph` [*options*] [*WORD* ...]
@@ -11,21 +15,21 @@ Generates homoglyph equivalent words.
11
15
  ## ARGUMENTS
12
16
 
13
17
  *WORD*
14
- The optional word to homoglyph.
18
+ : The optional word to homoglyph.
15
19
 
16
20
  ## OPTIONS
17
21
 
18
22
  `-f`, `--file` *FILE*
19
- Optional file to process.
23
+ : Optional file to process.
20
24
 
21
25
  `-C`, `--char-set` `ascii`\|`greek`\|`cyrillic`\|`punctuation`\|`latin_numbers`\|`full_width`
22
- Selects the homoglyph character set.
26
+ : Selects the homoglyph character set.
23
27
 
24
28
  `-E`, `--enum`
25
- Enumerates over every possible typo of a word.
29
+ : Enumerates over every possible typo of a word.
26
30
 
27
31
  `-h`, `--help`
28
- Print help information.
32
+ : Print help information.
29
33
 
30
34
  ## AUTHOR
31
35
 
@@ -33,4 +37,4 @@ Postmodern <postmodern.mod3@gmail.com>
33
37
 
34
38
  ## SEE ALSO
35
39
 
36
- ronin-bitflip(1) ronin-typo(1)
40
+ [ronin-bitflip](ronin-bitflip.1.md) [ronin-typo](ronin-typo.1.md)