Overview
AutoPentestX requires both system-level tools and Python packages to function. This guide covers troubleshooting dependency installation and compatibility issues.System Dependencies
- Nmap
- Nikto
- SQLMap
- Metasploit (optional)
Python Dependencies
- python-nmap
- requests
- reportlab
- sqlparse
System Dependencies
Required Packages
Nmap (Network Mapper)
Nmap (Network Mapper)
Purpose: Port scanning, service detection, OS fingerprintingInstallation:Verification:
Nikto (Web Scanner)
Nikto (Web Scanner)
Purpose: Web server vulnerability scanning, CGI testingInstallation:Verification:Workaround if unavailable:
SQLMap (SQL Injection Tool)
SQLMap (SQL Injection Tool)
Purpose: Automated SQL injection detection and exploitationInstallation:Verification:Workaround if unavailable:
Metasploit Framework (Optional)
Metasploit Framework (Optional)
Purpose: Exploit generation, RC script creation, payload developmentInstallation:Verification:Workaround if unavailable:
Metasploit is optional. AutoPentestX can perform reconnaissance and vulnerability scanning without it, but exploitation features will be limited.
Supporting Packages
Supporting Packages
Additional system packages required:
Core Tools
PDF Generation Dependencies
SSL/TLS Support
Python Dependencies
Requirements File Breakdown
AutoPentestX uses these Python packages (fromrequirements.txt):
requirements.txt
python-nmap
python-nmap
Purpose: Python wrapper for NmapInstallation:Common Issues:Solution:
- Module Not Found
- Wrong Package
- Version Conflicts
requests
requests
Purpose: HTTP library for web vulnerability scanning and CVE lookupsInstallation:Common Issues:Solution:
- SSL Errors
- Connection Timeout
reportlab
reportlab
Purpose: PDF report generationInstallation:Common Issues:Solution:
- Build Errors
- Import Errors
- Font Issues
sqlparse
sqlparse
Purpose: SQL parsing and formattingInstallation:Issues:
Rarely causes problems. If needed:
Complete Dependency Resolution
Fresh Installation
Troubleshooting Dependency Installation
Pip Install Fails
Pip Install Fails
Symptoms:
- Package installation errors
- Compilation failures
- Permission denied errors
Version Conflicts
Version Conflicts
Missing System Headers
Missing System Headers
Error Message:Solution:
Network/Proxy Issues
Network/Proxy Issues
Symptoms:
- Timeout errors during pip install
- Cannot reach PyPI
- SSL certificate errors
Verification Script
Use this script to verify all dependencies:check_dependencies.py
Platform-Specific Notes
- Ubuntu/Debian
- Kali Linux
- Arch Linux
- macOS
Getting Help
If dependencies still fail to install:-
Collect diagnostic information:
-
Check error logs:
- Consult other guides:
Need More Help?
Open a GitHub issue with your system info and error messages