Prerequisites
Before installing the Ethical Audit Framework, ensure you have the following:- Python 3.8 or higher
- Linux operating system (tested on Ubuntu/Debian and Kali Linux)
- Root or sudo privileges (required for security tools)
- Internet connection for downloading dependencies
System Dependencies
The framework relies on several security tools that must be installed separately:Install WPScan
WordPress vulnerability scanner:Verify installation:
WPScan requires an API token for vulnerability database access. Register at wpscan.com to get your free API token.
Python Dependencies
Install Python Packages
The framework requires the following Python packages:This installs:
rich>=13.0.0- Terminal UI and formattingpython-nmap>=0.7.1- Nmap Python interfacereportlab>=4.0.4- PDF report generationrequests>=2.31.0- HTTP requestsbeautifulsoup4>=4.12.2- HTML parsingcolorama>=0.4.6- Cross-platform colored output
Verify Installation
Run the framework to verify all components are properly installed:Directory Structure
After installation, your directory should look like:Troubleshooting
Permission Denied Errors
Permission Denied Errors
Most security tools require root privileges. Run the framework with sudo:Or configure sudo to allow specific commands without password prompts (advanced).
Wordlist Not Found
Wordlist Not Found
If you see errors about missing wordlists:
Python Module Import Errors
Python Module Import Errors
Ensure you’re using the correct Python version and virtual environment:
Nmap Command Not Found
Nmap Command Not Found
If python-nmap cannot find the nmap binary:
WPScan API Token Warning
WPScan API Token Warning
WPScan may show warnings without an API token. To configure:The framework will still work without a token, but vulnerability data may be limited.
- Register at wpscan.com
- Get your API token
- Configure WPScan:
Outputs Directory Permission Issues
Outputs Directory Permission Issues
The framework creates an
outputs/ directory automatically. If you encounter permission errors:Next Steps
Now that installation is complete:- Review the Quick Start Guide to run your first audit
- Configure default targets in
config.py - Set up your test environment (DVWA, WordPress)