ronin 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -0
- data/ChangeLog.md +15 -1
- data/README.md +1 -1
- data/data/completions/ronin +204 -164
- data/gemspec.yml +1 -1
- data/lib/ronin/cli/binary_template.rb +1 -1
- data/lib/ronin/cli/char_set_options.rb +1 -1
- data/lib/ronin/cli/cipher_command.rb +4 -4
- data/lib/ronin/cli/command.rb +1 -1
- data/lib/ronin/cli/commands/archive.rb +2 -2
- data/lib/ronin/cli/commands/asn.rb +2 -2
- data/lib/ronin/cli/commands/banner_grab.rb +3 -3
- data/lib/ronin/cli/commands/bitflip.rb +3 -3
- data/lib/ronin/cli/commands/bitsquat.rb +2 -2
- data/lib/ronin/cli/commands/cert_dump.rb +3 -3
- data/lib/ronin/cli/commands/cert_gen.rb +2 -2
- data/lib/ronin/cli/commands/cert_grab.rb +3 -3
- data/lib/ronin/cli/commands/completion.rb +1 -1
- data/lib/ronin/cli/commands/decode.rb +16 -13
- data/lib/ronin/cli/commands/decrypt.rb +2 -2
- data/lib/ronin/cli/commands/dns.rb +3 -3
- data/lib/ronin/cli/commands/dns_proxy.rb +2 -2
- data/lib/ronin/cli/commands/email_addr.rb +2 -2
- data/lib/ronin/cli/commands/encode.rb +15 -12
- data/lib/ronin/cli/commands/encrypt.rb +2 -2
- data/lib/ronin/cli/commands/entropy.rb +2 -2
- data/lib/ronin/cli/commands/escape.rb +10 -10
- data/lib/ronin/cli/commands/extract.rb +3 -3
- data/lib/ronin/cli/commands/grep.rb +3 -3
- data/lib/ronin/cli/commands/hexdump.rb +2 -2
- data/lib/ronin/cli/commands/highlight.rb +3 -3
- data/lib/ronin/cli/commands/hmac.rb +3 -3
- data/lib/ronin/cli/commands/homoglyph.rb +2 -2
- data/lib/ronin/cli/commands/host.rb +3 -3
- data/lib/ronin/cli/commands/http.rb +9 -7
- data/lib/ronin/cli/commands/ip.rb +2 -2
- data/lib/ronin/cli/commands/iprange.rb +2 -2
- data/lib/ronin/cli/commands/irb.rb +3 -3
- data/lib/ronin/cli/commands/md5.rb +2 -2
- data/lib/ronin/cli/commands/netcat.rb +2 -2
- data/lib/ronin/cli/commands/new/dns_listener.rb +3 -2
- data/lib/ronin/cli/commands/new/dns_proxy.rb +3 -2
- data/lib/ronin/cli/commands/new/exploit.rb +3 -2
- data/lib/ronin/cli/commands/new/http_listener.rb +3 -2
- data/lib/ronin/cli/commands/new/nokogiri.rb +3 -2
- data/lib/ronin/cli/commands/new/payload.rb +3 -2
- data/lib/ronin/cli/commands/new/project.rb +3 -2
- data/lib/ronin/cli/commands/new/script.rb +3 -2
- data/lib/ronin/cli/commands/new/web_app.rb +3 -2
- data/lib/ronin/cli/commands/new/web_server.rb +3 -2
- data/lib/ronin/cli/commands/new/web_spider.rb +3 -2
- data/lib/ronin/cli/commands/new.rb +2 -2
- data/lib/ronin/cli/commands/pack.rb +3 -3
- data/lib/ronin/cli/commands/proxy.rb +3 -3
- data/lib/ronin/cli/commands/public_suffix_list.rb +2 -2
- data/lib/ronin/cli/commands/quote.rb +10 -10
- data/lib/ronin/cli/commands/rot.rb +2 -2
- data/lib/ronin/cli/commands/sha1.rb +2 -2
- data/lib/ronin/cli/commands/sha256.rb +2 -2
- data/lib/ronin/cli/commands/sha512.rb +2 -2
- data/lib/ronin/cli/commands/strings.rb +3 -3
- data/lib/ronin/cli/commands/tips.rb +2 -2
- data/lib/ronin/cli/commands/tld_list.rb +2 -2
- data/lib/ronin/cli/commands/typo.rb +3 -3
- data/lib/ronin/cli/commands/typosquat.rb +3 -3
- data/lib/ronin/cli/commands/unarchive.rb +2 -2
- data/lib/ronin/cli/commands/unescape.rb +10 -10
- data/lib/ronin/cli/commands/unhexdump.rb +2 -2
- data/lib/ronin/cli/commands/unpack.rb +3 -3
- data/lib/ronin/cli/commands/unquote.rb +10 -10
- data/lib/ronin/cli/commands/url.rb +7 -3
- data/lib/ronin/cli/commands/xor.rb +3 -3
- data/lib/ronin/cli/dns.rb +1 -1
- data/lib/ronin/cli/file_processor_command.rb +3 -3
- data/lib/ronin/cli/host_and_port.rb +1 -1
- data/lib/ronin/cli/http_shell.rb +2 -2
- data/lib/ronin/cli/key_options.rb +1 -1
- data/lib/ronin/cli/method_options.rb +1 -1
- data/lib/ronin/cli/pattern_options.rb +1 -1
- data/lib/ronin/cli/printing/http.rb +2 -2
- data/lib/ronin/cli/printing/syntax_highlighting.rb +1 -1
- data/lib/ronin/cli/ruby_shell.rb +1 -1
- data/lib/ronin/cli/string_methods_command.rb +3 -3
- data/lib/ronin/cli/string_processor_command.rb +2 -2
- data/lib/ronin/cli/typo_options.rb +1 -1
- data/lib/ronin/cli/value_processor_command.rb +2 -2
- data/lib/ronin/cli.rb +10 -8
- data/lib/ronin/root.rb +1 -1
- data/lib/ronin/version.rb +2 -2
- data/lib/ronin.rb +2 -2
- data/man/ronin-decode.1 +3 -3
- data/man/ronin-decode.1.md +4 -4
- data/man/ronin-encode.1 +4 -4
- data/man/ronin-encode.1.md +4 -4
- data/man/ronin-escape.1 +4 -4
- data/man/ronin-escape.1.md +5 -5
- data/man/ronin-quote.1 +4 -4
- data/man/ronin-quote.1.md +5 -5
- data/man/ronin-unescape.1 +4 -4
- data/man/ronin-unescape.1.md +5 -5
- data/man/ronin-unquote.1 +3 -3
- data/man/ronin-unquote.1.md +4 -4
- data/ronin.gemspec +1 -0
- metadata +10 -6
- data/lib/ronin/ui.rb +0 -22
data/data/completions/ronin
CHANGED
|
@@ -40,10 +40,18 @@ _ronin_completions() {
|
|
|
40
40
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
|
41
41
|
;;
|
|
42
42
|
|
|
43
|
+
'cert-gen'*'--generate-key')
|
|
44
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -- "$cur")
|
|
45
|
+
;;
|
|
46
|
+
|
|
43
47
|
'host'*'--enum-subdomains')
|
|
44
48
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
45
49
|
;;
|
|
46
50
|
|
|
51
|
+
'netcat'*'--ssl-ca-bundle')
|
|
52
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -- "$cur")
|
|
53
|
+
;;
|
|
54
|
+
|
|
47
55
|
'public-suffix-list'*'-p')
|
|
48
56
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
49
57
|
;;
|
|
@@ -56,7 +64,7 @@ _ronin_completions() {
|
|
|
56
64
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
57
65
|
;;
|
|
58
66
|
|
|
59
|
-
'
|
|
67
|
+
'encrypt'*'--key-file')
|
|
60
68
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
61
69
|
;;
|
|
62
70
|
|
|
@@ -68,11 +76,11 @@ _ronin_completions() {
|
|
|
68
76
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
69
77
|
;;
|
|
70
78
|
|
|
71
|
-
'
|
|
79
|
+
'cert-gen'*'--ca-cert')
|
|
72
80
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
73
81
|
;;
|
|
74
82
|
|
|
75
|
-
'
|
|
83
|
+
'banner-grab'*'--file')
|
|
76
84
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
77
85
|
;;
|
|
78
86
|
|
|
@@ -80,27 +88,27 @@ _ronin_completions() {
|
|
|
80
88
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--verbose -v --update -u --url -U --path -p")" -- "$cur")
|
|
81
89
|
;;
|
|
82
90
|
|
|
83
|
-
'
|
|
91
|
+
'netcat'*'--ssl-cert')
|
|
84
92
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
85
93
|
;;
|
|
86
94
|
|
|
87
|
-
'
|
|
95
|
+
'email-addr'*'--file')
|
|
88
96
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
89
97
|
;;
|
|
90
98
|
|
|
91
|
-
'
|
|
92
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
99
|
+
'new http-listener'*)
|
|
100
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -W "$(_ronin_completions_filter "--host -H --port -p --vhost --root -R")" -- "$cur")
|
|
93
101
|
;;
|
|
94
102
|
|
|
95
|
-
'
|
|
103
|
+
'cert-gen'*'--output')
|
|
96
104
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
97
105
|
;;
|
|
98
106
|
|
|
99
|
-
'
|
|
100
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -
|
|
107
|
+
'cert-gen'*'--ca-key')
|
|
108
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
101
109
|
;;
|
|
102
110
|
|
|
103
|
-
'
|
|
111
|
+
'netcat'*'--ssl-key')
|
|
104
112
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
105
113
|
;;
|
|
106
114
|
|
|
@@ -108,55 +116,59 @@ _ronin_completions() {
|
|
|
108
116
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
109
117
|
;;
|
|
110
118
|
|
|
111
|
-
'
|
|
119
|
+
'typosquat'*'--file')
|
|
112
120
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
113
121
|
;;
|
|
114
122
|
|
|
115
|
-
'
|
|
116
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
123
|
+
'new dns-listener'*)
|
|
124
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -W "$(_ronin_completions_filter "--host -H --port -p --domain -d")" -- "$cur")
|
|
117
125
|
;;
|
|
118
126
|
|
|
119
|
-
'
|
|
120
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -
|
|
127
|
+
'archive'*'--output')
|
|
128
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -- "$cur")
|
|
121
129
|
;;
|
|
122
130
|
|
|
123
|
-
'
|
|
131
|
+
'http'*'--body-file')
|
|
124
132
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
125
133
|
;;
|
|
126
134
|
|
|
127
|
-
'
|
|
135
|
+
'cert-dump'*'--file')
|
|
128
136
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
129
137
|
;;
|
|
130
138
|
|
|
131
|
-
'
|
|
139
|
+
'homoglyph'*'--file')
|
|
132
140
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
133
141
|
;;
|
|
134
142
|
|
|
143
|
+
'netcat'*'--source')
|
|
144
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A hostname -- "$cur")
|
|
145
|
+
;;
|
|
146
|
+
|
|
135
147
|
'tld-list'*'--path')
|
|
136
148
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
137
149
|
;;
|
|
138
150
|
|
|
139
|
-
'
|
|
151
|
+
'unescape'*'--file')
|
|
140
152
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
141
153
|
;;
|
|
142
154
|
|
|
143
|
-
'
|
|
155
|
+
'hmac'*'--key-file')
|
|
144
156
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
145
157
|
;;
|
|
146
158
|
|
|
147
|
-
'
|
|
148
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A
|
|
159
|
+
'bitsquat'*'--file')
|
|
160
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
149
161
|
;;
|
|
150
162
|
|
|
151
|
-
'
|
|
152
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file
|
|
163
|
+
'iprange'*'--file')
|
|
164
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
153
165
|
;;
|
|
154
166
|
|
|
155
|
-
'
|
|
156
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file
|
|
167
|
+
'unquote'*'--file')
|
|
168
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
157
169
|
;;
|
|
158
170
|
|
|
159
|
-
'
|
|
171
|
+
'xor'*'--key-file')
|
|
160
172
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
161
173
|
;;
|
|
162
174
|
|
|
@@ -164,39 +176,47 @@ _ronin_completions() {
|
|
|
164
176
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
165
177
|
;;
|
|
166
178
|
|
|
167
|
-
'
|
|
179
|
+
'bitflip'*'--file')
|
|
168
180
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
169
181
|
;;
|
|
170
182
|
|
|
171
|
-
'
|
|
172
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
183
|
+
'new web-spider'*)
|
|
184
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin_completions_filter "--host --domain --site --every-link --every-url --every-failed-url --every-url-like --all-headers --every-page --every-ok-page --every-redirect-page --every-timedout-page --every-bad-request-page --every-unauthorized-page --every-forbidden-page --every-missing-page --every-internal-server-error-page --every-txt-page --every-html-page --every-xml-page --every-xsl-page --every-javascript-page --every-css-page --every-rss-page --every-atom-page --every-ms-word-page --every-pdf-page --every-zip-page --every-doc --every-html-doc --every-xml-doc --every-xsl-doc --every-rss-doc --every-atom-doc")" -- "$cur")
|
|
173
185
|
;;
|
|
174
186
|
|
|
175
|
-
'
|
|
176
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
187
|
+
'new web-server'*)
|
|
188
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin_completions_filter "--host -H --port -p")" -- "$cur")
|
|
177
189
|
;;
|
|
178
190
|
|
|
179
|
-
'
|
|
180
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
191
|
+
'netcat'*'--unix')
|
|
192
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -- "$cur")
|
|
193
|
+
;;
|
|
194
|
+
|
|
195
|
+
'irb'*'--require')
|
|
196
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -- "$cur")
|
|
197
|
+
;;
|
|
198
|
+
|
|
199
|
+
'irb'*'--include')
|
|
200
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
|
181
201
|
;;
|
|
182
202
|
|
|
183
203
|
'new dns-proxy'*)
|
|
184
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--host -H --port -p")" -- "$cur")
|
|
204
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -W "$(_ronin_completions_filter "--host -H --port -p")" -- "$cur")
|
|
185
205
|
;;
|
|
186
206
|
|
|
187
|
-
'
|
|
207
|
+
'sha256'*'--file')
|
|
188
208
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
189
209
|
;;
|
|
190
210
|
|
|
191
|
-
'
|
|
192
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
|
211
|
+
'pack'*'--output')
|
|
212
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -- "$cur")
|
|
193
213
|
;;
|
|
194
214
|
|
|
195
|
-
'
|
|
215
|
+
'unpack'*'--file')
|
|
196
216
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
197
217
|
;;
|
|
198
218
|
|
|
199
|
-
'
|
|
219
|
+
'escape'*'--file')
|
|
200
220
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
201
221
|
;;
|
|
202
222
|
|
|
@@ -208,15 +228,15 @@ _ronin_completions() {
|
|
|
208
228
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
209
229
|
;;
|
|
210
230
|
|
|
211
|
-
'
|
|
231
|
+
'email-addr'*'-f')
|
|
212
232
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
213
233
|
;;
|
|
214
234
|
|
|
215
|
-
'
|
|
235
|
+
'encode'*'--file')
|
|
216
236
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
217
237
|
;;
|
|
218
238
|
|
|
219
|
-
'
|
|
239
|
+
'homoglyph'*'-f')
|
|
220
240
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
221
241
|
;;
|
|
222
242
|
|
|
@@ -224,15 +244,15 @@ _ronin_completions() {
|
|
|
224
244
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
225
245
|
;;
|
|
226
246
|
|
|
227
|
-
'
|
|
247
|
+
'quote'*'--file')
|
|
228
248
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
229
249
|
;;
|
|
230
250
|
|
|
231
|
-
'
|
|
251
|
+
'typosquat'*'-f')
|
|
232
252
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
233
253
|
;;
|
|
234
254
|
|
|
235
|
-
'
|
|
255
|
+
'cert-grab'*'-f')
|
|
236
256
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
237
257
|
;;
|
|
238
258
|
|
|
@@ -240,19 +260,15 @@ _ronin_completions() {
|
|
|
240
260
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin_completions_filter "--url -U")" -- "$cur")
|
|
241
261
|
;;
|
|
242
262
|
|
|
243
|
-
'
|
|
244
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
245
|
-
;;
|
|
246
|
-
|
|
247
|
-
'host'*'--file')
|
|
263
|
+
'unhexdump'*'-o')
|
|
248
264
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
249
265
|
;;
|
|
250
266
|
|
|
251
|
-
'
|
|
252
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
267
|
+
'new project'*)
|
|
268
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -W "$(_ronin_completions_filter "--git --ruby-version --rakefile --dockerfile -D")" -- "$cur")
|
|
253
269
|
;;
|
|
254
270
|
|
|
255
|
-
'
|
|
271
|
+
'http'*'--file')
|
|
256
272
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
257
273
|
;;
|
|
258
274
|
|
|
@@ -260,35 +276,31 @@ _ronin_completions() {
|
|
|
260
276
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin_completions_filter "--type -t --author -a --author-email -e --summary -S --description -D --advisory-id -I --reference -R --has-payload -P --networking -N --arch -A --os -O --os-version --software -S --software-version -V --loot -L")" -- "$cur")
|
|
261
277
|
;;
|
|
262
278
|
|
|
263
|
-
'
|
|
279
|
+
'unescape'*'-f')
|
|
264
280
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
265
281
|
;;
|
|
266
282
|
|
|
267
|
-
'
|
|
268
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
283
|
+
'new payload'*)
|
|
284
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -W "$(_ronin_completions_filter "--type -t --author -a --author-email -e --summary -S --description -D --reference -R")" -- "$cur")
|
|
269
285
|
;;
|
|
270
286
|
|
|
271
|
-
'
|
|
272
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A
|
|
287
|
+
'new web-app'*)
|
|
288
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -W "$(_ronin_completions_filter "--port --ruby-version --git --dockerfile -D")" -- "$cur")
|
|
273
289
|
;;
|
|
274
290
|
|
|
275
|
-
'
|
|
291
|
+
'host'*'--file')
|
|
276
292
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
277
293
|
;;
|
|
278
294
|
|
|
279
|
-
'
|
|
280
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -
|
|
281
|
-
;;
|
|
282
|
-
|
|
283
|
-
'new project'*)
|
|
284
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--git --ruby-version --rakefile --dockerfile -D")" -- "$cur")
|
|
295
|
+
'bitsquat'*'-f')
|
|
296
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
285
297
|
;;
|
|
286
298
|
|
|
287
|
-
'
|
|
288
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A
|
|
299
|
+
'cert-gen'*'-k')
|
|
300
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
289
301
|
;;
|
|
290
302
|
|
|
291
|
-
'
|
|
303
|
+
'cert-gen'*'-o')
|
|
292
304
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
293
305
|
;;
|
|
294
306
|
|
|
@@ -296,43 +308,43 @@ _ronin_completions() {
|
|
|
296
308
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --with-host-port")" -- "$cur")
|
|
297
309
|
;;
|
|
298
310
|
|
|
299
|
-
'
|
|
311
|
+
'hmac'*'--file')
|
|
300
312
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
301
313
|
;;
|
|
302
314
|
|
|
303
|
-
'
|
|
315
|
+
'typo'*'--file')
|
|
304
316
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
305
317
|
;;
|
|
306
318
|
|
|
307
|
-
'
|
|
319
|
+
'tld-list'*'-p')
|
|
308
320
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
309
321
|
;;
|
|
310
322
|
|
|
311
|
-
'
|
|
323
|
+
'sha1'*'--file')
|
|
312
324
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
313
325
|
;;
|
|
314
326
|
|
|
315
|
-
'
|
|
327
|
+
'iprange'*'-f')
|
|
316
328
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
317
329
|
;;
|
|
318
330
|
|
|
319
|
-
'
|
|
331
|
+
'dns'*'--file')
|
|
320
332
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
321
333
|
;;
|
|
322
334
|
|
|
323
|
-
'
|
|
324
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -
|
|
335
|
+
'decrypt'*'-K')
|
|
336
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
325
337
|
;;
|
|
326
338
|
|
|
327
|
-
'
|
|
339
|
+
'md5'*'--file')
|
|
328
340
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
329
341
|
;;
|
|
330
342
|
|
|
331
|
-
'
|
|
332
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -
|
|
343
|
+
'completion'*)
|
|
344
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--print --install --uninstall")" -- "$cur")
|
|
333
345
|
;;
|
|
334
346
|
|
|
335
|
-
'
|
|
347
|
+
'xor'*'--file')
|
|
336
348
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
337
349
|
;;
|
|
338
350
|
|
|
@@ -340,8 +352,8 @@ _ronin_completions() {
|
|
|
340
352
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
341
353
|
;;
|
|
342
354
|
|
|
343
|
-
'
|
|
344
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
355
|
+
'new script'*)
|
|
356
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -- "$cur")
|
|
345
357
|
;;
|
|
346
358
|
|
|
347
359
|
'email-addr'*)
|
|
@@ -352,42 +364,46 @@ _ronin_completions() {
|
|
|
352
364
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
353
365
|
;;
|
|
354
366
|
|
|
355
|
-
'
|
|
367
|
+
'bitflip'*'-f')
|
|
356
368
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
357
369
|
;;
|
|
358
370
|
|
|
359
|
-
'
|
|
360
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -
|
|
361
|
-
;;
|
|
362
|
-
|
|
363
|
-
'netcat'*'-s')
|
|
364
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A hostname -- "$cur")
|
|
371
|
+
'asn'*'--file')
|
|
372
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
365
373
|
;;
|
|
366
374
|
|
|
367
|
-
'
|
|
375
|
+
'rot'*'--file')
|
|
368
376
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
369
377
|
;;
|
|
370
378
|
|
|
371
|
-
'
|
|
372
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -
|
|
379
|
+
'archive'*'-o')
|
|
380
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -- "$cur")
|
|
373
381
|
;;
|
|
374
382
|
|
|
375
|
-
'
|
|
383
|
+
'encrypt'*'-K')
|
|
376
384
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
377
385
|
;;
|
|
378
386
|
|
|
379
|
-
'
|
|
380
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -
|
|
387
|
+
'cert-dump'*)
|
|
388
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --common-name -C --subject-alt-names -A --extensions -E")" -- "$cur")
|
|
381
389
|
;;
|
|
382
390
|
|
|
383
|
-
'
|
|
384
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -
|
|
391
|
+
'typosquat'*)
|
|
392
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --omit-chars --repeat-chars --swap-chars --change-suffix --has-addresses --registered --unregistered")" -- "$cur")
|
|
385
393
|
;;
|
|
386
394
|
|
|
387
395
|
'cert-grab'*)
|
|
388
396
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f")" -- "$cur")
|
|
389
397
|
;;
|
|
390
398
|
|
|
399
|
+
'sha256'*'-f')
|
|
400
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
401
|
+
;;
|
|
402
|
+
|
|
403
|
+
'sha512'*'-f')
|
|
404
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
405
|
+
;;
|
|
406
|
+
|
|
391
407
|
'highlight'*)
|
|
392
408
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--syntax -s --less -L")" -- "$cur")
|
|
393
409
|
;;
|
|
@@ -396,78 +412,78 @@ _ronin_completions() {
|
|
|
396
412
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
397
413
|
;;
|
|
398
414
|
|
|
399
|
-
'
|
|
400
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -
|
|
415
|
+
'escape'*'-f')
|
|
416
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
401
417
|
;;
|
|
402
418
|
|
|
403
419
|
'homoglyph'*)
|
|
404
420
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --char-set -C --enum -E")" -- "$cur")
|
|
405
421
|
;;
|
|
406
422
|
|
|
407
|
-
'
|
|
423
|
+
'encode'*'-f')
|
|
408
424
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
409
425
|
;;
|
|
410
426
|
|
|
411
|
-
'
|
|
412
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--
|
|
427
|
+
'dns_proxy'*)
|
|
428
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--nameserver -n --rule -r")" -- "$cur")
|
|
413
429
|
;;
|
|
414
430
|
|
|
415
|
-
'
|
|
416
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -
|
|
431
|
+
'ip'*'--file')
|
|
432
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
417
433
|
;;
|
|
418
434
|
|
|
419
|
-
'
|
|
420
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--
|
|
435
|
+
'unhexdump'*)
|
|
436
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--output -o --format -f --type -t --base -b --address-base -A --[no-]named-chars")" -- "$cur")
|
|
421
437
|
;;
|
|
422
438
|
|
|
423
|
-
'
|
|
424
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -
|
|
439
|
+
'netcat'*'-s')
|
|
440
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A hostname -- "$cur")
|
|
425
441
|
;;
|
|
426
442
|
|
|
427
|
-
'
|
|
428
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -
|
|
443
|
+
'netcat'*'-U')
|
|
444
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -- "$cur")
|
|
429
445
|
;;
|
|
430
446
|
|
|
431
|
-
'
|
|
447
|
+
'decode'*'-f')
|
|
432
448
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
433
449
|
;;
|
|
434
450
|
|
|
435
|
-
'
|
|
436
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--
|
|
451
|
+
'unarchive'*)
|
|
452
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--format -f")" -- "$cur")
|
|
437
453
|
;;
|
|
438
454
|
|
|
439
|
-
'
|
|
455
|
+
'quote'*'-f')
|
|
440
456
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
441
457
|
;;
|
|
442
458
|
|
|
443
|
-
'
|
|
444
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --
|
|
459
|
+
'bitsquat'*)
|
|
460
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --has-addresses --registered --unregistered")" -- "$cur")
|
|
445
461
|
;;
|
|
446
462
|
|
|
447
|
-
'
|
|
448
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--
|
|
463
|
+
'tld-list'*)
|
|
464
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--verbose -v --update -u --url -U --path -p")" -- "$cur")
|
|
449
465
|
;;
|
|
450
466
|
|
|
451
|
-
'
|
|
452
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--
|
|
467
|
+
'unescape'*)
|
|
468
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n --c -c --hex -X --html -H --uri -u --http --js -j --shell -S --powershell -P --quoted-printable -Q --ruby -R --xml -x")" -- "$cur")
|
|
453
469
|
;;
|
|
454
470
|
|
|
455
|
-
'
|
|
456
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--
|
|
471
|
+
'cert-gen'*)
|
|
472
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--version --serial --not-before --not-after --common-name -c --subject-alt-name -A --organization -O --organizational-unit -U --locality -L --state -S --country -C --key-type -t --generate-key --key-file -k --signing-hash -H --ca-key --ca-cert --ca --output -o")" -- "$cur")
|
|
457
473
|
;;
|
|
458
474
|
|
|
459
|
-
'
|
|
475
|
+
'sha1'*'-f')
|
|
460
476
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
461
477
|
;;
|
|
462
478
|
|
|
463
|
-
'encrypt'*)
|
|
464
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--key -k --key-file -K --cipher -c --password -P --hash -H --iv --padding --block-size -b --list-ciphers")" -- "$cur")
|
|
465
|
-
;;
|
|
466
|
-
|
|
467
479
|
'entropy'*)
|
|
468
480
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--entropy -e")" -- "$cur")
|
|
469
481
|
;;
|
|
470
482
|
|
|
483
|
+
'strings'*)
|
|
484
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--numeric -N --octal -O --upper-hex -X --lower-hex -x --hex -H --upper-alpha --lower-alpha --alpha -A --alpha-num --punct -P --symbols -S --space -s --visible -v --printable -p --control -C --signed-ascii -a --ascii --chars -c --include-chars -i --exclude-chars -e --min-length -n --null-byte -0")" -- "$cur")
|
|
485
|
+
;;
|
|
486
|
+
|
|
471
487
|
'extract'*)
|
|
472
488
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--number -N --hex-number -X --version-number -V --word -w --mac-addr --ipv4-addr -4 --ipv6-addr -6 --ip -I --host -H --domain -D --uri --url -U --user-name --email-addr -E --obfuscated-email-addr --phone-number --ssn --amex-cc --discover-cc --mastercard-cc --visa-cc --visa-mastercard-cc --cc --file-name --dir-name --relative-unix-path --absolute-unix-path --unix-path --relative-windows-path --absolute-windows-path --windows-path --relative-path --absolute-path --path -P --identifier --variable-name --variable-assignment --function-name --single-quoted-string --double-quoted-string --string -S --base64 -B --c-comment --cpp-comment --java-comment --javascript-comment --shell-comment --ruby-comment --python-comment --comment --md5 --sha1 --sha256 --sha512 --hash --ssh-public-key --public-key --ssh-private-key --dsa-private-key --ec-private-key --rsa-private-key --private-key -K --aws-access-key-id --aws-secret-access-key --api-key -A --regexp -e")" -- "$cur")
|
|
473
489
|
;;
|
|
@@ -476,14 +492,30 @@ _ronin_completions() {
|
|
|
476
492
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n --hex -X --c -c --js -j --shell -S --powershell -P --ruby -R")" -- "$cur")
|
|
477
493
|
;;
|
|
478
494
|
|
|
495
|
+
'encrypt'*)
|
|
496
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--key -k --key-file -K --cipher -c --password -P --hash -H --iv --padding --block-size -b --list-ciphers")" -- "$cur")
|
|
497
|
+
;;
|
|
498
|
+
|
|
479
499
|
'hexdump'*)
|
|
480
500
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--type -t --offset -O --length -L --zero-pad -Z --columns -c --group-columns -g --group-chars -G --[no-]repeating -r --base -b --index-base -B --index-offset -I --[no-]chars-column -C --encoding -E --style-index --style-numeric --style-chars --highlight-index --highlight-numeric --highlight-chars")" -- "$cur")
|
|
481
501
|
;;
|
|
482
502
|
|
|
503
|
+
'archive'*)
|
|
504
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--format -f --output -o")" -- "$cur")
|
|
505
|
+
;;
|
|
506
|
+
|
|
483
507
|
'hmac'*'-f')
|
|
484
508
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
485
509
|
;;
|
|
486
510
|
|
|
511
|
+
'typo'*'-f')
|
|
512
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
513
|
+
;;
|
|
514
|
+
|
|
515
|
+
'bitflip'*)
|
|
516
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --numeric -N --octal -O --upper-hex -X --lower-hex -x --hex -H --upper-alpha --lower-alpha --alpha -A --alpha-num --punct -P --symbols -S --space -s --visible -v --printable -p --control -C --signed-ascii -a --ascii --chars -c --include-chars -i --exclude-chars -e --prepend --append")" -- "$cur")
|
|
517
|
+
;;
|
|
518
|
+
|
|
487
519
|
'hmac'*'-K')
|
|
488
520
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
489
521
|
;;
|
|
@@ -504,39 +536,23 @@ _ronin_completions() {
|
|
|
504
536
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --start --stop --size -s")" -- "$cur")
|
|
505
537
|
;;
|
|
506
538
|
|
|
507
|
-
'
|
|
508
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -
|
|
509
|
-
;;
|
|
510
|
-
|
|
511
|
-
'unpack'*)
|
|
512
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--endian -E --arch -A --os -O --string -S --file -f")" -- "$cur")
|
|
539
|
+
'decrypt'*)
|
|
540
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--key -k --key-file -K --cipher -c --password -P --hash -H --iv --padding --block-size -b --list-ciphers")" -- "$cur")
|
|
513
541
|
;;
|
|
514
542
|
|
|
515
543
|
'xor'*'-f')
|
|
516
544
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
517
545
|
;;
|
|
518
546
|
|
|
519
|
-
'
|
|
520
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
521
|
-
;;
|
|
522
|
-
|
|
523
|
-
'sha512'*)
|
|
524
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n")" -- "$cur")
|
|
547
|
+
'unpack'*)
|
|
548
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--endian -E --arch -A --os -O --string -S --file -f")" -- "$cur")
|
|
525
549
|
;;
|
|
526
550
|
|
|
527
|
-
'
|
|
551
|
+
'url'*'-f')
|
|
528
552
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
529
553
|
;;
|
|
530
554
|
|
|
531
|
-
'
|
|
532
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n")" -- "$cur")
|
|
533
|
-
;;
|
|
534
|
-
|
|
535
|
-
'decode'*)
|
|
536
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n --base16 --base32 --base64 -b --zlib -z --gzip -g --c -c --hex -X --html -H --uri -u --http --js -j --shell -S --powershell -P --punycode --quoted-printable -Q --ruby -R --uudecode --xml -x")" -- "$cur")
|
|
537
|
-
;;
|
|
538
|
-
|
|
539
|
-
'rot'*'-f')
|
|
555
|
+
'xor'*'-K')
|
|
540
556
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
541
557
|
;;
|
|
542
558
|
|
|
@@ -556,6 +572,14 @@ _ronin_completions() {
|
|
|
556
572
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
|
557
573
|
;;
|
|
558
574
|
|
|
575
|
+
'irb'*'-r')
|
|
576
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -- "$cur")
|
|
577
|
+
;;
|
|
578
|
+
|
|
579
|
+
'decode'*)
|
|
580
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n --base16 --base32 --base64 -b --zlib -z --gzip -g --c -c --hex -X --html -H --uri -u --http --js -j --shell -S --powershell -P --punycode --quoted-printable -Q --ruby -R --uudecode --xml -x")" -- "$cur")
|
|
581
|
+
;;
|
|
582
|
+
|
|
559
583
|
'md5'*'-f')
|
|
560
584
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
561
585
|
;;
|
|
@@ -564,24 +588,36 @@ _ronin_completions() {
|
|
|
564
588
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--verbose -v --tcp --udp --unix -U --listen -l --source -s --source-port -p --buffer-size -b --hexdump -x --ssl --tls --ssl-version --ssl-cert --ssl-key --ssl-verify --ssl-ca-bundle")" -- "$cur")
|
|
565
589
|
;;
|
|
566
590
|
|
|
567
|
-
'
|
|
591
|
+
'asn'*'-f')
|
|
568
592
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
569
593
|
;;
|
|
570
594
|
|
|
571
|
-
'
|
|
572
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--
|
|
595
|
+
'sha512'*)
|
|
596
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n")" -- "$cur")
|
|
597
|
+
;;
|
|
598
|
+
|
|
599
|
+
'sha256'*)
|
|
600
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n")" -- "$cur")
|
|
601
|
+
;;
|
|
602
|
+
|
|
603
|
+
'rot'*'-f')
|
|
604
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
605
|
+
;;
|
|
606
|
+
|
|
607
|
+
'ip'*'-f')
|
|
608
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
|
573
609
|
;;
|
|
574
610
|
|
|
575
611
|
'quote'*)
|
|
576
612
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n --hex -X --c -c --js -j --shell -S --powershell -P --ruby -R")" -- "$cur")
|
|
577
613
|
;;
|
|
578
614
|
|
|
579
|
-
'
|
|
580
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--
|
|
615
|
+
'proxy'*)
|
|
616
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--tcp -t --ssl -S --tls -T --udp -u --[no-]hexdump -x --rewrite -r --rewrite-client --rewrite-server --ignore -i --ignore-client --ignore-server --close -C --close-client --close-server --reset -R --reset-client --reset-server")" -- "$cur")
|
|
581
617
|
;;
|
|
582
618
|
|
|
583
|
-
'
|
|
584
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--
|
|
619
|
+
'typo'*)
|
|
620
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --omit-chars --repeat-chars --swap-chars --change-suffix --enum -E")" -- "$cur")
|
|
585
621
|
;;
|
|
586
622
|
|
|
587
623
|
'sha1'*)
|
|
@@ -604,8 +640,12 @@ _ronin_completions() {
|
|
|
604
640
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--number -N --hex-number -X --version-number -V --word -w --mac-addr --ipv4-addr -4 --ipv6-addr -6 --ip -I --host -H --domain -D --uri --url -U --user-name --email-addr -E --obfuscated-email-addr --phone-number --ssn --amex-cc --discover-cc --mastercard-cc --visa-cc --visa-mastercard-cc --cc --file-name --dir-name --relative-unix-path --absolute-unix-path --unix-path --relative-windows-path --absolute-windows-path --windows-path --relative-path --absolute-path --path -P --identifier --variable-name --variable-assignment --function-name --single-quoted-string --double-quoted-string --string -S --base64 -B --c-comment --cpp-comment --java-comment --javascript-comment --shell-comment --ruby-comment --python-comment --comment --md5 --sha1 --sha256 --sha512 --hash --ssh-public-key --public-key --ssh-private-key --dsa-private-key --ec-private-key --rsa-private-key --private-key -K --aws-access-key-id --aws-secret-access-key --api-key -A --regexp -e --only-matching -o --line-number -n --with-filename")" -- "$cur")
|
|
605
641
|
;;
|
|
606
642
|
|
|
607
|
-
'
|
|
608
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--
|
|
643
|
+
'tips'*)
|
|
644
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--list-categories --category -c --search -s")" -- "$cur")
|
|
645
|
+
;;
|
|
646
|
+
|
|
647
|
+
'pack'*)
|
|
648
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--endian -E --arch -A --os -O --hexdump -x --output")" -- "$cur")
|
|
609
649
|
;;
|
|
610
650
|
|
|
611
651
|
'asn'*)
|
|
@@ -624,10 +664,6 @@ _ronin_completions() {
|
|
|
624
664
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --user -u --password --user-password --host -H --port --host-port --path -P --path-query --query -Q --query-param -q --fragment -F --status -S")" -- "$cur")
|
|
625
665
|
;;
|
|
626
666
|
|
|
627
|
-
'rot'*)
|
|
628
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n --alphabet -A --modulo -n")" -- "$cur")
|
|
629
|
-
;;
|
|
630
|
-
|
|
631
667
|
'irb'*)
|
|
632
668
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--include -I --require -r")" -- "$cur")
|
|
633
669
|
;;
|
|
@@ -640,6 +676,10 @@ _ronin_completions() {
|
|
|
640
676
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "help dns-listener dns-proxy exploit http-listener nokogiri payload project script web-app web-server web-spider")" -- "$cur")
|
|
641
677
|
;;
|
|
642
678
|
|
|
679
|
+
'rot'*)
|
|
680
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n --alphabet -A --modulo -n")" -- "$cur")
|
|
681
|
+
;;
|
|
682
|
+
|
|
643
683
|
'ip'*)
|
|
644
684
|
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --public -P --local -L --reverse -r --hex -X --decimal -D --octal -O --binary -B --hex-octet --octal-octet --ipv6-compat --ipv6-expanded --cidr -C --host -H --port -p --uri -U --uri-scheme --uri-port --uri-path --uri-query --http --https")" -- "$cur")
|
|
645
685
|
;;
|