Skip to content

Commit

Permalink
fixing index number
Browse files Browse the repository at this point in the history
  • Loading branch information
kasrasnapp committed Jun 15, 2022
1 parent a3f77e5 commit 363df83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loot.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ func findSecrets(origPath, secPath string, content *[]byte) {
if len(x) > 0 {
for _, y := range x {
// fmt.Print("\n")
// log.Printf("Secrets found -> Type: %s | Secret: %s", typerex, string(y[1]))
writer.Write([]string{typerex + " Exposed", origPath, secPath, string(y[1])})
// log.Printf("Secrets found -> Type: %s | Secret: %s", typerex, string(y[0]))
writer.Write([]string{typerex + " Exposed", origPath, secPath, string(y[0])})
}
}
}
Expand Down

0 comments on commit 363df83

Please sign in to comment.