Prerequisites
Before running a scan, ensure you have:Completed the installation process
Activated the virtual environment
Obtained written authorization to test the target system
Basic Scan Command
The simplest way to run a scan is with the-t (target) flag:
Authorization Prompt
When you run AutoPentestX, you’ll see a legal warning prompt:Terminal Output
yes to proceed with the scan.
Understanding the Scan Phases
A basic scan runs through 7 phases automatically:1
Database Initialization
AutoPentestX creates a unique scan ID and initializes the SQLite database to store results.
2
Network Reconnaissance
Nmap performs a comprehensive port scan to discover open ports and services.
3
Vulnerability Analysis
Nikto and SQLMap scan web services for common vulnerabilities.
4
CVE Intelligence Lookup
Matches detected services against the CVE database for known vulnerabilities.
5
Risk Assessment
Calculates overall risk scores and prioritizes findings.
6
Exploitation Simulation
Identifies potential exploits and generates Metasploit resource scripts (safe mode enabled by default).
7
Report Generation
Compiles all findings into a professional PDF report.
Scan Completion Summary
After all phases complete, you’ll see a mission summary:Terminal Output
Customizing Your Scan
Add Your Name to the Report
Include your name in the generated PDF report:Quick Scan (Skip Web Vulnerabilities)
Speed up scans by skipping Nikto and SQLMap:Viewing Your Results
PDF Report
Open the generated PDF report:- Executive summary with overall risk assessment
- Complete port and service inventory
- Detailed vulnerability findings
- CVE mappings with CVSS scores
- Exploitation feasibility analysis
- Prioritized remediation recommendations
Database Query
Query the SQLite database for specific information:Logs
Check detailed execution logs:Common Issues
Permission Denied Errors
Permission Denied Errors
Some scans require root privileges:
Scan Timeout
Scan Timeout
If scanning takes too long, interrupt with The scan status will be marked as ‘interrupted’ in the database.
Ctrl+C:Missing Tools Error
Missing Tools Error
Ensure all dependencies are installed:
Next Steps
Advanced Scanning
Learn about advanced flags and performance tuning
Understanding Reports
Deep dive into PDF report structure and interpretation