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.
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 +67 -1
  6. data/Gemfile +66 -29
  7. data/README.md +166 -21
  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 +11 -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
data/man/ronin-grep.1 CHANGED
@@ -1,315 +1,237 @@
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-grep 1 "2023-02-01" Ronin "User Manuals"
4
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-grep \- Searches files\[sl]input for common patterns
5
7
  .SH SYNOPSIS
6
- .LP
7
- .HP
8
+ .PP
8
9
  \fBronin grep\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIFILE\fP \.\.\.\[rB]
9
- .LP
10
10
  .SH DESCRIPTION
11
- .LP
12
11
  .PP
13
12
  Greps for common patterns in the given file(s) or input stream\.
14
- .LP
15
13
  .SH ARGUMENTS
16
- .LP
17
14
  .TP
18
15
  \fIFILE\fP
19
16
  The optional file to grep\. If no \fIFILE\fP arguments are given, then
20
17
  \fBronin grep\fR will read from standard input\.
21
- .LP
22
18
  .SH OPTIONS
23
- .LP
24
19
  .TP
25
- \fB-N\fR, \fB--number\fR
20
+ \fB\-N\fR, \fB\-\-number\fR
26
21
  Searches for all numbers\.
27
- .LP
28
22
  .TP
29
- \fB-X\fR, \fB--hex-number\fR
23
+ \fB\-X\fR, \fB\-\-hex\-number\fR
30
24
  Searches for all hexadecimal numbers\.
31
- .LP
32
25
  .TP
33
- \fB-V\fR, \fB--version-number\fR
26
+ \fB\-V\fR, \fB\-\-version\-number\fR
34
27
  Searches for all version numbers\.
35
- .LP
36
28
  .TP
37
- \fB-w\fR, \fB--word\fR
29
+ \fB\-w\fR, \fB\-\-word\fR
38
30
  Searches for all words\.
39
- .LP
40
31
  .TP
41
- \fB--mac-addr\fR
32
+ \fB\-\-mac\-addr\fR
42
33
  Searches for all MAC addresses\.
43
- .LP
44
34
  .TP
45
- \fB-4\fR, \fB--ipv4-addr\fR
35
+ \fB\-4\fR, \fB\-\-ipv4\-addr\fR
46
36
  Searches for all IPv4 addresses\.
47
- .LP
48
37
  .TP
49
- \fB-6\fR, \fB--ipv6-addr\fR
38
+ \fB\-6\fR, \fB\-\-ipv6\-addr\fR
50
39
  Searches for all IPv6 addresses\.
51
- .LP
52
40
  .TP
53
- \fB-I\fR, \fB--ip\fR
41
+ \fB\-I\fR, \fB\-\-ip\fR
54
42
  Searches for all IP addresses\.
55
- .LP
56
43
  .TP
57
- \fB-H\fR, \fB--host\fR
44
+ \fB\-H\fR, \fB\-\-host\fR
58
45
  Searches for all host names\.
59
- .LP
60
46
  .TP
61
- \fB-D\fR, \fB--domain\fR
47
+ \fB\-D\fR, \fB\-\-domain\fR
62
48
  Searches for all domain names\.
63
- .LP
64
49
  .TP
65
- \fB--uri\fR
50
+ \fB\-\-uri\fR
66
51
  Searches for all URIs\.
67
- .LP
68
52
  .TP
69
- \fB-U\fR, \fB--url\fR
53
+ \fB\-U\fR, \fB\-\-url\fR
70
54
  Searches for all URLs\.
71
- .LP
72
55
  .TP
73
- \fB--user-name\fR
56
+ \fB\-\-user\-name\fR
74
57
  Searches for all user names\.
75
- .LP
76
58
  .TP
77
- \fB-E\fR, \fB--email-addr\fR
59
+ \fB\-E\fR, \fB\-\-email\-addr\fR
78
60
  Searches for all email addresses\.
79
- .LP
80
61
  .TP
81
- \fB--obfuscated-email-addr\fR
62
+ \fB\-\-obfuscated\-email\-addr\fR
82
63
  Searches for all obfuscated email addresses\.
83
- .LP
84
64
  .TP
85
- \fB--phone-number\fR
65
+ \fB\-\-phone\-number\fR
86
66
  Searches for all phone numbers\.
87
- .LP
88
67
  .TP
89
- \fB--ssn\fR
68
+ \fB\-\-ssn\fR
90
69
  Searches for all Social Security Numbers (SSNs)\.
91
- .LP
92
70
  .TP
93
- \fB--amex-cc\fR
71
+ \fB\-\-amex\-cc\fR
94
72
  Searches for all AMEX Credit Card numbers\.
95
- .LP
96
73
  .TP
97
- \fB--discover-cc\fR
74
+ \fB\-\-discover\-cc\fR
98
75
  Searches for all Discover Card numbers\.
99
- .LP
100
76
  .TP
101
- \fB--mastercard-cc\fR
77
+ \fB\-\-mastercard\-cc\fR
102
78
  Searches for all MasterCard numbers\.
103
- .LP
104
79
  .TP
105
- \fB--visa-cc\fR
80
+ \fB\-\-visa\-cc\fR
106
81
  Searches for all VISA Credit Card numbers\.
107
- .LP
108
82
  .TP
109
- \fB--visa-mastercard-cc\fR
83
+ \fB\-\-visa\-mastercard\-cc\fR
110
84
  Searches for all VISA MasterCard numbers\.
111
- .LP
112
85
  .TP
113
- \fB--cc\fR
86
+ \fB\-\-cc\fR
114
87
  Searches for all Credit Card numbers\.
115
- .LP
116
88
  .TP
117
- \fB--file-name\fR
89
+ \fB\-\-file\-name\fR
118
90
  Searches for all file names\.
119
- .LP
120
91
  .TP
121
- \fB--dir-name\fR
92
+ \fB\-\-dir\-name\fR
122
93
  Searches for all directory names\.
123
- .LP
124
94
  .TP
125
- \fB--relative-unix-path\fR
95
+ \fB\-\-relative\-unix\-path\fR
126
96
  Searches for all relative UNIX paths\.
127
- .LP
128
97
  .TP
129
- \fB--absolute-unix-path\fR
98
+ \fB\-\-absolute\-unix\-path\fR
130
99
  Searches for all absolute UNIX paths\.
131
- .LP
132
100
  .TP
133
- \fB--unix-path\fR
101
+ \fB\-\-unix\-path\fR
134
102
  Searches for all UNIX paths\.
135
- .LP
136
103
  .TP
137
- \fB--relative-windows-path\fR
104
+ \fB\-\-relative\-windows\-path\fR
138
105
  Searches for all relative Windows paths\.
139
- .LP
140
106
  .TP
141
- \fB--absolute-windows-path\fR
107
+ \fB\-\-absolute\-windows\-path\fR
142
108
  Searches for all absolute Windows paths\.
143
- .LP
144
109
  .TP
145
- \fB--windows-path\fR
110
+ \fB\-\-windows\-path\fR
146
111
  Searches for all Windows paths\.
147
- .LP
148
112
  .TP
149
- \fB--relative-path\fR
113
+ \fB\-\-relative\-path\fR
150
114
  Searches for all relative paths\.
151
- .LP
152
115
  .TP
153
- \fB--absolute-path\fR
116
+ \fB\-\-absolute\-path\fR
154
117
  Searches for all absolute paths\.
155
- .LP
156
118
  .TP
157
- \fB-P\fR, \fB--path\fR
119
+ \fB\-P\fR, \fB\-\-path\fR
158
120
  Searches for all paths\.
159
- .LP
160
121
  .TP
161
- \fB--identifier\fR
122
+ \fB\-\-identifier\fR
162
123
  Searches for all identifier names\.
163
- .LP
164
124
  .TP
165
- \fB--variable-name\fR
125
+ \fB\-\-variable\-name\fR
166
126
  Searches for all variable names\.
167
- .LP
168
127
  .TP
169
- \fB--variable-assignment\fR
128
+ \fB\-\-variable\-assignment\fR
170
129
  Searches for all variable assignments\.
171
- .LP
172
130
  .TP
173
- \fB--function-name\fR
131
+ \fB\-\-function\-name\fR
174
132
  Searches for all function names\.
175
- .LP
176
133
  .TP
177
- \fB--md5\fR
134
+ \fB\-\-md5\fR
178
135
  Searches for all MD5 hashes\.
179
- .LP
180
136
  .TP
181
- \fB--sha1\fR
137
+ \fB\-\-sha1\fR
182
138
  Searches for all SHA1 hashes\.
183
- .LP
184
139
  .TP
185
- \fB--sha256\fR
140
+ \fB\-\-sha256\fR
186
141
  Searches for all SHA256 hashes\.
187
- .LP
188
142
  .TP
189
- \fB--sha512\fR
143
+ \fB\-\-sha512\fR
190
144
  Searches for all SHA512 hashes\.
191
- .LP
192
145
  .TP
193
- \fB--hash\fR
146
+ \fB\-\-hash\fR
194
147
  Searches for all hashes\.
195
- .LP
196
148
  .TP
197
- \fB--ssh-private-key\fR
149
+ \fB\-\-ssh\-private\-key\fR
198
150
  Searches for all SSH private key data\.
199
- .LP
200
151
  .TP
201
- \fB--dsa-private-key\fR
152
+ \fB\-\-dsa\-private\-key\fR
202
153
  Searches for all DSA private key data\.
203
- .LP
204
154
  .TP
205
- \fB--ec-private-key\fR
155
+ \fB\-\-ec\-private\-key\fR
206
156
  Searches for all EC private key data\.
207
- .LP
208
157
  .TP
209
- \fB--rsa-private-key\fR
158
+ \fB\-\-rsa\-private\-key\fR
210
159
  Searches for all RSA private key data\.
211
- .LP
212
160
  .TP
213
- \fB-K\fR, \fB--private-key\fR
161
+ \fB\-K\fR, \fB\-\-private\-key\fR
214
162
  Searches for all private key data\.
215
- .LP
216
163
  .TP
217
- \fB--ssh-public-key\fR
164
+ \fB\-\-ssh\-public\-key\fR
218
165
  Searches for all SSH public key data\.
219
- .LP
220
166
  .TP
221
- \fB--public-key\fR
167
+ \fB\-\-public\-key\fR
222
168
  Searches for all public key data\.
223
- .LP
224
169
  .TP
225
- \fB--aws-access-key-id\fR
170
+ \fB\-\-aws\-access\-key\-id\fR
226
171
  Searches for all AWS access key IDs\.
227
- .LP
228
172
  .TP
229
- \fB--aws-secret-access-key\fR
173
+ \fB\-\-aws\-secret\-access\-key\fR
230
174
  Searches for all AWS secret access keys\.
231
- .LP
232
175
  .TP
233
- \fB-A\fR, \fB--api-key\fR
176
+ \fB\-A\fR, \fB\-\-api\-key\fR
234
177
  Searches for all API keys (MD5, SHA1, SHA256, SHA512, AWS access key ID, or
235
178
  AWS secret access key)\.
236
- .LP
237
179
  .TP
238
- \fB--single-quoted-string\fR
180
+ \fB\-\-single\-quoted\-string\fR
239
181
  Searches for all single\-quoted strings\.
240
- .LP
241
182
  .TP
242
- \fB--double-quoted-string\fR
183
+ \fB\-\-double\-quoted\-string\fR
243
184
  Searches for all double\-quoted strings\.
244
- .LP
245
185
  .TP
246
- \fB-S\fR, \fB--string\fR
186
+ \fB\-S\fR, \fB\-\-string\fR
247
187
  Searches for all quoted strings\.
248
- .LP
249
188
  .TP
250
- \fB-B\fR, \fB--base64\fR
189
+ \fB\-B\fR, \fB\-\-base64\fR
251
190
  Searches for all Base64 strings\.
252
- .LP
253
191
  .TP
254
- \fB--c-comment\fR
192
+ \fB\-\-c\-comment\fR
255
193
  Searches for all C comments\.
256
- .LP
257
194
  .TP
258
- \fB--cpp-comment\fR
195
+ \fB\-\-cpp\-comment\fR
259
196
  Searches for all C\[pl]\[pl] comments\.
260
- .LP
261
197
  .TP
262
- \fB--java-comment\fR
198
+ \fB\-\-java\-comment\fR
263
199
  Searches for all Java comments\.
264
- .LP
265
200
  .TP
266
- \fB--javascript-comment\fR
201
+ \fB\-\-javascript\-comment\fR
267
202
  Searches for all JavaScript comments\.
268
- .LP
269
203
  .TP
270
- \fB--shell-comment\fR
204
+ \fB\-\-shell\-comment\fR
271
205
  Searches for all Shell comments\.
272
- .LP
273
206
  .TP
274
- \fB--ruby-comment\fR
207
+ \fB\-\-ruby\-comment\fR
275
208
  Searches for all Ruby comments\.
276
- .LP
277
209
  .TP
278
- \fB--python-comment\fR
210
+ \fB\-\-python\-comment\fR
279
211
  Searches for all Python comments\.
280
- .LP
281
212
  .TP
282
- \fB--comment\fR
213
+ \fB\-\-comment\fR
283
214
  Searches for all comments\.
284
- .LP
285
- .HP
286
- \fB-e\fR, \fB--regexp\fR \[sl]\fIREGEXP\fP\[sl]
215
+ .TP
216
+ \fB\-e\fR, \fB\-\-regexp\fR \[sl]\fIREGEXP\fP\[sl]
287
217
  Custom regular expression to search for\.
288
- .LP
289
218
  .TP
290
- \fB-o\fR, \fB--only-matching\fR
219
+ \fB\-o\fR, \fB\-\-only\-matching\fR
291
220
  Only print the matching data\.
292
- .LP
293
221
  .TP
294
- \fB-n\fR, \fB--line-number\fR
222
+ \fB\-n\fR, \fB\-\-line\-number\fR
295
223
  Print the line number for each line\.
296
- .LP
297
224
  .TP
298
- \fB--with-filename\fR
225
+ \fB\-\-with\-filename\fR
299
226
  Print the file name for each match\.
300
- .LP
301
227
  .TP
302
- \fB-h\fR, \fB--help\fR
228
+ \fB\-h\fR, \fB\-\-help\fR
303
229
  Print help information\.
304
- .LP
305
230
  .SH AUTHOR
306
- .LP
307
231
  .PP
308
232
  Postmodern
309
233
  .MT postmodern\.mod3\[at]gmail\.com
310
234
  .ME
311
- .LP
312
235
  .SH SEE ALSO
313
- .LP
314
236
  .PP
315
- ronin\-extract(1)
237
+ .BR ronin\-extract (1)
data/man/ronin-grep.1.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # ronin-grep 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-grep - Searches files/input for common patterns
6
+
3
7
  ## SYNOPSIS
4
8
 
5
9
  `ronin grep` [*options*] [*FILE* ...]
@@ -11,221 +15,221 @@ Greps for common patterns in the given file(s) or input stream.
11
15
  ## ARGUMENTS
12
16
 
13
17
  *FILE*
14
- The optional file to grep. If no *FILE* arguments are given, then
18
+ : The optional file to grep. If no *FILE* arguments are given, then
15
19
  `ronin grep` will read from standard input.
16
20
 
17
21
  ## OPTIONS
18
22
 
19
23
  `-N`, `--number`
20
- Searches for all numbers.
24
+ : Searches for all numbers.
21
25
 
22
26
  `-X`, `--hex-number`
23
- Searches for all hexadecimal numbers.
27
+ : Searches for all hexadecimal numbers.
24
28
 
25
29
  `-V`, `--version-number`
26
- Searches for all version numbers.
30
+ : Searches for all version numbers.
27
31
 
28
32
  `-w`, `--word`
29
- Searches for all words.
33
+ : Searches for all words.
30
34
 
31
35
  `--mac-addr`
32
- Searches for all MAC addresses.
36
+ : Searches for all MAC addresses.
33
37
 
34
38
  `-4`, `--ipv4-addr`
35
- Searches for all IPv4 addresses.
39
+ : Searches for all IPv4 addresses.
36
40
 
37
41
  `-6`, `--ipv6-addr`
38
- Searches for all IPv6 addresses.
42
+ : Searches for all IPv6 addresses.
39
43
 
40
44
  `-I`, `--ip`
41
- Searches for all IP addresses.
45
+ : Searches for all IP addresses.
42
46
 
43
47
  `-H`, `--host`
44
- Searches for all host names.
48
+ : Searches for all host names.
45
49
 
46
50
  `-D`, `--domain`
47
- Searches for all domain names.
51
+ : Searches for all domain names.
48
52
 
49
53
  `--uri`
50
- Searches for all URIs.
54
+ : Searches for all URIs.
51
55
 
52
56
  `-U`, `--url`
53
- Searches for all URLs.
57
+ : Searches for all URLs.
54
58
 
55
59
  `--user-name`
56
- Searches for all user names.
60
+ : Searches for all user names.
57
61
 
58
62
  `-E`, `--email-addr`
59
- Searches for all email addresses.
63
+ : Searches for all email addresses.
60
64
 
61
65
  `--obfuscated-email-addr`
62
- Searches for all obfuscated email addresses.
66
+ : Searches for all obfuscated email addresses.
63
67
 
64
68
  `--phone-number`
65
- Searches for all phone numbers.
69
+ : Searches for all phone numbers.
66
70
 
67
71
  `--ssn`
68
- Searches for all Social Security Numbers (SSNs).
72
+ : Searches for all Social Security Numbers (SSNs).
69
73
 
70
74
  `--amex-cc`
71
- Searches for all AMEX Credit Card numbers.
75
+ : Searches for all AMEX Credit Card numbers.
72
76
 
73
77
  `--discover-cc`
74
- Searches for all Discover Card numbers.
78
+ : Searches for all Discover Card numbers.
75
79
 
76
80
  `--mastercard-cc`
77
- Searches for all MasterCard numbers.
81
+ : Searches for all MasterCard numbers.
78
82
 
79
83
  `--visa-cc`
80
- Searches for all VISA Credit Card numbers.
84
+ : Searches for all VISA Credit Card numbers.
81
85
 
82
86
  `--visa-mastercard-cc`
83
- Searches for all VISA MasterCard numbers.
87
+ : Searches for all VISA MasterCard numbers.
84
88
 
85
89
  `--cc`
86
- Searches for all Credit Card numbers.
90
+ : Searches for all Credit Card numbers.
87
91
 
88
92
  `--file-name`
89
- Searches for all file names.
93
+ : Searches for all file names.
90
94
 
91
95
  `--dir-name`
92
- Searches for all directory names.
96
+ : Searches for all directory names.
93
97
 
94
98
  `--relative-unix-path`
95
- Searches for all relative UNIX paths.
99
+ : Searches for all relative UNIX paths.
96
100
 
97
101
  `--absolute-unix-path`
98
- Searches for all absolute UNIX paths.
102
+ : Searches for all absolute UNIX paths.
99
103
 
100
104
  `--unix-path`
101
- Searches for all UNIX paths.
105
+ : Searches for all UNIX paths.
102
106
 
103
107
  `--relative-windows-path`
104
- Searches for all relative Windows paths.
108
+ : Searches for all relative Windows paths.
105
109
 
106
110
  `--absolute-windows-path`
107
- Searches for all absolute Windows paths.
111
+ : Searches for all absolute Windows paths.
108
112
 
109
113
  `--windows-path`
110
- Searches for all Windows paths.
114
+ : Searches for all Windows paths.
111
115
 
112
116
  `--relative-path`
113
- Searches for all relative paths.
117
+ : Searches for all relative paths.
114
118
 
115
119
  `--absolute-path`
116
- Searches for all absolute paths.
120
+ : Searches for all absolute paths.
117
121
 
118
122
  `-P`, `--path`
119
- Searches for all paths.
123
+ : Searches for all paths.
120
124
 
121
125
  `--identifier`
122
- Searches for all identifier names.
126
+ : Searches for all identifier names.
123
127
 
124
128
  `--variable-name`
125
- Searches for all variable names.
129
+ : Searches for all variable names.
126
130
 
127
131
  `--variable-assignment`
128
- Searches for all variable assignments.
132
+ : Searches for all variable assignments.
129
133
 
130
134
  `--function-name`
131
- Searches for all function names.
135
+ : Searches for all function names.
132
136
 
133
137
  `--md5`
134
- Searches for all MD5 hashes.
138
+ : Searches for all MD5 hashes.
135
139
 
136
140
  `--sha1`
137
- Searches for all SHA1 hashes.
141
+ : Searches for all SHA1 hashes.
138
142
 
139
143
  `--sha256`
140
- Searches for all SHA256 hashes.
144
+ : Searches for all SHA256 hashes.
141
145
 
142
146
  `--sha512`
143
- Searches for all SHA512 hashes.
147
+ : Searches for all SHA512 hashes.
144
148
 
145
149
  `--hash`
146
- Searches for all hashes.
150
+ : Searches for all hashes.
147
151
 
148
152
  `--ssh-private-key`
149
- Searches for all SSH private key data.
153
+ : Searches for all SSH private key data.
150
154
 
151
155
  `--dsa-private-key`
152
- Searches for all DSA private key data.
156
+ : Searches for all DSA private key data.
153
157
 
154
158
  `--ec-private-key`
155
- Searches for all EC private key data.
159
+ : Searches for all EC private key data.
156
160
 
157
161
  `--rsa-private-key`
158
- Searches for all RSA private key data.
162
+ : Searches for all RSA private key data.
159
163
 
160
164
  `-K`, `--private-key`
161
- Searches for all private key data.
165
+ : Searches for all private key data.
162
166
 
163
167
  `--ssh-public-key`
164
- Searches for all SSH public key data.
168
+ : Searches for all SSH public key data.
165
169
 
166
170
  `--public-key`
167
- Searches for all public key data.
171
+ : Searches for all public key data.
168
172
 
169
173
  `--aws-access-key-id`
170
- Searches for all AWS access key IDs.
174
+ : Searches for all AWS access key IDs.
171
175
 
172
176
  `--aws-secret-access-key`
173
- Searches for all AWS secret access keys.
177
+ : Searches for all AWS secret access keys.
174
178
 
175
179
  `-A`, `--api-key`
176
- Searches for all API keys (MD5, SHA1, SHA256, SHA512, AWS access key ID, or
180
+ : Searches for all API keys (MD5, SHA1, SHA256, SHA512, AWS access key ID, or
177
181
  AWS secret access key).
178
182
 
179
183
  `--single-quoted-string`
180
- Searches for all single-quoted strings.
184
+ : Searches for all single-quoted strings.
181
185
 
182
186
  `--double-quoted-string`
183
- Searches for all double-quoted strings.
187
+ : Searches for all double-quoted strings.
184
188
 
185
189
  `-S`, `--string`
186
- Searches for all quoted strings.
190
+ : Searches for all quoted strings.
187
191
 
188
192
  `-B`, `--base64`
189
- Searches for all Base64 strings.
193
+ : Searches for all Base64 strings.
190
194
 
191
195
  `--c-comment`
192
- Searches for all C comments.
196
+ : Searches for all C comments.
193
197
 
194
198
  `--cpp-comment`
195
- Searches for all C++ comments.
199
+ : Searches for all C++ comments.
196
200
 
197
201
  `--java-comment`
198
- Searches for all Java comments.
202
+ : Searches for all Java comments.
199
203
 
200
204
  `--javascript-comment`
201
- Searches for all JavaScript comments.
205
+ : Searches for all JavaScript comments.
202
206
 
203
207
  `--shell-comment`
204
- Searches for all Shell comments.
208
+ : Searches for all Shell comments.
205
209
 
206
210
  `--ruby-comment`
207
- Searches for all Ruby comments.
211
+ : Searches for all Ruby comments.
208
212
 
209
213
  `--python-comment`
210
- Searches for all Python comments.
214
+ : Searches for all Python comments.
211
215
 
212
216
  `--comment`
213
- Searches for all comments.
217
+ : Searches for all comments.
214
218
 
215
219
  `-e`, `--regexp` /*REGEXP*/
216
- Custom regular expression to search for.
220
+ : Custom regular expression to search for.
217
221
 
218
222
  `-o`, `--only-matching`
219
- Only print the matching data.
223
+ : Only print the matching data.
220
224
 
221
225
  `-n`, `--line-number`
222
- Print the line number for each line.
226
+ : Print the line number for each line.
223
227
 
224
228
  `--with-filename`
225
- Print the file name for each match.
229
+ : Print the file name for each match.
226
230
 
227
231
  `-h`, `--help`
228
- Print help information.
232
+ : Print help information.
229
233
 
230
234
  ## AUTHOR
231
235
 
@@ -233,4 +237,4 @@ Postmodern <postmodern.mod3@gmail.com>
233
237
 
234
238
  ## SEE ALSO
235
239
 
236
- ronin-extract(1)
240
+ [ronin-extract](ronin-extract.1.md)