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 package bruteforce
import ( import (
"bufio" //"bufio"
"fmt" "fmt"
"os" "os"
"sync" //"sync"
"github.com/Ice3man543/subfinder/libsubfinder/helper" "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) { 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{} words := []string{}
// Open the wordlist file // Open the wordlist file
@ -59,7 +59,7 @@ func Process(wordlist string, domain string, state *helper.State) (subdomains []
go func() { go func() {
defer wg.Done() 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 return subdomains, err
} }