A portable USB-based automation tool for collecting saved passwords and credentials using NirSoft utilities. This tool automates the execution of multiple NirSoft password recovery tools and saves all results to timestamped folders.
IMPORTANT: This tool is intended for:
- Personal use on your own computers
- Authorized security auditing with proper permission
- Educational and research purposes
- IT administrators managing systems they own
Unauthorized use on computers you don't own is illegal. Always ensure you have explicit permission before running password recovery tools on any system.
USB_ROOT\
βββ tools\ # Place all NirSoft EXE files here
β βββ ChromePass.exe
β βββ WirelessKeyView.exe
β βββ WebBrowserPassView.exe
β βββ mailpv.exe
β βββ OperaPassView.exe
β βββ PasswordFox.exe
β βββ [other NirSoft tools]
β
βββ scripts\ # Automation scripts
β βββ collector.ps1 # Main PowerShell script (CSV output)
β βββ start.bat # Batch file launcher
β
βββ results\ # Auto-created output folder
β βββ YYYYMMDD_HHMMSS\ # Timestamped results folders
β βββ collector.log
β βββ ChromePass.csv
β βββ wifi_keys.csv
β βββ [other outputs]
β
βββ README.md # This file
- Copy the entire project structure to your USB drive
- Verify the folder structure matches the layout above
- Ensure all scripts are in the
scripts\
folder
Important: Right-click start.bat
β "Run as administrator"
- Some tools (especially WirelessKeyView) require administrator privileges
- Running without admin rights will cause some tools to fail
Possible causes:
- No data to extract - If you don't have passwords saved in that browser/application, no file will be created
- Antivirus blocking - Most antivirus software blocks password recovery tools
- Not running as admin - WirelessKeyView and some other tools require administrator rights
- Application not installed - If Firefox isn't installed, PasswordFox won't find anything
Solutions:
- β Verify you have passwords saved in the browser (check browser settings)
- β
Temporarily disable antivirus or add
tools\
folder to exclusions - β Always run as administrator
- β Run the diagnostic test (see below)
Solution:
- Open Windows Security (or your antivirus)
- Go to Virus & threat protection settings
- Turn it off temporary
- Try running again
Some NirSoft tools may still show their GUI interface briefly. This is normal behavior for certain tools that require user interaction to save output.
What to do:
- Let the GUI window open
- Click the Save button or close the window
- The tool will save the file automatically
Note: WirelessKeyView and OperaPassView auto-save when closed. Other tools may need manual saving.
Each run creates a new timestamped folder:
results\20251004_103942\
βββ collector.log # Detailed execution log
βββ ChromePass.txt # Chrome passwords
βββ wifi_keys.txt # WiFi passwords
βββ browser_passwords.txt # Multi-browser passwords
βββ MailPass.txt # Email passwords
βββ OperaPass.txt # Opera passwords
βββ PasswordFox.txt # Firefox passwords
The collector.log
file contains:
- Timestamp for each operation
- Success/failure status for each tool
- File sizes and locations
- Error messages if any issues occurred
To add additional NirSoft tools:
- Download the tool from NirSoft
- Place the
.exe
in thetools\
folder - Edit
collector.ps1
and add a new line:Run-Tool -exe 'ToolName.exe' -outfile 'output.csv' -saveParam '/scomma'
If you prefer text files instead of CSV:
Edit the tool execution lines in collector.ps1
:
# Change from:
Run-Tool -exe 'ChromePass.exe' -outfile 'ChromePass.csv' -saveParam '/scomma'
# To:
Run-Tool -exe 'ChromePass.exe' -outfile 'ChromePass.txt' -saveParam '/stext'
Note: /stext
format may require manual GUI interaction for some tools.
To automatically compress results into a ZIP file:
Run the collector with the -ZipResults
parameter:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "collector.ps1" -ZipResults
Or edit start.bat
and modify the PowerShell line to include -ZipResults
The collected password files contain sensitive information!
Best practices:
- β Keep the USB drive encrypted (use BitLocker or VeraCrypt)
- β Delete results after analysis
- β Never store on shared computers
- β Use strong password protection on the drive
- β Don't leave USB drive unattended
NirSoft password recovery tools are legitimate utilities but are often flagged by antivirus software as "potentially unwanted programs" (PUP) or "hacking tools."
This is normal behavior. These tools are safe when downloaded from the official NirSoft website.
- Operating System: Windows 7 or later (Windows 10/11 recommended)
- Privileges: Administrator rights required for full functionality
- PowerShell: Version 5.0 or later (included in Windows 10/11)
- Disk Space: Minimal (results are usually a few KB to few MB)
- USB Drive: Any size (FAT32, NTFS, or exFAT formatted)
Recover your own forgotten passwords from browsers and applications.
Export passwords before migrating to a new computer or reinstalling Windows.
Check which passwords are stored in plain text or easily recoverable on managed systems.
Recover credentials for decommissioned systems or assist users who lost access.
Cause: The tool ran successfully but found no data to extract.
Meaning:
- No passwords saved in that application
- Application not installed
- Browser profile empty or new
Solution: This is expected behavior. Not every tool will find data on every system.
If you see: cannot be loaded because running scripts is disabled
Solution:
- Open PowerShell as Administrator
- Run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
- Try running the script again
Or use the provided start.bat
which bypasses this automatically.
- NirSoft Password Recovery Tools: https://www.nirsoft.net/password_recovery_tools.html
- NirSoft FAQ: https://www.nirsoft.net/faq.html
- Command-Line Options: Most tools support
/help
parameter for details
- Initial release
- Automated NirSoft tool execution
- CSV output format
- Timestamped result folders
- Comprehensive logging
- Diagnostic testing utility
- Administrator privilege checking
This automation tool is provided as-is for legitimate use cases only.
NirSoft Utilities: Created by Nir Sofer - https://www.nirsoft.net/
- NirSoft utilities are freeware for personal and commercial use
- Please review NirSoft's license terms on their website
Automation Scripts: Open for personal and educational use.
USE THIS TOOL RESPONSIBLY
Unauthorized access to computer systems and data is illegal. This tool should only be used:
- On systems you own
- With explicit written authorization
- For legitimate security research
- For personal password recovery
The creators of this tool are not responsible for misuse or illegal activities performed with this software.
If in doubt about legality, consult with legal counsel before use.