How To Change Wordlist In Wifite Info
Now, whenever WiFite calls the default wordlist, it will actually read your custom file. This method is sneaky but effective.
Before we dive into the "how," let's understand the "why." WiFite’s default wordlist is typically located at /usr/share/wordlists/nmap.lst or a small internal list. These lists contain common dictionary words and default router passwords but lack the firepower needed for:
By changing the wordlist, you transform WiFite from a casual scanner into a professional-grade cracking engine.
Warning: Only use WiFite and custom wordlists on networks you own or have explicit permission to test. Unauthorized access to wireless networks is illegal in most jurisdictions. This guide is for educational and authorized security auditing purposes only.
Changing the wordlist in WiFite is not just a simple tweak; it’s a fundamental skill that separates script kiddies from professional pentesters. Whether you use the quick -dict switch, permanently edit the config file, or create hybrid mutation-based wordlists, the ability to feed WiFite the right passwords will dramatically increase your success rate.
Remember these key takeaways:
Now go forth, customize your wordlists, and audit responsibly. Your next cracked handshake is just a well-chosen wordlist away.
To change the wordlist in Wifite (or Wifite2), use the --dict flag followed by the path to your custom file. By default, Wifite often looks for rockyou.txt in standard Kali Linux directories, but you can override this for any session. Direct Command To start Wifite with a specific wordlist: sudo wifite --dict /path/to/your/wordlist.txt Use code with caution. Copied to clipboard 🛠️ Step-by-Step Guide 1. Locate Your Wordlist Ensure you know the exact absolute path to your file.
Default Kali Wordlists: Usually found in /usr/share/wordlists/.
Custom Wordlists: If it's on your desktop, the path might be ~/Desktop/my_list.txt. 2. Unzip if Necessary How To Change Wordlist In Wifite
Many pre-installed wordlists (like rockyou.txt.gz) are compressed. You must extract them before Wifite can read them: sudo gunzip /usr/share/wordlists/rockyou.txt.gz Use code with caution. Copied to clipboard 3. Run Wifite with the Flag Open your terminal and use the --dict (or -dict) argument.
Example for Rockyou:sudo wifite --dict /usr/share/wordlists/rockyou.txt
Example for a custom file:sudo wifite --dict /home/kali/Downloads/custom_passwords.txt 4. Verify in the UI
Once Wifite captures a handshake, it will begin the cracking process. It should display the path of the wordlist it is currently using in the status lines. 💡 Pro Tips
Combine with other flags: You can use --dict alongside other filters, like --wpa to only target WPA networks:sudo wifite --wpa --dict /path/to/list.txt
Check all options: To see every available command, run wifite -h or visit the official Kali tool page .
Use Hashcat/Aircrack-ng: Wifite is a "wrapper." If you have a specific handshake file and a massive wordlist, it is often faster to run aircrack-ng or hashcat directly on the captured .cap or .hc22000 file GitHub .
An interesting and powerful feature of changing the wordlist in Wifite (and Wifite2) is its ability to accept piped input from other tools, allowing you to bypass a static file entirely.
While the standard command to change a wordlist is --dict [path/to/wordlist], the "interesting" part is how Wifite integrates with password generators to create a dynamic, "infinite" wordlist. 1. The "On-the-Fly" Wordlist Feature Now, whenever WiFite calls the default wordlist, it
Instead of pointing Wifite to a massive rockyou.txt file that takes up disk space, you can pipe a tool like Crunch directly into it. This allows you to generate and test passwords in real-time based on specific patterns (like a target's known birthday or name). Example Command:crunch 8 8 1234567890 | wifite --dict -
What this does: Crunch generates every possible 8-digit combination and "feeds" them to Wifite one by one via the - (stdin) flag. 2. Intelligent Default Selection
If you don't specify a wordlist using the --dict flag, Wifite has a built-in search hierarchy: It first looks for a wordlist in the current directory.
If not found, it automatically checks common Linux paths like /usr/share/dict/wordlist.txt or /usr/share/wordlists/rockyou.txt.
This "set it and forget it" logic ensures the tool works immediately on platforms like Kali Linux without manual configuration. 3. Handshake-First Logic
Wifite is designed to be efficient. Even if you change your wordlist, the tool won't start the dictionary attack until it has successfully captured a WPA handshake. This means you can queue up a massive, custom wordlist, and Wifite will "park" it while it focuses on the radio-frequency work of de-authenticating users and capturing the necessary packets. Quick Reference Commands Command Flag Use specific file wifite --dict /path/to/wordlist.txt Use piped input `[generator] Default behavior wifite (Searches common paths automatically)
To change the wordlist in (or Wifite2), you must use the command-line flag followed by the full path to your custom dictionary file. By default, Wifite uses a internal list located at /usr/share/dict/wordlist-probable.txt Kali Linux Quick Command Syntax
Run the following command in your terminal to launch Wifite with a custom wordlist: sudo wifite --dict /path/to/your/wordlist.txt Key Options & Examples Using Rockyou : To use the popular rockyou.txt wordlist (standard on Kali Linux), use: sudo wifite --dict /usr/share/wordlists/rockyou.txt Cracking After Capture
: If you have already captured a handshake and want to crack it with a specific list later, you can use the sudo wifite --crack --dict /path/to/wordlist.txt Abbreviated Flag : Some versions of Wifite may accept instead of is the standard. Kali Linux Important Notes Single Wordlist By changing the wordlist, you transform WiFite from
: Wifite generally only accepts one wordlist at a time via the command line.
: Ensure you provide the absolute path to your file. If your wordlist is in your current folder, you can just use its name (e.g., --dict passwords.txt Permissions : Always run Wifite with
to ensure it has the necessary permissions to access network interfaces and system wordlists. Kali Linux AI responses may include mistakes. Learn more wordlists | Kali Linux Tools
Contains the rockyou wordlist /usr/share/wordlists ・ rockyou.txt.gz ・ wifite.txt -> /usr/share/dict/wordlist-probable.txt. Kali Linux wordlists | Kali Linux Tools
WiFite doesn’t natively support multiple wordlists, but you can concatenate them:
cat wordlist1.txt wordlist2.txt > combined.txt
sudo wifite -dict combined.txt
Edit Wifite’s config file to always use your preferred wordlist.
Find the line starting with wordlist = and change it:
wordlist = /home/kali/rockyou.txt
Save and exit (Ctrl+X, then Y, then Enter).
Once you have changed the wordlist, you can verify that it has been updated by:

