Coder Social home page Coder Social logo

gnomee1337 / waf-abuser Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 55 KB

WAF bypass enumeration tool that based on history records discover unprotected IP address

License: MIT License

Python 100.00%
bug-bounty bypass-waf pentest-tool subdomains-enumeration web-pentest

waf-abuser's Introduction

WAF-Abuser

WAF-Abuser is a enumeration tool that uses services with history records to discover direct IP address behind WAF (CloudFlare, Incapsula, Akamai, etc)

WAF-Abuser-overview

Inspired by: https://github.com/vincentcox/bypass-firewalls-by-DNS-history/ and crimeflare

Algorithm:

  1. Discover (sub)domains related to the given domain
  2. Collect IP address history for every found (sub)domain
  3. Excludes WAF associated IP addresses
  4. Compare HTML responses for similarity to the original host
  5. Output results

Setup:

$ pip install -r requirements.txt

Usage:

$ python3 waf-abuser.py --help

usage: waf-abuser.py -d "example.com"

options:
  -h, --help    show this help message and exit
  -d "domain", --domain "domain"    Specify the FQDN/Domain for searches
  -f [FILE...], --file [FILE...]    Specify the file with domains for searches

Optional arguments:
  --similarity-rate [0-100]    Minimum passing percentage for page similarity. (Default value: 70)
  --domains-only    Find only domains and subdomains.

Services in use:

(Sub)domain Gathering:

IP Gathering

Project structure:

conf/                            - Configs for API Keys
output/                          - Final positive results are duplicated in this directory

data/PublicWAFs.txt              - WAF IP ranges in CIDR
data/cdn-ns.json                 - WAFs

modules/subdomain_gathering.py   - Find (sub)domains
modules/ip_gathering.py          - Find IPs in history
modules/utility.py               - Auxiliary functions

cache/                           - Directory for cached intermediate results (.json, .txt, .html)

References

waf-abuser's People

Contributors

gnomee1337 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

blntunlan

waf-abuser's Issues

To add

Add Services:

  • Censys
  • Shodan
  • Zoomeye
  • SecurityTrails
  • Pentest-tools.com
  • DomainCodex.com
  • Netlas.io
  • FullHunt.io
  • BinaryEdge.io
  • DNSlytics.com
  • VirusTotal

Other:

  • API Key support with config/ directory
  • Based on SSL Certs search

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.