Fixed Some Errors

master
ice3man 2018-04-24 20:08:19 +05:30
parent a00ea38b39
commit cd43240dde
1 changed files with 5 additions and 5 deletions

View File

@ -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
}