Code Monkey home page Code Monkey logo

fourohme's Introduction

FourOhMe

FourOhMe is a tool for testing HTTP headers on a website in order to try to bypass 40* HTTP codes. It tries to bypass the 40* status code by manipulating the HTTP request via HTTP headers and URL payloads.

Installation

Install Golang, then run:

go install -v github.com/topscoder/fourohme@latest

Usage

FourOhMe can be used in three ways:

  1. Reading URLs from a file:

    $ fourohme -file urls.txt
    

    where urls.txt is a file containing a list of URLs separated by newlines.

  2. Reading URLs from standard input (STDIN):

    $ cat urls.txt | fourohme
    

    where urls.txt is a file containing a list of URLs separated by newlines.

    Or attach in your favourite chain commands:

    $ cat domains.txt | subfinder | httpx -mc 401,402,403,404,405 -silent | fourohme 
    
  3. Reading single URL:

    $ fourohme -url https://foo.bar
    

Options

  • -file: Path to a file containing URLs.
  • -force: Force the scanner to scan all URL's regardless of the initial HTTP status code.
  • -silent: Don't print shizzle. Only what matters.
  • -threads: The amount of threads to be used to execute the HTTP requests. Be gentle or get blocked. (default 4)
  • -url: URL to make requests to

Output

FourOhMe prints the responses of each request in a colored format. A successful response (HTTP status code 200) is printed in green, while an unsuccessful response is printed in red.

Contributing

Contributions are welcome! If you find a bug or want to suggest a new feature, please open an issue or submit a pull request.

TODO

  • Add a WAF check
  • Add content check filter false positives ("The requested URL was rejected")
  • Try to filter false positives by checking the content-length

License

FourOhMe is released under the MIT License.

fourohme's People

Contributors

topscoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fourohme's Issues

Add method option

Allow to use other HTTP verbs than get: post, put, update, delete, etc...

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.