yamlizing

This commit is contained in:
zricethezav committed 2018-02-22 17:36:36 -06:00
1 parent 0fa6a79a25
commit 6f5079c193
4 files changed
+74 -53

No files matched your search

-15
View File
@@ -83,21 +83,6 @@ func checkShannonEntropy(target string, entropy64Cutoff int, entropyHexCutoff in
// containsStopWords checks if there are any stop words in target
func containsStopWords(target string) bool {
stopWords := []string{
"setting",
"Setting",
"SETTING",
"info",
"Info",
"INFO",
"env",
"Env",
"ENV",
"environment",
"Environment",
"ENVIRONMENT",
}
for _, stopWord := range stopWords {
if strings.Contains(target, stopWord) {
return true