Troubleshooting Guide

Common issues and solutions for Apache Sling Auditor.

Common Issues

Scan Takes Too Long

Symptoms:

Solutions:

Example:

1
python auditor.py -t http://target.com:4502 --mode quick --threads 3

Connection Errors

Symptoms:

1
2
Request error: Connection refused
Request timeout: http://target.com:4502

Solutions:

Example:

1
python auditor.py -t https://target.com:4503 -k --timeout 30

SSL Certificate Errors

Symptoms:

1
2
SSL: CERTIFICATE_VERIFY_FAILED
SSL error: certificate verify failed

Solutions:

Example:

1
python auditor.py -t https://target.com:4503 -k

Security Note: Only use

1
-k
in testing environments. Never bypass SSL verification in production security assessments.


Memory Usage High

Symptoms:

Solutions:

Example:

1
python auditor.py -t http://target.com:4502 --threads 2 --wordlist small_wordlist.txt

Default Credentials Not Being Tested

Symptoms:

Cause: Default credentials are only tested if authentication-required paths (401/403 responses) are detected first.

Solutions:

  1. Use full scan mode to check all endpoints:
    1
    
    python auditor.py -t http://target.com:4502 --mode full
    
  2. Manually test credentials:
    1
    
    python auditor.py -t http://target.com:4502 -u admin -p admin
    
  3. Enable brute force (tests credentials regardless):
    1
    
    python auditor.py -t http://target.com:4502 --brute-force
    

Configuration Errors

Symptoms:

1
2
KeyError: 'security_checks'
KeyError: 'configuration'

Cause: Missing or incomplete configuration sections in

1
config/audit_config.yaml
.

Solutions:

Example Fix:

1
2
3
4
5
# Ensure this section exists
security_checks:
  configuration:
    check_dispatcher: true
    check_replication: true

Too Many False Positives

Symptoms:

Solutions:

Example:

1
python auditor.py -t http://target.com:4502 --mode stealth -v

Rate Limiting Detected

Symptoms:

Solutions:

Example:

1
python auditor.py -t http://target.com:4502 --mode stealth --threads 2

No Exploit Outputs Generated

Symptoms:

Solutions:

Example:

1
2
3
4
5
# First detect vulnerabilities
python auditor.py -t http://target.com:4502

# Then exploit if vulnerabilities found
python auditor.py -t http://target.com:4502 --exploit -v

Wordlist Not Loading

Symptoms:

1
2
Wordlist file not found: wordlists/paths.txt
Error loading wordlist: [Errno 2] No such file or directory

Solutions:

Example:

1
2
3
4
5
# Use absolute path
python auditor.py -t http://target.com:4502 --wordlist /full/path/to/wordlist.txt

# Or relative path from project root
python auditor.py -t http://target.com:4502 --wordlist wordlists/sling_paths.txt

Invalid URL Error

Symptoms:

1
Error: Target URL must include scheme (http:// or https://)

Solutions:

Example:

1
2
3
4
5
6
# Correct
python auditor.py -t http://target.com:4502

# Incorrect
python auditor.py -t target.com:4502
python auditor.py -t http://target.com:4502/

Import Errors

Symptoms:

1
2
ModuleNotFoundError: No module named 'aiohttp'
ImportError: No module named 'rich'

Solutions:


Report Files Not Generated

Symptoms:

Solutions:

Example:

1
python auditor.py -t http://target.com:4502 -o /custom/output/path -v

Performance Optimization

For Fast Targets

1
2
3
4
python auditor.py -t http://target.com:4502 \
  --threads 10 \
  --timeout 5 \
  --mode full

For Slow Targets

1
2
3
4
python auditor.py -t http://target.com:4502 \
  --threads 3 \
  --timeout 30 \
  --mode stealth

For Large Wordlists

1
2
3
4
python auditor.py -t http://target.com:4502 \
  --wordlist large_wordlist.txt \
  --threads 5 \
  --mode full

Getting Help

If you encounter issues not covered here:

  1. Check verbose output: Use
    1
    
    -v
    
    flag for detailed information
  2. Review JSON report: Check
    1
    
    scan_results/
    
    for detailed error information
  3. Verify configuration: Ensure
    1
    
    config/audit_config.yaml
    
    is valid
  4. Test connectivity: Verify you can reach the target manually
  5. Check logs: Review console output for error messages

Error Message Reference

Error Message Cause Solution
1
Target URL must include scheme
Missing http:// or https:// Add protocol to URL
1
Connection refused
Target unreachable Check network, firewall, port
1
Request timeout
Target too slow Increase
1
--timeout
1
SSL: CERTIFICATE_VERIFY_FAILED
SSL certificate issue Use
1
-k
flag
1
KeyError: 'section'
Missing config section Check
1
config/audit_config.yaml
1
Wordlist file not found
Invalid wordlist path Verify file path
1
ModuleNotFoundError
Missing dependencies Run
1
pip install -r requirements.txt

Still having issues? Check the Usage Guide or review the Configuration Guide!