data/completions/ronin in ronin-2.1.0.rc1 vs data/completions/ronin in ronin-2.1.0

- old
+ new

@@ -9,11 +9,11 @@ local cur=${COMP_WORDS[COMP_CWORD]} local result=() if [[ "${cur:0:1}" == "-" ]]; then echo "$words" - + else for word in $words; do [[ "${word:0:1}" != "-" ]] && result+=("$word") done @@ -26,630 +26,630 @@ local cur=${COMP_WORDS[COMP_CWORD]} local compwords=("${COMP_WORDS[@]:1:$COMP_CWORD-1}") local compline="${compwords[*]}" case "$compline" in - 'new http-listener'*'--vhost') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A hostname -- "$cur" ) + 'public-suffix-list'*'--path') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'public-suffix-list'*'--path') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'new http-listener'*'--vhost') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A hostname -- "$cur") ;; 'new http-listener'*'--root') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur") ;; 'host'*'--enum-subdomains') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'public-suffix-list'*'-p') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'new http-listener'*'-R') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur") ;; 'cert-gen'*'--key-file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'banner-grab'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'cert-gen'*'--ca-cert') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'cert-gen'*'--ca-cert') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'unhexdump'*'--output') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'decrypt'*'--key-file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; + 'banner-grab'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") + ;; + 'encrypt'*'--key-file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'public-suffix-list'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--verbose -v --update -u --url -U --path -p")" -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--verbose -v --update -u --url -U --path -p")" -- "$cur") ;; - 'unhexdump'*'--output') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'cert-gen'*'--output') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'cert-gen'*'--ca-key') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'netcat'*'--ssl-cert') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'cert-gen'*'--output') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'cert-gen'*'--ca-key') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'email-addr'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'netcat'*'--ssl-cert') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) - ;; - 'new http-listener'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--host -H --port -p --vhost --root -R")" -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--host -H --port -p --vhost --root -R")" -- "$cur") ;; - 'cert-dump'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'homoglyph'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'cert-grab'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'homoglyph'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'cert-dump'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'http'*'--body-file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'netcat'*'--ssl-key') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'new dns-listener'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--host -H --port -p --domain -d")" -- "$cur") ;; - 'new dns-listener'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--host -H --port -p --domain -d")" -- "$cur" ) + 'netcat'*'--ssl-key') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'typosquat'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'bitsquat'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) - ;; - 'hmac'*'--key-file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'netcat'*'--source') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A hostname -- "$cur" ) + 'tld-list'*'--path') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'tld-list'*'--path') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'bitsquat'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'unescape'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'banner-grab'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'netcat'*'--source') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A hostname -- "$cur") ;; - 'bitflip'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'new web-server'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin_completions_filter "--host -H --port -p")" -- "$cur") ;; - 'iprange'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'new web-spider'*) + 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") ;; - 'new web-server'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -W "$(_ronin_completions_filter "--host -H --port -p")" -- "$cur" ) + 'bitflip'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'new web-spider'*) - 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" ) + 'banner-grab'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'unquote'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'xor'*'--key-file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'iprange'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'decode'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'xor'*'--key-file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'email-addr'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'unpack'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'encode'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'new dns-proxy'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--host -H --port -p")" -- "$cur") ;; 'escape'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'irb'*'--include') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur") ;; - 'new dns-proxy'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--host -H --port -p")" -- "$cur" ) + 'encode'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'sha256'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'email-addr'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'sha512'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'unpack'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'decode'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'cert-dump'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'sha256'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'cert-grab'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'homoglyph'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'typosquat'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'new nokogiri'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -W "$(_ronin_completions_filter "--url -U")" -- "$cur" ) + 'cert-dump'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; + 'unhexdump'*'-o') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") + ;; + 'quote'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'typosquat'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'homoglyph'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'unhexdump'*'-o') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'new nokogiri'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin_completions_filter "--url -U")" -- "$cur") ;; - 'banner-grab'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--file -f --with-host-port")" -- "$cur" ) + 'cert-gen'*'-o') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'bitsquat'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'host'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'cert-gen'*'-k') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'cert-gen'*'-o') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'tld-list'*'-p') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'hmac'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'new exploit'*) + 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") ;; - 'host'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'http'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'http'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'bitsquat'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'new exploit'*) - 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" ) + 'sha1'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; + 'hmac'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") + ;; + 'new payload'*) - 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" ) + 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") ;; 'new project'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--git --ruby-version --rakefile --dockerfile -D")" -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--git --ruby-version --rakefile --dockerfile -D")" -- "$cur") ;; 'new web-app'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -W "$(_ronin_completions_filter "--port --ruby-version --git --dockerfile -D")" -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -W "$(_ronin_completions_filter "--port --ruby-version --git --dockerfile -D")" -- "$cur") ;; - 'sha1'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'typo'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'tld-list'*'-p') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'banner-grab'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --with-host-port")" -- "$cur") ;; - 'typo'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'unescape'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'unescape'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'bitflip'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; + 'iprange'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") + ;; + 'asn'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'bitflip'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'md5'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; + 'rot'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") + ;; + 'completion'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--print --install --uninstall")" -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--print --install --uninstall")" -- "$cur") ;; + 'xor'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") + ;; + 'decrypt'*'-K') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'dns'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'email-addr'*) - 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" ) + 'url'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'encrypt'*'-K') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'iprange'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'email-addr'*) + 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") ;; - 'md5'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) - ;; - - 'rot'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) - ;; - 'unquote'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'url'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'sha256'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'xor'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'typosquat'*) + 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") ;; - 'cert-dump'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--file -f --common-name -C --subject-alt-names -A --extensions -E")" -- "$cur" ) + 'netcat'*'-s') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A hostname -- "$cur") ;; - 'cert-grab'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--file -f")" -- "$cur" ) + 'sha512'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'decode'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) - ;; - 'dns_proxy'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--nameserver -n --rule -r")" -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--nameserver -n --rule -r")" -- "$cur") ;; 'encode'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'escape'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'highlight'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--syntax -s --less -L")" -- "$cur" ) + 'decode'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'homoglyph'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--file -f --char-set -C --enum -E")" -- "$cur" ) + 'cert-grab'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f")" -- "$cur") ;; - 'ip'*'--file') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'highlight'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--syntax -s --less -L")" -- "$cur") ;; - 'netcat'*'-s') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A hostname -- "$cur" ) + 'unpack'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'sha256'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'cert-dump'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --common-name -C --subject-alt-names -A --extensions -E")" -- "$cur") ;; - 'sha512'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'homoglyph'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --char-set -C --enum -E")" -- "$cur") ;; - 'typosquat'*) - 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" ) + 'ip'*'--file') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'unarchive'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--format -f")" -- "$cur" ) - ;; - 'unhexdump'*) - 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" ) + 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") ;; - 'unpack'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'unarchive'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--format -f")" -- "$cur") ;; 'bitsquat'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--file -f --has-addresses --registered --unregistered")" -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --has-addresses --registered --unregistered")" -- "$cur") ;; + 'tld-list'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--verbose -v --update -u --url -U --path -p")" -- "$cur") + ;; + 'cert-gen'*) - 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" ) + 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") ;; 'quote'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'tld-list'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--verbose -v --update -u --url -U --path -p")" -- "$cur" ) - ;; - 'unescape'*) - 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" ) + 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") ;; - 'archive'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--format -f --output -o")" -- "$cur" ) + 'sha1'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'bitflip'*) - 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" ) + 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") ;; + 'strings'*) + 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") + ;; + + 'archive'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--format -f --output -o")" -- "$cur") + ;; + 'decrypt'*) - 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" ) + 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") ;; + 'typo'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") + ;; + 'encrypt'*) - 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" ) + 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") ;; 'entropy'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--entropy -e")" -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--entropy -e")" -- "$cur") ;; 'extract'*) - 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" ) + 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") ;; + 'unquote'*) + 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") + ;; + 'hexdump'*) - 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" ) + 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") ;; 'hmac'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'hmac'*'-K') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'host'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'http'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'http'*'-F') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'iprange'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--file -f --start --stop --size -s")" -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --start --stop --size -s")" -- "$cur") ;; - 'sha1'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'url'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'strings'*) - 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" ) + 'unpack'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--endian -E --arch -A --os -O --string -S --file -f")" -- "$cur") ;; - 'typo'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + 'xor'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; - 'unquote'*) - 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" ) + 'xor'*'-K') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; + 'sha512'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n")" -- "$cur") + ;; + 'asn'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; + 'sha256'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n")" -- "$cur") + ;; + 'decode'*) - 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" ) + 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") ;; + 'rot'*'-f') + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") + ;; + 'dns'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'encode'*) - 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" ) + 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") ;; 'escape'*) - 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" ) + 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") ;; 'irb'*'-I') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur") ;; 'md5'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'netcat'*) - 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" ) + 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") ;; - 'rot'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) - ;; - - 'sha256'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n")" -- "$cur" ) - ;; - - 'sha512'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n")" -- "$cur" ) - ;; - - 'unpack'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--endian -E --arch -A --os -O --string -S --file -f")" -- "$cur" ) - ;; - - 'url'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) - ;; - - 'xor'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) - ;; - - 'xor'*'-K') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) - ;; - 'ip'*'-f') - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" ) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur") ;; 'proxy'*) - 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" ) + 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") ;; 'quote'*) - 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" ) + 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") ;; - 'grep'*) - 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" ) + 'tips'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--list-categories --category -c --search -s")" -- "$cur") ;; - 'hmac'*) - 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" ) + 'pack'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--endian -E --arch -A --os -O --hexdump -x --output")" -- "$cur") ;; - 'host'*) - 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" ) + 'sha1'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n")" -- "$cur") ;; 'http'*) - 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" ) + 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") ;; - 'pack'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--endian -E --arch -A --os -O --hexdump -x --output")" -- "$cur" ) + 'host'*) + 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") ;; - 'sha1'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n")" -- "$cur" ) + 'hmac'*) + 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") ;; - 'tips'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--list-categories --category -c --search -s")" -- "$cur" ) + 'grep'*) + 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") ;; 'typo'*) - 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" ) + 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") ;; 'asn'*) - 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" ) + 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") ;; - 'dns'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A hostname -W "$(_ronin_completions_filter "--file -f --nameserver -N --type -t")" -- "$cur" ) + 'xor'*) + 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") ;; - 'irb'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--include -I --require -r")" -- "$cur" ) + 'dns'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A hostname -W "$(_ronin_completions_filter "--file -f --nameserver -N --type -t")" -- "$cur") ;; - 'md5'*) - while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n")" -- "$cur" ) + 'url'*) + 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") ;; - 'new'*) - 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" ) + 'rot'*) + 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") ;; - 'rot'*) - 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" ) + 'irb'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--include -I --require -r")" -- "$cur") ;; - 'url'*) - 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" ) + 'md5'*) + while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin_completions_filter "--file -f --string --multiline -M --keep-newlines -n")" -- "$cur") ;; - 'xor'*) - 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" ) + 'new'*) + 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") ;; 'ip'*) - 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" ) + 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") ;; *) - 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" ) + 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") ;; esac } && -complete -F _ronin_completions ronin + complete -F _ronin_completions ronin # ex: filetype=sh