Skip to content

Commit

Permalink
Merge pull request #2 from kasraorko/master
Browse files Browse the repository at this point in the history
fixing index number
  • Loading branch information
0xInfection authored Jun 16, 2022
2 parents a3f77e5 + 363df83 commit b8edb36
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 b8edb36

Please sign in to comment.