commit
5e1c764dcc
|
@ -0,0 +1,3 @@
|
|||
# Compiled binaries
|
||||
*.exe
|
||||
Git-Secret
|
12
README.md
12
README.md
|
@ -6,9 +6,10 @@
|
|||
![](https://img.shields.io/github/stars/daffainfo/Git-Secret)
|
||||
![](https://img.shields.io/github/last-commit/daffainfo/Git-Secret)
|
||||
|
||||
## Update V1.0.1 🚀
|
||||
## Update V1.0.2 🚀
|
||||
- Removing some checkers
|
||||
- Adding example file contains github dorks
|
||||
- Add support to `go install` command ([issue #5](https://github.com/daffainfo/Git-Secret/issues/5))
|
||||
|
||||
## Screenshoot 📷
|
||||
|
||||
|
@ -16,7 +17,14 @@
|
|||
|
||||
## How to Install
|
||||
|
||||
```go get github.com/daffainfo/Git-Secret```
|
||||
To install the latest version:
|
||||
|
||||
```
|
||||
go install github.com/daffainfo/Git-Secret@latest
|
||||
```
|
||||
|
||||
Alternatively, you can clone this repo and build the project by running
|
||||
`go build` inside the cloned repo.
|
||||
|
||||
## How to Use
|
||||
|
||||
|
|
4
go.mod
4
go.mod
|
@ -1,5 +1,3 @@
|
|||
module github.com/daffainfo/Git-Secret
|
||||
|
||||
go 1.16
|
||||
|
||||
replace github.com/daffainfo/Git-Secret => /Git-Secret
|
||||
go 1.18
|
||||
|
|
13
main.go
13
main.go
|
@ -59,12 +59,12 @@ type Commit struct {
|
|||
|
||||
func show_banner() {
|
||||
fmt.Println(Blue(`
|
||||
____ _ ___ ____ ____ ____ ____ ____ ___
|
||||
| __ | | __ [__ |___ | |__/ |___ |
|
||||
|__] | | ___] |___ |___ | \ |___ |
|
||||
____ _ ___ ____ ____ ____ ____ ____ ___
|
||||
| __ | | __ [__ |___ | |__/ |___ |
|
||||
|__] | | ___] |___ |___ | \ |___ |
|
||||
|
||||
Author: Muhammad Daffa
|
||||
Version: 1.0
|
||||
Version: v1.0.2
|
||||
`))
|
||||
}
|
||||
|
||||
|
@ -258,7 +258,10 @@ func main() {
|
|||
show_banner()
|
||||
|
||||
fmt.Println(Blue("Input URL"))
|
||||
fmt.Scanln(&url)
|
||||
if _, err := fmt.Scanln(&url); err != nil {
|
||||
fmt.Print(Red("No URL provided"))
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
fmt.Println(Blue("\nInput path file contain dorks (Leave it blank if you dont have it)"))
|
||||
fmt.Scanln(&dorks)
|
||||
|
|
Loading…
Reference in New Issue