Before changing the wordlist, one must locate where Wifite stores its configuration. Wifite is a Python script that reads arguments from the command line. However, for persistent changes, the user must modify the configuration file or, more commonly, supply the new wordlist as a command-line argument during runtime. On most systems, the primary configuration file resides at /etc/wifite.conf or ~/.config/wifite.conf . Alternatively, the rockyou.txt wordlist, a staple of Kali Linux, is typically found in /usr/share/wordlists/ . If compressed (as rockyou.txt.gz ), it must be extracted first using the command sudo gunzip /usr/share/wordlists/rockyou.txt.gz . Understanding these file paths is a prerequisite for the actual change.
Run Wifite with the -dict option followed by the full path to your wordlist: How To Change Wordlist In Wifite
Assume you have a wordlist called 8_digit_passwords.txt in your ~/Downloads folder: Before changing the wordlist, one must locate where
While --dict is standard for Wifite2, some older versions or specific forks might use --dic . The Evolution of the Digital Skeleton Key: A Wordlist Essay On most systems, the primary configuration file resides
: Use this if you want to run Wifite specifically to crack previously captured handshakes using a new wordlist.
Example: