2022-03-11 05:41:35 +00:00
|
|
|
# snifftest
|
|
|
|
|
|
|
|
See the help pages with this command, or look further below to get started quickly.
|
|
|
|
|
|
|
|
```
|
2024-01-29 17:20:33 +00:00
|
|
|
go run hack/snifftest/main.go
|
2022-03-11 05:41:35 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Show available secret scanners
|
|
|
|
|
|
|
|
```
|
2024-01-29 17:20:33 +00:00
|
|
|
go run hack/snifftest/main.go show-scanners
|
2022-03-11 05:41:35 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Scan
|
|
|
|
|
|
|
|
All scanners
|
|
|
|
|
|
|
|
```
|
2024-01-29 17:20:33 +00:00
|
|
|
go run snifftest/main.go scan --db ~/sdb --scanner all --print
|
2022-03-11 05:41:35 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Particular scanner
|
|
|
|
|
|
|
|
```
|
|
|
|
go run snifftest/main.go scan --db ~/sdb --scanner github --print --print-chunk --fail-threshold 5
|
2024-01-29 17:20:33 +00:00
|
|
|
```
|