AuthInspector

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

README

AuthInspector

Apache-2.0 License Twitter Follow GitHub followers

AuthInspector is an advanced authorization and authentication testing tool designed to automate the assessment of authorization checks using multiple authentication headers. Seamlessly integrated with Burp Suite-generated requests file.

Work flow

Installation

Easy Installations

You can download the prebuilt binary from the releases page.

go install

go install github.com/karma9874/AuthInspector@latest

go build

go get && go build

Usage

AuthInspector provides the following commands for customization:

-proxy		Set up a proxy for testing.
-respBody	Include response body in the output
-reqBody	Include request body in the output.
-timeout	Set the timeout for requests.
-threads	Specify the number of concurrent threads.
-listmime 	Lists the available mimetypes from the burp exported file
-verbose	Verbose output

Running AuthInspector

AuthInspector -proxy http://proxy.example.com -respBody -reqBody -time 5s -threads 20

Config Template

init.yaml

# Burp XML file name to be used in the authentication testing process.
source: example.xml

# Headers with authentication information.
auth:
  - header_key: header_value
  - header_key: header_value  # Do not remove this header (use to check unauthenticated requests)

# Mime types(case sensitive, for more details list mime type check -listmime mode). The tool will focus on checking authentication issues only on specified mime types.
filterMimeTypes:
  - JSON
  - XML

# Global headers to be included in all requests.
headers:
  - User-Agent: "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
  - API-KEY: some_key

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL