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