Skip to content

Commit e7f7cd2

Browse files
committed
updates
1 parent 66364d2 commit e7f7cd2

File tree

4 files changed

+31
-4
lines changed

4 files changed

+31
-4
lines changed

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
# AuthInspector
22

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

77
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.
88

9+
# How it works
10+
<h3 align="center">
11+
<img src="static/flow.png" width="700px"></a>
12+
</h3>
13+
914
# Installation
15+
16+
## Easy Installationss
17+
You can download the prebuilt binary from the [releases](https://github.com/karma9874/AuthInspector/releases) page.
18+
19+
## Go User
1020
`go install github.com/karma9874/AuthInspector@latest`
1121

1222
# Usage
@@ -21,6 +31,9 @@ AuthInspector provides the following commands for customization:
2131
-verbose Verbose output
2232
```
2333

34+
## Running AuthInspector
35+
`AuthInspector -proxy http://proxy.example.com -respBody -reqBody -time 5s -threads 20`
36+
2437
## Config Template
2538
init.yaml
2639
```
@@ -43,6 +56,5 @@ headers:
4356
- API-KEY: some_key
4457
```
4558

46-
## Example:
47-
`authinspector -proxy http://proxy.example.com -respBody -reqBody -time 5s -threads 20`
59+
4860

cmdOptions/utils.go

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ import (
88
"bufio"
99
)
1010

11+
func Banner(){
12+
var banner = `
13+
___ __ __ ____ __
14+
/ | __ __/ /_/ /_ / _/___ _________ ___ _____/ /_____ _____
15+
/ /| |/ / / / __/ __ \ / // __ \/ ___/ __ \/ _ \/ ___/ __/ __ \/ ___/
16+
/ ___ / /_/ / /_/ / / // // / / (__ ) /_/ / __/ /__/ /_/ /_/ / /
17+
/_/ |_\__,_/\__/_/ /_/___/_/ /_/____/ .___/\___/\___/\__/\____/_/
18+
/_/
19+
- By karma9874`
20+
fmt.Println(banner)
21+
22+
}
23+
1124
func YesOrNo(s string) bool {
1225
reader := bufio.NewReader(os.Stdin)
1326

@@ -28,4 +41,4 @@ func YesOrNo(s string) bool {
2841
}
2942
}
3043
return true
31-
}
44+
}

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import (
1818

1919
func main() {
2020

21+
cmdOptions.Banner()
22+
2123
wg := &sync.WaitGroup{}
2224
cmdOptions := new(cmdOptions.CmdOpt)
2325
var progressBar *pb.ProgressBar

static/flow.png

536 KB
Loading

0 commit comments

Comments
 (0)