From cd43240dde1375694e16fa63c32c8e7aec0ab13d Mon Sep 17 00:00:00 2001 From: ice3man Date: Tue, 24 Apr 2018 20:08:19 +0530 Subject: [PATCH] Fixed Some Errors --- libsubfinder/engines/bruteforce/bruteforce.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libsubfinder/engines/bruteforce/bruteforce.go b/libsubfinder/engines/bruteforce/bruteforce.go index 0cd897b..4eef595 100644 --- a/libsubfinder/engines/bruteforce/bruteforce.go +++ b/libsubfinder/engines/bruteforce/bruteforce.go @@ -11,10 +11,10 @@ package bruteforce import ( - "bufio" + //"bufio" "fmt" "os" - "sync" + //"sync" "github.com/Ice3man543/subfinder/libsubfinder/helper" ) @@ -36,7 +36,7 @@ func Bruteforce(state *helper.State) (subdomains []string) { func Process(wordlist string, domain string, state *helper.State) (subdomains []string, err error) { - // Holds current words read from dictionary + /*// Holds current words read from dictionary words := []string{} // Open the wordlist file @@ -59,7 +59,7 @@ func Process(wordlist string, domain string, state *helper.State) (subdomains [] go func() { defer wg.Done() - bruteforcer.CheckDNSEntry(state, domain, channel) + //bruteforcer.CheckDNSEntry(state, domain, channel) }() } @@ -74,7 +74,7 @@ func Process(wordlist string, domain string, state *helper.State) (subdomains [] } } - wg.Wait() + wg.Wait()*/ return subdomains, err }