BlackArch / wordlistctl

Fetch, install and search wordlist archives from websites and torrent peers.
https://www.blackarch.org/
GNU General Public License v3.0
489 stars 77 forks source link

Add support for wildcard/keyword fetching #18

Closed bitshiftnetau closed 3 years ago

bitshiftnetau commented 3 years ago

Would be fantastic to simply enter a keyword and download all wordlists that match that word.

Example

If I search for "subdomains":

wordlistctl search subdomains

--==[ wordlistctl by blackarch.org ]==--

    0 > bitquark-subdomains-top100000 (1.43 Mb)
    1 > shubs-subdomains (5.98 Mb)
    2 > subdomains-top1million-110000 (1.12 Mb)
    3 > subdomains-top1million-20000 (148.83 Kb)
    4 > subdomains-top1million-5000 (33.66 Kb)
    5 > assetnote_httparchive_subdomains_2020_11_18 (29.78 Mb)
    6 > assetnote_2m-subdomains (29.40 Mb)

I should be able to then use that same syntax to then fetch all of these wordlists.

wordlistctl fetch subdomains

Having to specify the full name of each wordlist when fetching is a real buzzkill and doesn't provide a unified user experience between search and fetch.

aancw commented 3 years ago

Nice idea

aancw commented 3 years ago

Btw, for search there is already available flag for that, it's search_term

bitshiftnetau commented 3 years ago

Oh... really? It seems to work without the flag as well 😅

aancw commented 3 years ago

Yep it's set by default.

aancw commented 3 years ago

Done. Will be pushing it to master. It's what you mean? image

bitshiftnetau commented 3 years ago

Whoa... nice! Yeh that's awesome! You're awesome!

aancw commented 3 years ago

Try to update it with git clone https://github.com/BlackArch/wordlistctl before releasing to BA repo.

bitshiftnetau commented 3 years ago

Yep just tested on Arch base... works just fine. Looking forward to seeing this downstream!

aancw commented 3 years ago

Thanks for your suggestion. I will close this issue.