Code Monkey home page Code Monkey logo

virtualhost-payload-generator's Introduction

Build Status Coverity Status

Virtual Host Payload Generator

Burp extension providing a set of values for the HTTP request Host header for the Burp Intruder in order to abuse virtual host resolution.

It's based on the information provided by this article from the Burp team: Cracking the Lens: Targeting HTTP's Hidden Attack-Surface

The idea of the extension is to use the Burp Intruder in order to identify different responses when Host header is abused and then find an potential attack surface.

Usage

Step 1: Send a request to the Intruder then set a placeholder on the Host header and replace the relative URL by the absolute version of the URL on the first line:

Step1

Step 2: Select the Payload Sets from an Extension-generated type and select the Host headers extension payload generator.

Do not forget to uncheck the Payload Encoding option:

Step2

Step3

Step 3: Launch the attack, you can ignore the warning The Host header in the request does not match the specified target host because it's normal in our execution context.

You will see the different responses code, content and size according to the Host header value used as payload:

Step4

Payloads

Payload are stored in the properties file named virtualhost-payload-generator-config.properties, precisely in the following key:

# List (separated by a comma) of the host names to use
# Ports list will be generated from 1 -> 65535
host.header.names=localhost,127.0.0.1,intranet,proxy,mail,exchange,ad,fw,reverse-proxy

Build the extension

The extension is developed using IntelliJ IDEA Community Edition.

Use the following Maven command mvn clean package.

The extension will be available, as a jar file, in the target folder.

virtualhost-payload-generator's People

Contributors

righettod avatar

Watchers

James Cloos avatar Draven 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.