Skip to content

Commit

Permalink
Removed the 'FILTER:' messages so users can leverage jq
Browse files Browse the repository at this point in the history
  • Loading branch information
brittonhayes committed Dec 7, 2020
1 parent 067c969 commit 7ee83bc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/hunter/hunter.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,31 +151,26 @@ func FilterResults(financial bool, github bool, telephone bool, email bool, addr
}

if financial {
fmt.Println("FILTER:\tFinancial")
filtered := append([]*regexp.Regexp{}, reg.BtcAddressRegex, reg.CreditCardRegex)
return filtered
}

if github {
fmt.Println("FILTER:\tGithub")
filtered := append([]*regexp.Regexp{}, reg.GitRepoRegex)
return filtered
}

if telephone {
fmt.Println("FILTER:\tTelephone")
filtered := append([]*regexp.Regexp{}, reg.PhonesWithExtsRegex)
return filtered
}

if email {
fmt.Println("FILTER:\tEmail")
filtered := append([]*regexp.Regexp{}, reg.EmailRegex)
return filtered
}

if address {
fmt.Println("FILTER:\tAddress")
filtered := append([]*regexp.Regexp{}, reg.StreetAddressRegex)
return filtered
}
Expand Down

0 comments on commit 7ee83bc

Please sign in to comment.