From e87856b9a1ec81e8ff98ae98a3df6dbcb90b8347 Mon Sep 17 00:00:00 2001 From: Christopher Talib Date: Thu, 20 Feb 2020 14:53:18 +0100 Subject: [PATCH] Removing print statements --- filters/main.go | 2 -- main.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/filters/main.go b/filters/main.go index 6071259..ae1adea 100644 --- a/filters/main.go +++ b/filters/main.go @@ -2,7 +2,6 @@ package filters import ( "bufio" - "fmt" "io/ioutil" "net" "os" @@ -74,7 +73,6 @@ func RunDomainFilters(domain string) bool { logrus.Warn("filters#Compile#", err) } if r.MatchString(domain) { - fmt.Println("##### match:", domain) return false } } diff --git a/main.go b/main.go index d480479..49e0d9e 100644 --- a/main.go +++ b/main.go @@ -182,9 +182,7 @@ func shodanRoutine(client *shodan.Client, shodanChan chan *shodan.HostData, conn shodanNode := models.BuildShodanNode(banner) // first filter poc if shodanNode.Data.HTML != "" { - fmt.Println("##### not empty HTML", shodanNode.ID) if !filters.RunIPFilters(shodanNode.Data.IP) { - fmt.Println("##### not in filters", shodanNode.ID) hostnames := shodanNode.Data.Hostnames var hostNotInFilters, domainNotInFilters bool if len(hostnames) != 0 {