Learn how to perform a basic penetration test with AutoPentestX
This guide walks you through running your first penetration test with AutoPentestX. You’ll learn the essential commands and what to expect during a basic scan.
Obtained written authorization to test the target system
Legal Requirement: You MUST have explicit written authorization before scanning any target. Unauthorized access to computer systems is a federal crime.
When you run AutoPentestX, you’ll see a legal warning prompt:
Terminal Output
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓⚠️ [LEGAL WARNING] - AUTHORIZATION REQUIRED ⚠️▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╔══════════════════════════════════════════════════════════════════╗║ You are about to deploy an automated penetration testing tool. ║║ This weapon should ONLY be used on: ║║ • Systems you own ║║ • Systems with explicit written authorization ║║ ║║ Unauthorized system access = FEDERAL CRIME ║║ Punishment: Fines + Imprisonment ║╚══════════════════════════════════════════════════════════════════╝> Do you have authorization to test this target? (yes/no):
Nikto and SQLMap scan web services for common vulnerabilities.
[PHASE 3] ▶ Vulnerability analysis initiated...[✓] Detected web service: http://192.168.1.100:80[*] Running Nikto scan on http://192.168.1.100:80...[✓] Nikto scan completed: 7 vulnerabilities found
4
CVE Intelligence Lookup
Matches detected services against the CVE database for known vulnerabilities.
Calculates overall risk scores and prioritizes findings.
[PHASE 5] ▶ Computing threat matrix...[*] Calculating risk scores for 15 findings...[✓] Risk assessment complete - Overall risk: MEDIUM
6
Exploitation Simulation
Identifies potential exploits and generates Metasploit resource scripts (safe mode enabled by default).
[PHASE 6] ▶ Exploit simulation [SAFE MODE]...[*] Running in SAFE MODE - No actual exploitation will occur[✓] Metasploit RC script saved: exploits/exploit_192.168.1.100_21_20240311_143022.rc
7
Report Generation
Compiles all findings into a professional PDF report.
[PHASE 7] ▶ Compiling classified intelligence report...[*] Building PDF document...[✓] Report saved to: reports/AutoPentestX_Report_192_168_1_100_20240311_143045.pdf