ronin-rb / ronin-wordlists

A library and tool for managing wordlists.
https://ronin-rb.dev
GNU Lesser General Public License v3.0
2 stars 2 forks source link

Allow `WordlistFile.download` to follow redirects #2

Closed postmodern closed 1 year ago

postmodern commented 1 year ago

Currently WordlistFile.download does not follow 302 redirects. This prevents it from downloading GitHub release files, such as the rockyou.txt wordlist.

postmodern commented 1 year ago

As suggested on ruby.social, it may be more pragmatic to just shell-out to wget or curl to download the URL. We would either need to detect whether wget or curl was installed, or add a hard-dependency on wget.