Skip to main content

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

Purpose: Port scanning, service detection, OS fingerprintingInstallation:
Verification:
AutoPentestX will not work without Nmap. It’s the core scanning engine.
Purpose: Web server vulnerability scanning, CGI testingInstallation:
Verification:
Workaround if unavailable:
Purpose: Automated SQL injection detection and exploitationInstallation:
Verification:
Workaround if unavailable:
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.
Additional system packages required:
Core Tools
PDF Generation Dependencies
SSL/TLS Support

Python Dependencies

Requirements File Breakdown

AutoPentestX uses these Python packages (from requirements.txt):
requirements.txt
Purpose: Python wrapper for NmapInstallation:
Common Issues:
Solution:
Purpose: HTTP library for web vulnerability scanning and CVE lookupsInstallation:
Common Issues:
Solution:
Purpose: PDF report generationInstallation:
Common Issues:
Solution:
Purpose: SQL parsing and formattingInstallation:
Issues: Rarely causes problems. If needed:

Complete Dependency Resolution

Fresh Installation

1

Update system package lists

2

Install system dependencies

3

Create virtual environment

4

Upgrade pip

5

Install Python packages

6

Verify installation

7

Test system tools


Troubleshooting Dependency Installation

Symptoms:
  • Package installation errors
  • Compilation failures
  • Permission denied errors
Solutions:
Error Message:
Solution:
1

Create fresh virtual environment

2

Upgrade pip

3

Install requirements

Creating a fresh virtual environment resolves most dependency conflicts.
Error Message:
Solution:
Symptoms:
  • Timeout errors during pip install
  • Cannot reach PyPI
  • SSL certificate errors
Solutions:

Verification Script

Use this script to verify all dependencies:
check_dependencies.py
Run with:

Platform-Specific Notes


Getting Help

If dependencies still fail to install:
  1. Collect diagnostic information:
  2. Check error logs:
  3. Consult other guides:

Need More Help?

Open a GitHub issue with your system info and error messages