Code Monkey home page Code Monkey logo

cf-bypass's Introduction

CF-Bypass

Description

This tool is a simple bypass for a website running Cloudflare by finding the Origin IP of the domain. By doing so we are able to access the website without going trough Cloudflare's IP

This comes from a Misconfiguration on the Origin IP, that should not allow traffic outside of Cloudflare.

Install

Clone the project and run the following command

chmod u+x install.sh && ./install.sh

Usage

CF-Bypass is a Scanner that will attempt to bypass Cloudflare by finding the Origin IP of the server.
	Usage:
		cf-bypass <flag> [options]

	Flags:
		check <hostname> <host>: Check if you can bypass the provided Hostname using the provided IP/Host

	Options:
		-h: Show this help
		-d: Enable Debugging
		-f: file containing a list of subdomains
		-s: silent output
		-m: Enabling Mode. Available Modes:
			st: Activate Security Trails Detection
			c: Activate Collaborator Detection
	Examples:
		cat subs.txt | cf-bypass [options]; # Uses Security Trails credits
		cf-bypass check www.cloudflare.com 1.1.1.1
		cf-bypass -f subs.txt
		echo www.cloudflare.com | cf-bypass -m st,c

Future Improvements

  • Add support for Favicon Hash IP discovery with Shodan
  • Add support for Certificate based IP discovery
  • Add support for Header based SSRF discovery (X-Forwarded-For: collaborator --> Finding the IP)

cf-bypass's People

Contributors

remonsec avatar roni-carta avatar

Stargazers

 avatar

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.