Skip to main content
The target specification is the only required parameter for AutoPentestX. It defines the system or network you’re authorized to test.

Target Flag

string
required
Target IP address or domain name to scanExamples:
  • IPv4 address: 192.168.1.100
  • Domain name: example.com
  • Private network: 10.0.0.1
  • Localhost: 127.0.0.1

Supported Formats

IPv4 Addresses

Standard IPv4 notation is fully supported:

Domain Names

Fully qualified domain names (FQDN) are resolved automatically:
AutoPentestX performs DNS resolution before scanning. Ensure the target domain resolves correctly in your network environment.

Target Examples

Single Host Scanning

Scan Phases:
  1. DNS resolution (if domain name)
  2. Port scanning (Nmap)
  3. Service detection
  4. Vulnerability assessment
  5. Web application testing (unless --skip-web)
  6. Exploitation attempts (unless --skip-exploit)

Lab Environment Testing

Remote Server Assessment

When testing internet-facing targets:
  • Verify authorization documentation
  • Respect rate limits and time windows
  • Be aware of geographic restrictions
  • Consider using VPN or authorized source IPs

Target Validation

Pre-Scan Confirmation

AutoPentestX displays a confirmation prompt before initiating scans:
Type yes to proceed or no to abort. This safety mechanism prevents accidental unauthorized scanning.

Network Reachability

Testing Connectivity

Before running a full scan, verify target reachability:

Firewall Considerations

Problem: Target not responding to scansPossible Causes:
  • Host firewall blocking ICMP/TCP probes
  • Network firewall filtering scan traffic
  • Target is offline or unreachable
  • VPN/routing configuration issues
Solutions:

Scope Restrictions

What AutoPentestX Does NOT Support

Unsupported Target Formats:
  • CIDR ranges: 192.168.1.0/24
  • Multiple targets: 192.168.1.1,192.168.1.2
  • IP ranges: 192.168.1.1-254
  • Wildcard notation: 192.168.1.*
Current Limitation: AutoPentestX targets one host per execution.For multiple targets, run separate scans:

Target Selection Best Practices

Internal Network Testing

1

Identify Test Targets

Document all systems in scope:
  • Production servers
  • Development environments
  • Network appliances
  • Virtual machines
2

Verify Authorization

Obtain written approval:
  • Signed penetration testing agreement
  • Defined scope and exclusions
  • Emergency contact information
  • Testing time windows
3

Start with Non-Production

Begin testing on safe environments:
4

Escalate to Production

After validating the process:

External Network Testing

  • Written authorization from organization
  • Scope clearly defined in contract
  • Notification sent to hosting provider
  • Emergency contacts documented
  • Testing window scheduled
  • Legal team approval obtained

Target Information Display

During execution, AutoPentestX displays target information:

Troubleshooting Target Issues

Invalid Target Error

Error:
Solution: Use valid IPv4 address or FQDN

DNS Resolution Failure

Error:
Solution:

Network Unreachable

Debugging Steps:

CLI Options

Configure scan behavior with flags

Examples

Real-world target scanning examples

Network Scanning

Understand the scanning process

Safe Mode

Protection mechanisms during testing