ronin 2.0.5 → 2.1.0
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/.ruby-version +1 -1
- data/ChangeLog.md +62 -1
- data/Gemfile +66 -29
- data/README.md +165 -20
- data/Rakefile +9 -0
- data/data/completions/ronin +655 -0
- data/data/templates/dns_proxy.rb.erb +35 -0
- data/gemspec.yml +29 -15
- 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 +9 -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 +239 -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 +979 -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 +980 -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 +157 -67
- 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
@@ -0,0 +1,655 @@
|
|
1
|
+
# ronin completion -*- shell-script -*-
|
2
|
+
|
3
|
+
# This bash completions script was generated by
|
4
|
+
# completely (https://github.com/dannyben/completely)
|
5
|
+
# Modifying it manually is not recommended
|
6
|
+
|
7
|
+
_ronin_completions_filter() {
|
8
|
+
local words="$1"
|
9
|
+
local cur=${COMP_WORDS[COMP_CWORD]}
|
10
|
+
local result=()
|
11
|
+
|
12
|
+
if [[ "${cur:0:1}" == "-" ]]; then
|
13
|
+
echo "$words"
|
14
|
+
|
15
|
+
else
|
16
|
+
for word in $words; do
|
17
|
+
[[ "${word:0:1}" != "-" ]] && result+=("$word")
|
18
|
+
done
|
19
|
+
|
20
|
+
echo "${result[*]}"
|
21
|
+
|
22
|
+
fi
|
23
|
+
}
|
24
|
+
|
25
|
+
_ronin_completions() {
|
26
|
+
local cur=${COMP_WORDS[COMP_CWORD]}
|
27
|
+
local compwords=("${COMP_WORDS[@]:1:$COMP_CWORD-1}")
|
28
|
+
local compline="${compwords[*]}"
|
29
|
+
|
30
|
+
case "$compline" in
|
31
|
+
'public-suffix-list'*'--path')
|
32
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
33
|
+
;;
|
34
|
+
|
35
|
+
'new http-listener'*'--vhost')
|
36
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A hostname -- "$cur")
|
37
|
+
;;
|
38
|
+
|
39
|
+
'new http-listener'*'--root')
|
40
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
41
|
+
;;
|
42
|
+
|
43
|
+
'host'*'--enum-subdomains')
|
44
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
45
|
+
;;
|
46
|
+
|
47
|
+
'public-suffix-list'*'-p')
|
48
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
49
|
+
;;
|
50
|
+
|
51
|
+
'new http-listener'*'-R')
|
52
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
53
|
+
;;
|
54
|
+
|
55
|
+
'cert-gen'*'--key-file')
|
56
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
57
|
+
;;
|
58
|
+
|
59
|
+
'cert-gen'*'--ca-cert')
|
60
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
61
|
+
;;
|
62
|
+
|
63
|
+
'unhexdump'*'--output')
|
64
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
65
|
+
;;
|
66
|
+
|
67
|
+
'decrypt'*'--key-file')
|
68
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
69
|
+
;;
|
70
|
+
|
71
|
+
'banner-grab'*'--file')
|
72
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
73
|
+
;;
|
74
|
+
|
75
|
+
'encrypt'*'--key-file')
|
76
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
77
|
+
;;
|
78
|
+
|
79
|
+
'public-suffix-list'*)
|
80
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--verbose -v --update -u --url -U --path -p")" -- "$cur")
|
81
|
+
;;
|
82
|
+
|
83
|
+
'cert-gen'*'--output')
|
84
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
85
|
+
;;
|
86
|
+
|
87
|
+
'netcat'*'--ssl-cert')
|
88
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
89
|
+
;;
|
90
|
+
|
91
|
+
'cert-gen'*'--ca-key')
|
92
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
93
|
+
;;
|
94
|
+
|
95
|
+
'email-addr'*'--file')
|
96
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
97
|
+
;;
|
98
|
+
|
99
|
+
'new http-listener'*)
|
100
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--host -H --port -p --vhost --root -R")" -- "$cur")
|
101
|
+
;;
|
102
|
+
|
103
|
+
'homoglyph'*'--file')
|
104
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
105
|
+
;;
|
106
|
+
|
107
|
+
'cert-grab'*'--file')
|
108
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
109
|
+
;;
|
110
|
+
|
111
|
+
'cert-dump'*'--file')
|
112
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
113
|
+
;;
|
114
|
+
|
115
|
+
'http'*'--body-file')
|
116
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
117
|
+
;;
|
118
|
+
|
119
|
+
'new dns-listener'*)
|
120
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--host -H --port -p --domain -d")" -- "$cur")
|
121
|
+
;;
|
122
|
+
|
123
|
+
'netcat'*'--ssl-key')
|
124
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
125
|
+
;;
|
126
|
+
|
127
|
+
'typosquat'*'--file')
|
128
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
129
|
+
;;
|
130
|
+
|
131
|
+
'hmac'*'--key-file')
|
132
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
133
|
+
;;
|
134
|
+
|
135
|
+
'tld-list'*'--path')
|
136
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
137
|
+
;;
|
138
|
+
|
139
|
+
'bitsquat'*'--file')
|
140
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
141
|
+
;;
|
142
|
+
|
143
|
+
'unescape'*'--file')
|
144
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
145
|
+
;;
|
146
|
+
|
147
|
+
'netcat'*'--source')
|
148
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A hostname -- "$cur")
|
149
|
+
;;
|
150
|
+
|
151
|
+
'new web-server'*)
|
152
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin_completions_filter "--host -H --port -p")" -- "$cur")
|
153
|
+
;;
|
154
|
+
|
155
|
+
'new web-spider'*)
|
156
|
+
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")
|
157
|
+
;;
|
158
|
+
|
159
|
+
'bitflip'*'--file')
|
160
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
161
|
+
;;
|
162
|
+
|
163
|
+
'banner-grab'*'-f')
|
164
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
165
|
+
;;
|
166
|
+
|
167
|
+
'unquote'*'--file')
|
168
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
169
|
+
;;
|
170
|
+
|
171
|
+
'iprange'*'--file')
|
172
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
173
|
+
;;
|
174
|
+
|
175
|
+
'xor'*'--key-file')
|
176
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
177
|
+
;;
|
178
|
+
|
179
|
+
'unpack'*'--file')
|
180
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
181
|
+
;;
|
182
|
+
|
183
|
+
'new dns-proxy'*)
|
184
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--host -H --port -p")" -- "$cur")
|
185
|
+
;;
|
186
|
+
|
187
|
+
'escape'*'--file')
|
188
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
189
|
+
;;
|
190
|
+
|
191
|
+
'irb'*'--include')
|
192
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
193
|
+
;;
|
194
|
+
|
195
|
+
'encode'*'--file')
|
196
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
197
|
+
;;
|
198
|
+
|
199
|
+
'email-addr'*'-f')
|
200
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
201
|
+
;;
|
202
|
+
|
203
|
+
'sha512'*'--file')
|
204
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
205
|
+
;;
|
206
|
+
|
207
|
+
'decode'*'--file')
|
208
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
209
|
+
;;
|
210
|
+
|
211
|
+
'sha256'*'--file')
|
212
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
213
|
+
;;
|
214
|
+
|
215
|
+
'cert-grab'*'-f')
|
216
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
217
|
+
;;
|
218
|
+
|
219
|
+
'typosquat'*'-f')
|
220
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
221
|
+
;;
|
222
|
+
|
223
|
+
'cert-dump'*'-f')
|
224
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
225
|
+
;;
|
226
|
+
|
227
|
+
'unhexdump'*'-o')
|
228
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
229
|
+
;;
|
230
|
+
|
231
|
+
'quote'*'--file')
|
232
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
233
|
+
;;
|
234
|
+
|
235
|
+
'homoglyph'*'-f')
|
236
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
237
|
+
;;
|
238
|
+
|
239
|
+
'new nokogiri'*)
|
240
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin_completions_filter "--url -U")" -- "$cur")
|
241
|
+
;;
|
242
|
+
|
243
|
+
'cert-gen'*'-o')
|
244
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
245
|
+
;;
|
246
|
+
|
247
|
+
'host'*'--file')
|
248
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
249
|
+
;;
|
250
|
+
|
251
|
+
'cert-gen'*'-k')
|
252
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
253
|
+
;;
|
254
|
+
|
255
|
+
'tld-list'*'-p')
|
256
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
257
|
+
;;
|
258
|
+
|
259
|
+
'new exploit'*)
|
260
|
+
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
|
+
;;
|
262
|
+
|
263
|
+
'http'*'--file')
|
264
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
265
|
+
;;
|
266
|
+
|
267
|
+
'bitsquat'*'-f')
|
268
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
269
|
+
;;
|
270
|
+
|
271
|
+
'sha1'*'--file')
|
272
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
273
|
+
;;
|
274
|
+
|
275
|
+
'hmac'*'--file')
|
276
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
277
|
+
;;
|
278
|
+
|
279
|
+
'new payload'*)
|
280
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--type -t --author -a --author-email -e --summary -S --description -D --reference -R")" -- "$cur")
|
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")
|
285
|
+
;;
|
286
|
+
|
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")
|
289
|
+
;;
|
290
|
+
|
291
|
+
'typo'*'--file')
|
292
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
293
|
+
;;
|
294
|
+
|
295
|
+
'banner-grab'*)
|
296
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --with-host-port")" -- "$cur")
|
297
|
+
;;
|
298
|
+
|
299
|
+
'unescape'*'-f')
|
300
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
301
|
+
;;
|
302
|
+
|
303
|
+
'bitflip'*'-f')
|
304
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
305
|
+
;;
|
306
|
+
|
307
|
+
'iprange'*'-f')
|
308
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
309
|
+
;;
|
310
|
+
|
311
|
+
'asn'*'--file')
|
312
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
313
|
+
;;
|
314
|
+
|
315
|
+
'md5'*'--file')
|
316
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
317
|
+
;;
|
318
|
+
|
319
|
+
'rot'*'--file')
|
320
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
321
|
+
;;
|
322
|
+
|
323
|
+
'completion'*)
|
324
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--print --install --uninstall")" -- "$cur")
|
325
|
+
;;
|
326
|
+
|
327
|
+
'xor'*'--file')
|
328
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
329
|
+
;;
|
330
|
+
|
331
|
+
'decrypt'*'-K')
|
332
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
333
|
+
;;
|
334
|
+
|
335
|
+
'dns'*'--file')
|
336
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
337
|
+
;;
|
338
|
+
|
339
|
+
'url'*'--file')
|
340
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
341
|
+
;;
|
342
|
+
|
343
|
+
'encrypt'*'-K')
|
344
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
345
|
+
;;
|
346
|
+
|
347
|
+
'email-addr'*)
|
348
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --obfuscate -O --enum-obfuscations --deobfuscate -D --name -n --mailbox -m --domain -d --normalize -N")" -- "$cur")
|
349
|
+
;;
|
350
|
+
|
351
|
+
'unquote'*'-f')
|
352
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
353
|
+
;;
|
354
|
+
|
355
|
+
'sha256'*'-f')
|
356
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
357
|
+
;;
|
358
|
+
|
359
|
+
'typosquat'*)
|
360
|
+
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")
|
361
|
+
;;
|
362
|
+
|
363
|
+
'netcat'*'-s')
|
364
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A hostname -- "$cur")
|
365
|
+
;;
|
366
|
+
|
367
|
+
'sha512'*'-f')
|
368
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
369
|
+
;;
|
370
|
+
|
371
|
+
'dns_proxy'*)
|
372
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--nameserver -n --rule -r")" -- "$cur")
|
373
|
+
;;
|
374
|
+
|
375
|
+
'encode'*'-f')
|
376
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
377
|
+
;;
|
378
|
+
|
379
|
+
'escape'*'-f')
|
380
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
381
|
+
;;
|
382
|
+
|
383
|
+
'decode'*'-f')
|
384
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
385
|
+
;;
|
386
|
+
|
387
|
+
'cert-grab'*)
|
388
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f")" -- "$cur")
|
389
|
+
;;
|
390
|
+
|
391
|
+
'highlight'*)
|
392
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--syntax -s --less -L")" -- "$cur")
|
393
|
+
;;
|
394
|
+
|
395
|
+
'unpack'*'-f')
|
396
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
397
|
+
;;
|
398
|
+
|
399
|
+
'cert-dump'*)
|
400
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --common-name -C --subject-alt-names -A --extensions -E")" -- "$cur")
|
401
|
+
;;
|
402
|
+
|
403
|
+
'homoglyph'*)
|
404
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --char-set -C --enum -E")" -- "$cur")
|
405
|
+
;;
|
406
|
+
|
407
|
+
'ip'*'--file')
|
408
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
409
|
+
;;
|
410
|
+
|
411
|
+
'unhexdump'*)
|
412
|
+
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")
|
413
|
+
;;
|
414
|
+
|
415
|
+
'unarchive'*)
|
416
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--format -f")" -- "$cur")
|
417
|
+
;;
|
418
|
+
|
419
|
+
'bitsquat'*)
|
420
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --has-addresses --registered --unregistered")" -- "$cur")
|
421
|
+
;;
|
422
|
+
|
423
|
+
'tld-list'*)
|
424
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--verbose -v --update -u --url -U --path -p")" -- "$cur")
|
425
|
+
;;
|
426
|
+
|
427
|
+
'cert-gen'*)
|
428
|
+
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")
|
429
|
+
;;
|
430
|
+
|
431
|
+
'quote'*'-f')
|
432
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
433
|
+
;;
|
434
|
+
|
435
|
+
'unescape'*)
|
436
|
+
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")
|
437
|
+
;;
|
438
|
+
|
439
|
+
'sha1'*'-f')
|
440
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
441
|
+
;;
|
442
|
+
|
443
|
+
'bitflip'*)
|
444
|
+
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")
|
445
|
+
;;
|
446
|
+
|
447
|
+
'strings'*)
|
448
|
+
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")
|
449
|
+
;;
|
450
|
+
|
451
|
+
'archive'*)
|
452
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--format -f --output -o")" -- "$cur")
|
453
|
+
;;
|
454
|
+
|
455
|
+
'decrypt'*)
|
456
|
+
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")
|
457
|
+
;;
|
458
|
+
|
459
|
+
'typo'*'-f')
|
460
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
461
|
+
;;
|
462
|
+
|
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
|
+
'entropy'*)
|
468
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--entropy -e")" -- "$cur")
|
469
|
+
;;
|
470
|
+
|
471
|
+
'extract'*)
|
472
|
+
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
|
+
;;
|
474
|
+
|
475
|
+
'unquote'*)
|
476
|
+
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
|
+
;;
|
478
|
+
|
479
|
+
'hexdump'*)
|
480
|
+
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
|
+
;;
|
482
|
+
|
483
|
+
'hmac'*'-f')
|
484
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
485
|
+
;;
|
486
|
+
|
487
|
+
'hmac'*'-K')
|
488
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
489
|
+
;;
|
490
|
+
|
491
|
+
'host'*'-f')
|
492
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
493
|
+
;;
|
494
|
+
|
495
|
+
'http'*'-f')
|
496
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
497
|
+
;;
|
498
|
+
|
499
|
+
'http'*'-F')
|
500
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
501
|
+
;;
|
502
|
+
|
503
|
+
'iprange'*)
|
504
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --start --stop --size -s")" -- "$cur")
|
505
|
+
;;
|
506
|
+
|
507
|
+
'url'*'-f')
|
508
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
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")
|
513
|
+
;;
|
514
|
+
|
515
|
+
'xor'*'-f')
|
516
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
517
|
+
;;
|
518
|
+
|
519
|
+
'xor'*'-K')
|
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")
|
525
|
+
;;
|
526
|
+
|
527
|
+
'asn'*'-f')
|
528
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
529
|
+
;;
|
530
|
+
|
531
|
+
'sha256'*)
|
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')
|
540
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
541
|
+
;;
|
542
|
+
|
543
|
+
'dns'*'-f')
|
544
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
545
|
+
;;
|
546
|
+
|
547
|
+
'encode'*)
|
548
|
+
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 --uuencode --xml -x")" -- "$cur")
|
549
|
+
;;
|
550
|
+
|
551
|
+
'escape'*)
|
552
|
+
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")
|
553
|
+
;;
|
554
|
+
|
555
|
+
'irb'*'-I')
|
556
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
|
557
|
+
;;
|
558
|
+
|
559
|
+
'md5'*'-f')
|
560
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
561
|
+
;;
|
562
|
+
|
563
|
+
'netcat'*)
|
564
|
+
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
|
+
;;
|
566
|
+
|
567
|
+
'ip'*'-f')
|
568
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
569
|
+
;;
|
570
|
+
|
571
|
+
'proxy'*)
|
572
|
+
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")
|
573
|
+
;;
|
574
|
+
|
575
|
+
'quote'*)
|
576
|
+
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
|
+
;;
|
578
|
+
|
579
|
+
'tips'*)
|
580
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--list-categories --category -c --search -s")" -- "$cur")
|
581
|
+
;;
|
582
|
+
|
583
|
+
'pack'*)
|
584
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--endian -E --arch -A --os -O --hexdump -x --output")" -- "$cur")
|
585
|
+
;;
|
586
|
+
|
587
|
+
'sha1'*)
|
588
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n")" -- "$cur")
|
589
|
+
;;
|
590
|
+
|
591
|
+
'http'*)
|
592
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --verbose -v --method --get --head --patch --post --put --copy --delete --lock --options --mkcol --move --propfind --proppatch --trace --unlock --shell --proxy -P --user-agent-string -U --user-agent -u --header -H --cookie -C --cookie-param -c --body -B --body-file -F --form-data -f --query-param -q")" -- "$cur")
|
593
|
+
;;
|
594
|
+
|
595
|
+
'host'*)
|
596
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --nameserver -N --subdomain --domain -d --tld -T --suffix -s --change-suffix -S --enum-tlds --enum-suffixes --enum-subdomains --ips -I --registered -r --unregistered -u --has-addresses -A --has-records -H --query -t")" -- "$cur")
|
597
|
+
;;
|
598
|
+
|
599
|
+
'hmac'*)
|
600
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n --key -k --key-file -K --hash -H")" -- "$cur")
|
601
|
+
;;
|
602
|
+
|
603
|
+
'grep'*)
|
604
|
+
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
|
+
;;
|
606
|
+
|
607
|
+
'typo'*)
|
608
|
+
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")
|
609
|
+
;;
|
610
|
+
|
611
|
+
'asn'*)
|
612
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--verbose -v --url -U --file -f --update -u --number -n --country-code -C --name -N --ip -I --ipv4 -4 --ipv6 -6 --enum-ips -E")" -- "$cur")
|
613
|
+
;;
|
614
|
+
|
615
|
+
'xor'*)
|
616
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n --key -k --key-file -K")" -- "$cur")
|
617
|
+
;;
|
618
|
+
|
619
|
+
'dns'*)
|
620
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A hostname -W "$(_ronin_completions_filter "--file -f --nameserver -N --type -t")" -- "$cur")
|
621
|
+
;;
|
622
|
+
|
623
|
+
'url'*)
|
624
|
+
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
|
+
;;
|
626
|
+
|
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
|
+
'irb'*)
|
632
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--include -I --require -r")" -- "$cur")
|
633
|
+
;;
|
634
|
+
|
635
|
+
'md5'*)
|
636
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n")" -- "$cur")
|
637
|
+
;;
|
638
|
+
|
639
|
+
'new'*)
|
640
|
+
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
|
+
;;
|
642
|
+
|
643
|
+
'ip'*)
|
644
|
+
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
|
+
;;
|
646
|
+
|
647
|
+
*)
|
648
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--version -V help archive asn banner-grab bitflip bitsquat cert-dump cert-gen cert-grab completion decode decrypt dns dns-proxy email-addr encode encrypt entropy escape extract grep hexdump highlight hmac homoglyph host http ip iprange irb md5 netcat new pack proxy public-suffix-list quote rot sha1 sha256 sha512 strings tips tld-list typo typosquat unarchive unescape unhexdump unpack unquote url xor enc dec nc tlds public-suffixes")" -- "$cur")
|
649
|
+
;;
|
650
|
+
|
651
|
+
esac
|
652
|
+
} &&
|
653
|
+
complete -F _ronin_completions ronin
|
654
|
+
|
655
|
+
# ex: filetype=sh
|