We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50ddc63 commit b2d17b2Copy full SHA for b2d17b2
cmd/vuln.go
@@ -47,8 +47,8 @@ $ gitrepoenum vuln -i ~/allgithubrepo/commits -o ~/allgithubrepo/commits`,
47
}
48
49
// Run TruffleHog on the current repository
50
- trufflehogCmd := exec.Command("trufflehog", "filesystem", repoPath)
51
- trufflehogOutputFile := filepath.Join(vulnOutputPath, "trufflehog.txt")
+ trufflehogCmd := exec.Command("trufflehog", "filesystem", "--json", repoPath)
+ trufflehogOutputFile := filepath.Join(vulnOutputPath, "trufflehog.json")
52
53
// Redirect output to the output file
54
outputFile, err := os.Create(trufflehogOutputFile)
0 commit comments