From a9a3c81a1c7aa21b9d5d38755592bc6ae2031e98 Mon Sep 17 00:00:00 2001 From: mzack Date: Sun, 17 Jun 2018 19:32:07 +0200 Subject: [PATCH] small cleanup --- libsubfinder/engines/passive/passive.go | 6 +++--- libsubfinder/sources/dogpile/dogpile.go | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/libsubfinder/engines/passive/passive.go b/libsubfinder/engines/passive/passive.go index f56062a..686e1a5 100644 --- a/libsubfinder/engines/passive/passive.go +++ b/libsubfinder/engines/passive/passive.go @@ -312,13 +312,13 @@ func (s *Source) printSummary() { fmt.Printf("\nRunning Source: %sCertificateTransparency%s", helper.Info, helper.Reset) } if s.Ipv4Info { - fmt.Printf("\nRunning Source: %sIpv4Info%s\n", helper.Info, helper.Reset) + fmt.Printf("\nRunning Source: %sIpv4Info%s", helper.Info, helper.Reset) } if s.Yahoo { - fmt.Printf("\nRunning Source: %sYahoo%s\n", helper.Info, helper.Reset) + fmt.Printf("\nRunning Source: %sYahoo%s", helper.Info, helper.Reset) } if s.Dogpile { - fmt.Printf("\nRunning Source: %sDogpile%s\n", helper.Info, helper.Reset) + fmt.Printf("\nRunning Source: %sDogpile%s", helper.Info, helper.Reset) } if s.Exalead { fmt.Printf("\nRunning Source: %sExalead%s\n", helper.Info, helper.Reset) diff --git a/libsubfinder/sources/dogpile/dogpile.go b/libsubfinder/sources/dogpile/dogpile.go index 102e5d4..1e48fde 100644 --- a/libsubfinder/sources/dogpile/dogpile.go +++ b/libsubfinder/sources/dogpile/dogpile.go @@ -11,7 +11,6 @@ package dogpile import ( "fmt" "io/ioutil" - "log" "math/rand" "regexp" "strconv" @@ -31,7 +30,7 @@ func Query(domain string, state *helper.State, ch chan helper.Result) { maxPages, _ := strconv.Atoi(state.CurrentSettings.DogpilePages) for currentPage := 0; currentPage <= maxPages; currentPage++ { url := "http://www.dogpile.com/search/web?q=" + domain + "&qsi=" + strconv.Itoa(currentPage*15+1) - log.Print(url) + resp, err := helper.GetHTTPResponse(url, state.Timeout) if err != nil { result.Error = err