Documentation Index
Fetch the complete documentation index at: https://mintlify.com/GhostTroops/scan4all/llms.txt
Use this file to discover all available pages before exploring further.
Overview
scan4all supports SOCKS5 proxy routing, enabling you to scan targets through proxy servers for anonymity, bypassing restrictions, or accessing internal networks.Basic Proxy Usage
Route all scan traffic through a SOCKS5 proxy:scan4all currently supports SOCKS5 proxies only. HTTP/HTTPS proxies are not supported.
Proxy URL Format
The proxy URL must use the SOCKS5 protocol scheme:Examples
- Basic Proxy
- With Authentication
- Remote Proxy
Common Proxy Scenarios
Tor Network
Route scans through Tor for anonymity:SSH Tunnel
Create a SOCKS5 proxy via SSH dynamic port forwarding:Create SSH Tunnel
-D 1080: Create SOCKS5 proxy on local port 1080-C: Enable compression-N: No remote command execution
- Scanning internal networks from outside
- Accessing resources behind firewalls
- Using jump hosts for security compliance
Cloud Proxy Services
Use commercial proxy services:- ProxyMesh
- Bright Data (formerly Luminati)
- Smartproxy
- IPRoyal
Proxy Configuration Options
Combine with Other Settings
When using proxies:
- Increase timeout values (3000-5000ms)
- Reduce concurrency (
-c 5-10) - Lower rate limits (
-rate 50-100) - Add more retries (
-retries 5)
Multiple Target Scan Through Proxy
Proxy Authentication
For proxies requiring authentication:URL Encoding Special Characters
If your username or password contains special characters, URL-encode them:@→%40#→%23$→%24&→%26:→%3A
Testing Proxy Connectivity
Verify your proxy works before running scans:Proxy Performance Optimization
Recommended Settings for Proxied Scans
| Setting | Without Proxy | With Proxy | Reason |
|---|---|---|---|
Threads (-c) | 25 | 5-10 | Reduce proxy load |
Rate (-rate) | 1000 | 50-100 | Prevent proxy blocking |
| Timeout | 1000ms | 3000-5000ms | Account for latency |
| Retries | 3 | 5 | Handle proxy instability |
Proxy Chains
For multi-hop proxy routing, use proxychains:Troubleshooting
Connection Timeout
Problem: Scan fails with timeout errors Solution:Proxy Refuses Connection
Problem: “connection refused” error Solutions:- Verify proxy is running:
netstat -an | grep 1080 - Check proxy authentication
- Test proxy with curl first
Slow Scan Performance
Problem: Scans are extremely slow Solutions:- Reduce concurrency:
-c 5 - Lower rate:
-rate 50 - Use faster proxy service
- Avoid chaining multiple proxies
DNS Resolution Issues
Problem: Domain names not resolving through proxy Solution: Specify custom resolvers:Security Considerations
Anonymity Tips
Use Tor for Anonymity
Tor provides better anonymity than commercial proxies
Combine with VPN
Layer VPN + Tor + Proxy for maximum privacy
Rotate Proxies
Use different proxies for different targets
Verify IP Leaks
Test for DNS and IP leaks before scanning
Practical Examples
Proxy vs VPN
| Feature | SOCKS5 Proxy | VPN |
|---|---|---|
| Speed | Moderate | Fast |
| Anonymity | Low-Medium | High |
| Configuration | Simple | Complex |
| Protocol Support | Application-level | System-wide |
| Cost | Free/Cheap | Subscription |
| Use Case | Specific scans | All traffic |
For production security assessments, consider using a VPN instead of or in addition to proxies.
Next Steps
Basic Usage
Return to basic scanning techniques
Advanced Options
Explore more advanced features