ββββ ββββββββββββββββββββ βββββββ βββββββ βββββββ βββββββ ββββββββ
βββββ ββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββ
ββββββ βββββββββ βββ βββββββββββββββββββββββββ βββββββββββββββββ
ββββββββββββββββ βββ βββββββββββββ βββββββββββ βββββββββββββββββ
βββ ββββββββββββββ βββ βββ βββ ββββββββββββββββββββββββββββ
βββ βββββββββββββ βββ βββ βββ βββ βββββββ βββββββ ββββββββ
Modern Network Reconnaissance & Analysis Tool
Built for the Cloud Era | Python 3.9+
| Requirement | Version | Notes |
|---|---|---|
| Python | 3.9+ | Required |
| pip | Latest | For installing packages |
| Root / sudo | Optional | Required for SYN, NULL, FIN, XMAS, UDP scans |
pip install -r requirements.txtOr install individual packages:
pip install aiohttp rich scapy cryptography dnspython# Step 1 β Update system and install system-level deps
sudo apt update && sudo apt install -y python3-pip python3-scapy git pipx python3-venv python3
# Step 2 β Clone the repository
git clone https://github.com/Hriday315/net-probe.git
cd net-probe
# Step 3 β Install Net-Probe
pipx install .
# Step 4 β Run it!
net-probe --helppip install net-probe# Basic TCP scan (no root required)
net-probe -t 192.168.1.1
# SYN stealth scan with service & OS detection (requires root)
sudo net-probe -t 192.168.1.1 -sS -sV -O
# Full TLS audit with HTML report
net-probe -t google.com -p 443 --tls -oH report.html
# Vulnerability scan + WAF detection
net-probe -t target.com -sV --vuln --waf
# Scan entire subnet, export all formats
net-probe -t 192.168.1.0/24 -oA results- Why Net-Probe?
- Key Features
- CLI Switch Reference
- API Integrations
- Practical Examples
- Architecture
- Legal Disclaimer
Net-Probe is an async-first network reconnaissance utility designed to bridge the gaps in traditional tools like Nmap when operating in containerized overlays, multi-cloud platforms, and modern IPv6 address spaces.
| Feature / Capability | Nmap | Net-Probe |
|---|---|---|
| Async Probe Engine | Thread-pool / C loops | Python asyncio native loop |
| TLS Deep Analysis | Basic scripts (limited) | Cert chains, cipher grading (A+ to F) |
| Cloud Environment Detection | No | Identifies AWS, GCP, Azure, DigitalOcean |
| Container & K8s Detection | No | Fingerprints Docker, Kubernetes namespaces |
| API Enrichment | Manual scripting | Built-in Shodan, VirusTotal, Censys support |
| Output Options | XML / Grepable | JSON, CSV, Interactive HTML Dashboard |
| Timing Adjustments | Fixed templates | Adaptive based on RTT & packet drops |
| Terminal Interface | Monochromatic CLI | Rich colors, live progress bars |
- β‘ Async Scan Engine: Thousands of concurrent probes without blocking, using Python
asyncio. - π Multi-Technique Probing: TCP Connect, SYN Stealth, UDP, ACK, NULL, FIN, and XMAS scanning.
- π TLS Suite Analyzer: Certificate metadata, deprecated protocol checks, cipher grading (A+ to F), Heartbleed/POODLE/BEAST detection.
- βοΈ Cloud & Container Discovery: Detects AWS/GCP/Azure hosting, CDNs, Docker, and Kubernetes namespaces.
- π΅οΈ Vulnerability Correlation: Matches open services against local CVE database and live NVD/CIRCL APIs.
- π DNS & Web Intelligence: Subdomain brute-forcing, zone transfer checks, WAF/CMS/technology fingerprinting.
- π Polished Exporters: Pretty-printed JSON, clean spreadsheets (CSV), or an interactive dark-themed HTML report with built-in search.
-t, --targetβ Target host IP, CIDR subnet (e.g.10.0.0.0/24), range (192.168.1.1-50), or domain names-tL, --target-listβ Path to file containing target specifications-x, --excludeβ Comma-separated list of IPs to exclude-xL, --exclude-listβ Path to file containing exclusions-6, --ipv6β Enable IPv6 routing mode
-sT, --tcp-connectβ Standard TCP Connect scan (Default, no root needed)-sS, --syn-scanβ TCP SYN stealth scan (requires root/sudo)-sU, --udp-scanβ UDP scan using payload-aware triggers (requires root)-sA, --ack-scanβ TCP ACK scan for firewall rule detection-sN, --null-scanβ TCP NULL scan (no flags set) (requires root)-sF, --fin-scanβ TCP FIN scan (requires root)-sX, --xmas-scanβ TCP XMAS scan (FIN, PSH, URG flags) (requires root)-sP, --ping-scanβ Discovery ping sweep only (no port scans)
-p, --portsβ Port list (e.g.,80,1-1024,80,443,8080)-pT, --top-portsβ Scan top N most common ports-pA, --all-portsβ Scan all 65535 ports-pS, --service-portsβ Scan known application service ports only
-sV, --service-versionβ Banner grabbing for service versions-O, --os-detectβ Passive & active OS fingerprinting (TTL + TCP window)--tlsβ Deep TLS certificate chain & cipher suite grading--vulnβ Correlate services to known CVEs and default credential lists--dnsβ DNS record enumeration & zone transfer check--wafβ Identify Web Application Firewall (WAF) protections--webβ Map CMS (WordPress, Drupal) and web framework fingerprinting--cloudβ Check hosting environments (AWS, GCP, Azure, Docker, Kubernetes)--tracerouteβ Traceroute hop path mapping with geo info
-Tβ Timing templates (0to5, Paranoid to Insane). Default:3-c, --concurrencyβ Maximum concurrent tasks. Default:500--timeoutβ Connection timeout in seconds. Default:3.0--retriesβ Connection retry limit. Default:2--rate-limitβ Limit packet-rate per second. Default:0(unlimited)--adaptiveβ Adjust rates dynamically based on packet drops
-oJ <file>β Export JSON output file-oC <file>β Export CSV output spreadsheet-oH <file>β Export HTML audit dashboard report-oX <file>β Export XML report (Nmap integration compatible)-oA <prefix>β Save to all formats with this prefix-vβ Verbose output (use-vv,-vvvfor debug details)-q, --quietβ Quiet mode; suppresses console logs--no-colorβ Disable colored console styling
--spoof-macβ Spoof interface MAC address--decoyβ Send decoys from mock source addresses--randomizeβ Randomize target scan order--fragβ Fragment packets to bypass IDS/IPS--ttlβ Specify custom IP TTL value--source-portβ Spoof source port number
--shodan-key <KEY>β Shodan API key (inline, no config file needed)--vt-key <KEY>β VirusTotal API key--censys-id <ID>β Censys API ID--censys-secret <SECRET>β Censys API Secret--securitytrails-key <KEY>β SecurityTrails API key
-V, --versionβ Print version details--updateβ Update vulnerability databases--resume <file>β Resume interrupted scan state from JSON file--openβ Filter and display only open ports
Net-Probe supports optional external intelligence APIs to enrich your results. You do not need an API key to use the core scanning features β they are fully optional.
You can pass API keys directly in the command line β no config file or source code editing needed:
# With Shodan key for enriched host data
net-probe -t 192.168.1.1 --shodan-key YOUR_SHODAN_KEY
# With VirusTotal for malware/reputation checks
net-probe -t target.com -sV --vuln --vt-key YOUR_VT_KEY
# With Censys for banner + cert correlation
net-probe -t 10.0.0.0/24 --censys-id YOUR_ID --censys-secret YOUR_SECRET
# Full enrichment with all APIs
net-probe -t target.com -sV --vuln --tls --web \
--shodan-key YOUR_SHODAN_KEY \
--vt-key YOUR_VT_KEY \
--censys-id YOUR_ID \
--censys-secret YOUR_SECRET \
--securitytrails-key YOUR_ST_KEYexport NETPROBE_SHODAN_KEY="your_shodan_key"
export NETPROBE_VT_KEY="your_virustotal_key"
export NETPROBE_CENSYS_ID="your_censys_id"
export NETPROBE_CENSYS_SECRET="your_censys_secret"
export NETPROBE_SECURITYTRAILS_KEY="your_st_key"
net-probe -t 192.168.1.1Create ~/.config/net-probe/config.json:
{
"shodan_api_key": "your_shodan_key",
"virustotal_api_key": "your_virustotal_key",
"censys_api_id": "your_censys_id",
"censys_api_secret": "your_censys_secret",
"securitytrails_api_key": "your_st_key"
}| Service | Purpose | Free Tier | Get Key |
|---|---|---|---|
| Shodan | Host intel, open ports, banners | 100 results/query | shodan.io |
| VirusTotal | Malware/reputation checks | 4 requests/min | virustotal.com |
| Censys | Certificate + banner search | 250 results/query | censys.io |
| SecurityTrails | DNS history, subdomain data | 50 API calls/month | securitytrails.com |
| NVD API | CVE correlation | Unlimited (free) | No key required |
| CIRCL CVE | CVE lookup | Unlimited (free) | No key required |
| ip-api.com | Geolocation in traceroute | Unlimited (free) | No key required |
1. Scan subnet and save in all formats:
net-probe -t 192.168.1.0/24 -oA subnet_scan2. SYN stealth scan on top 100 ports:
sudo net-probe -t 10.0.0.1 -sS -pT 1003. Audit HTTPS server for SSL vulnerabilities:
net-probe -t mysecureserver.com -p 443 --tls -oH tls_audit.html4. Vulnerability check, WAF detection, and web stack fingerprinting:
net-probe -t target.com -sV --vuln --waf --web5. Scan container orchestration endpoints:
net-probe -t 10.10.10.15 -p 10250,2375,2376 --cloud6. Full DNS enumeration and subdomain discovery:
net-probe -t example.com --dns7. Shodan-enriched reconnaissance with Censys backup:
net-probe -t 203.0.113.0/28 -sV -O --cloud \
--shodan-key $SHODAN_KEY \
--censys-id $CENSYS_ID --censys-secret $CENSYS_SECRET \
-oH recon_report.html8. Paranoid-speed stealth scan with packet fragmentation:
sudo net-probe -t 192.168.5.1 -sS -sV -T 0 --frag --randomizenet-probe/
βββ net_probe/
β βββ core/ # Async port scan & discovery engines
β β βββ scanner.py # Main async orchestrator
β β βββ tcp_scanner.py # TCP Connect, SYN, ACK, NULL, FIN, XMAS
β β βββ udp_scanner.py # UDP scanning
β β βββ host_discovery.py # ARP, ICMP, TCP ping discovery
β β βββ port_strategy.py # Port range parsing & top-port lists
β β βββ rate_limiter.py # Adaptive rate limiting
β βββ modules/ # Analysis modules (run after scan)
β β βββ service_detect.py # Banner grabbing & service fingerprinting
β β βββ os_detect.py # OS fingerprinting (TTL + TCP window)
β β βββ tls_analyzer.py # TLS/SSL deep analysis & grading
β β βββ vuln_scanner.py # CVE correlation + default creds check
β β βββ dns_enum.py # DNS records + subdomain brute force
β β βββ web_detect.py # WAF, CMS, web tech fingerprinting
β β βββ traceroute.py # Network path tracing
β β βββ cloud_detect.py # Cloud/CDN/container detection
β βββ output/ # Export engines
β β βββ formatter.py # Output dispatch engine
β β βββ json_output.py # JSON exporter
β β βββ csv_output.py # CSV exporter
β β βββ html_report.py # Interactive HTML dashboard
β β βββ console_output.py # Rich terminal UI
β βββ utils/ # Utility helpers
β β βββ network.py # IP/CIDR parsing helpers
β β βββ colors.py # Terminal styling
β β βββ validators.py # Input validation
β βββ config.py # Configuration & API key management
β βββ models.py # Shared data models
β βββ cli.py # CLI argument parser
βββ requirements.txt
βββ setup.py
βββ README.md
Net-Probe is intended for ethical security research, authorized penetration testing, and network auditing purposes only.
Unauthorized port scanning of systems without explicit permission may violate local, national, or international laws including the Computer Fraud and Abuse Act (CFAA) and similar regulations.
The authors assume no liability for misuse or damage caused by this tool. Users are solely responsible for ensuring authorization before scanning any target network or host.
Licensed under the MIT License.
Built with β€οΈ for the security community Β |Β Star β if you find it useful