Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
karma9874 committed Dec 13, 2023
1 parent 66364d2 commit e7f7cd2
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 4 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# AuthInspector

[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Apache-2.0 License](https://img.shields.io/badge/license-Apache2.0-blue.svg)](http://www.apache.org/licenses/)
[![Twitter Follow](https://img.shields.io/twitter/follow/karma9874?label=Follow&style=social)](https://twitter.com/karma9874)
[![GitHub followers](https://img.shields.io/github/followers/karma9874?label=Follow&style=social)](https://github.com/karma9874)

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.

# How it works
<h3 align="center">
<img src="static/flow.png" width="700px"></a>
</h3>

# Installation

## Easy Installationss
You can download the prebuilt binary from the [releases](https://github.com/karma9874/AuthInspector/releases) page.

## Go User
`go install github.com/karma9874/AuthInspector@latest`

# Usage
Expand All @@ -21,6 +31,9 @@ AuthInspector provides the following commands for customization:
-verbose Verbose output
```

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

## Config Template
init.yaml
```
Expand All @@ -43,6 +56,5 @@ headers:
- API-KEY: some_key
```

## Example:
`authinspector -proxy http://proxy.example.com -respBody -reqBody -time 5s -threads 20`


15 changes: 14 additions & 1 deletion cmdOptions/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ import (
"bufio"
)

func Banner(){
var banner = `
___ __ __ ____ __
/ | __ __/ /_/ /_ / _/___ _________ ___ _____/ /_____ _____
/ /| |/ / / / __/ __ \ / // __ \/ ___/ __ \/ _ \/ ___/ __/ __ \/ ___/
/ ___ / /_/ / /_/ / / // // / / (__ ) /_/ / __/ /__/ /_/ /_/ / /
/_/ |_\__,_/\__/_/ /_/___/_/ /_/____/ .___/\___/\___/\__/\____/_/
/_/
- By karma9874`
fmt.Println(banner)

}

func YesOrNo(s string) bool {
reader := bufio.NewReader(os.Stdin)

Expand All @@ -28,4 +41,4 @@ func YesOrNo(s string) bool {
}
}
return true
}
}
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import (

func main() {

cmdOptions.Banner()

wg := &sync.WaitGroup{}
cmdOptions := new(cmdOptions.CmdOpt)
var progressBar *pb.ProgressBar
Expand Down
Binary file added static/flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e7f7cd2

Please sign in to comment.