Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
unwaf β€” Go tool that passively discovers the real origin IP behind a WAF/CDN using multiple OSINT sources, then verifies candidates via HTML similarity, SSL cert fingerprints, and HTTP headers. | Kitploit
Tools/GitHubGitHub/mmarting/unwaf
OSINT (Open Source Intelligence)ReconnaissanceNetwork MappingPort ScanningVulnerability AnalysisDNS & Subdomain EnumerationInformation GatheringWAF BypassWeb SecurityPenetration Testing
GitHub
19622239Feb 22, 2026Reviewed by Kitploit
Share
mmarting/unwaf

unwaf

Go tool that passively discovers the real origin IP behind a WAF/CDN using multiple OSINT sources, then verifies candidates via HTML similarity, SSL cert fingerprints, and HTTP headers.

View Repository

Unwaf

Go Version License: GPL v3

Unwaf is a Go tool designed to help identify WAF bypasses using passive techniques. It automates the process of discovering the real origin IP behind a WAF/CDN by combining multiple discovery methods and verifying candidates through HTML similarity comparison, SSL certificate fingerprinting, and HTTP header analysis.

Unwaf is automating the steps I explained on this LinkedIn Post: Passive WAF bypassing

Current version: 3.0.0 β€” See CHANGELOG.md for version history.

Table of Contents

  • How It Works
  • Discovery Methods
  • Verification Methods
  • Installation
  • Usage
  • Options
  • Examples
  • Configuration
  • Author
  • License

How It Works

  1. Dynamic WAF CIDRs β€” Fetches live Cloudflare IP ranges and combines with hardcoded WAF/CDN ranges (including IPv6).
  2. WAF Confirmation β€” Resolves the domain's current A records, checks if they fall in known WAF/CDN ranges, and fingerprints via HTTP headers.
  3. Favicon Hashing β€” Fetches favicon.ico and generates MD5, SHA256, and MMH3 (Shodan) hashes.
  4. IP Discovery β€” Runs all enabled methods (up to 15 sources) to collect candidate origin IPs.
  5. Filtering β€” Discards IPs belonging to known WAF/CDN ranges and IPs that match the domain's current DNS resolution.
  6. Port Scanning β€” Checks candidates on 8 common web ports concurrently with progress bar.
  7. Origin Verification β€” For each web server:
    • Fetches HTML (direct IP + Host-header injection) and compares with reference
    • Compares SSL certificate fingerprints on TLS ports
    • Compares HTTP response headers
    • Calculates overall score (60% HTML + 25% cert + 15% headers Β± status)
  8. Neighbor Scanning (optional) β€” Expands confirmed bypass IPs to /24 subnets and scans neighbors.
  9. ASN Lookup β€” Identifies ASN and organization for confirmed bypass IPs.
  10. Results β€” Reports matches above the threshold with scores, ASN info, and curl verification commands.

Discovery Methods

MethodTypeDescription
SPF recordsFreeExtracts IPs from ip4:/ip6: SPF mechanisms
MX recordsFreeResolves mail server hostnames (skips Google/Microsoft/etc.)
Subdomain probingFreeResolves 30+ common subdomains (mail, dev, staging, cpanel, origin, etc.)
Certificate TransparencyFreeQueries crt.sh for all subdomains, resolves to non-WAF IPs
AlienVault OTXFreePassive DNS records (optional API key raises rate limits)
RapidDNSFreeSubdomain enumeration via HTML scraping
HackerTargetFreeHost search API (50 req/day)
Wayback MachineFreeExtracts hostnames from archived URLs via CDX API
WAF detectionFreeFingerprints the WAF vendor via HTTP headers
Favicon hashingFreeGenerates MD5, SHA256, and MMH3 hashes for Shodan/Censys search
Shodan host searchAPI (free tier)Searches by SSL cert CN, hostname, and favicon hash (search requires membership)
SecurityTrails historyAPI (free tier)Historical DNS A records (50 req/month free)
ViewDNS historyAPI (free tier)Historical DNS A records (250 free requests)
Censys SSL searchAPI (paid)Finds hosts presenting SSL certs matching the domain
DNSDB/FarsightAPI (free tier)Historical DNS records via NDJSON API (Community Edition: 500 queries/month)

Verification Methods

MethodWeightDescription
HTML similarity60%Diff-based text comparison with reference page
SSL certificate25%Serial number (50%), CN match (25%), SAN overlap (25%)
HTTP headers15%Server, X-Powered-By, and Set-Cookie name comparison
Status codeΒ±5-20%Bonus for match, penalty for success/error mismatch

Installation

go install github.com/mmarting/unwaf@latest

Usage

unwaf -h

Options

FlagLong FlagDescriptionDefault
-d--domainThe domain to check(required unless -l)
-s--sourceSource HTML file to compareβ€”
-c--configConfig file path$HOME/.unwaf.conf
-t--thresholdSimilarity threshold percentage60
-w--workersNumber of concurrent workers50
-v--verboseEnable verbose outputfalse
-q--quietSilent mode: only output bypass IPsfalse
--timeoutHTTP timeout in seconds10
--rate-limitMax HTTP requests per second, 0=unlimited0
--proxyProxy URL (http:// or socks5://)β€”
--scan-neighborsScan /24 neighbors of confirmed bypass IPsfalse
--jsonOutput results as JSONfalse
-l--listFile containing domains to check, one per lineβ€”
-o--outputWrite results to fileβ€”
--versionPrint version and exitβ€”
-h--helpDisplay help informationβ€”

Examples

Check a domain (free methods only, no API keys needed):

unwaf -d example.com

Both bare domains and full URLs work:

unwaf -d https://example.com/path

Check with a manually saved HTML file (useful when WAF blocks the tool):

unwaf -d example.com -s original.html

Lower the similarity threshold to catch partial matches:

unwaf -d example.com -t 40

Increase concurrency for faster scanning:

unwaf -d example.com -w 100

Verbose mode to see every resolved subdomain/IP:

unwaf -d example.com -v

Silent mode for automation β€” outputs only IPs, one per line:

unwaf -q -d example.com

JSON output for automation:

unwaf -d example.com --json

Batch mode with domain list:

unwaf -l domains.txt --json -o results.json

Use a proxy (Tor, Burp, etc.):

unwaf -d example.com --proxy socks5://127.0.0.1:9050

Scan /24 neighbors of bypass IPs:

unwaf -d example.com --scan-neighbors

Rate-limit requests to 2/sec with a 5s timeout:

unwaf -d example.com --rate-limit 2 --timeout 5

Piping into other tools

# Feed into nuclei
unwaf -q -d target.com | nuclei -l - -t waf-bypass.yaml

# Feed into httpx
unwaf -q -d target.com | httpx -silent

# Batch recon
cat domains.txt | while read d; do unwaf -q -d "$d" | sed "s/^/$d,/"; done > results.csv

# JSON + jq
unwaf -d target.com --json | jq '.bypasses[].ip'

Configuration

On first run, Unwaf creates $HOME/.unwaf.conf with this template:

# Unwaf config file β€” API keys for optional discovery methods
# Free methods (SPF, MX, crt.sh, subdomains, OTX, RapidDNS, HackerTarget, Wayback) work without any keys.

# ViewDNS.info β€” DNS history (250 free requests, no credit card required)
viewdns=""

# SecurityTrails β€” DNS history (https://securitytrails.com/corp/api)
securitytrails=""

# Censys β€” SSL certificate search (requires a PAID license)
censys_token=""
censys_org_id=""

# AlienVault OTX β€” passive DNS (optional, raises rate limits)
otx_api_key=""

# Shodan β€” host search by SSL cert, hostname, favicon hash
shodan_api_key=""

# DNSDB/Farsight β€” historical DNS records (Community Edition: 500 queries/month free)
dnsdb_api_key=""

Author

MartΓ­n MartΓ­n

  • Website
  • LinkedIn
  • GitHub

License

Distributed under the GPL v3 License.

Download Tool

Related Tools

  • sherlock

    Hunt down social media accounts by username across social networks

  • maigret

    πŸ•΅οΈβ€β™‚οΈ Collect a dossier on a person by username from 6K websites

  • social-analyzer

    API, CLI, and Web App for analyzing and finding a person's profile in 1000 social media \ websites

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    785
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    454
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    399
  • 5

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices

    372
  • 6

    faraday

    infobyte/faraday

    Open-source and AI-powered cybersecurity tools for offensive security, vulnerability management, and autonomous pentesting. Built by hackers in Latin America, used worldwide.

    354

Explore all tools

Browse our collection of tools

View all tools β†’