Giter Site home page Giter Site logo

hauditor's Introduction

hauditor

Overview

hauditor is a tool designed to analyze the security headers returned by a web page and report dangerous configurations.

hauditor Image

Features

  • Security Header Evaluation: Examines the presence and values of identified security headers.
  • Overall Configuration Analysis: Performs a comprehensive evaluation of the headers before flagging potentially risky configurations.
  • Content-Security-Policy Directive Analysis: Analyzes CSP directives with a focus on configurations that may allow XSS attacks.
  • WAF Bypass: Makes basic adjustments to the request to avoid potential blocking by WAFs.
  • Multiple Target Analysis: It is possible to analyze security headers across multiple pages and domains.
    • Example Use Case: To assess all HTTP security headers for a given domain being analyzed via BurpSuite, right-click on the domain in Burp's SiteMap section, select "Copy URLs in this host," save them in a text file, and feed it to hauditor via the -f flag.

Install

go install github.com/trap-bytes/hauditor@latest

Usage:

hauditor -h

This will display help for the tool. Here are all the arguments it supports.

Usage:
  hauditor [arguments]

The arguments are:
  -t string    Specify the target URL (e.g., domain.com or https://domain.com)
  -f string    Specify the file (e.g., domain.txt)
  -m string    HTTP method (HEAD, GET, POST, PUT, etc.)
  -b string    HTTP request body
  -p string    Specify the proxy URL (e.g., 127.0.0.1:8080)
  -c string    Specify cookies (e.g., "user_token=g3p21ip21h;" 
  -r string    Specify headers (e.g., "Myheader: test")
  -timeout     Timeout for HTTP requests in seconds
  -h           Display help

Examples:
  ./hauditor -t domain.com
  ./hauditor -t https://domain.com -p 127.0.0.1:8080
  ./hauditor -f domains.txt
  ./hauditor -c "user_token=hjljkklpo"
  ./hauditor -r "Myheader: test"

hauditor's People

Contributors

trap-bytes 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.