Updated version to reflect refactor

master
root 2018-06-27 15:57:12 +10:00
parent 2d9fb8621d
commit dd6fbb22af
No known key found for this signature in database
GPG Key ID: EC2302E1C4540AEE
1 changed files with 8 additions and 8 deletions

16
main.go
View File

@ -67,11 +67,11 @@ func main() {
os.Exit(1) os.Exit(1)
} }
if state.Silent != true { if state.Silent != true {
fmt.Println("===============================================") fmt.Println("===============================================")
fmt.Printf("%s%s-=Subfinder%s v1.1 github.com/subfinder/subfinder\n", helper.Info, helper.Cyan, helper.Reset) fmt.Printf("%s%s-=Subfinder%s v1.1.1 github.com/subfinder/subfinder\n", helper.Info, helper.Cyan, helper.Reset)
fmt.Println("===============================================") fmt.Println("===============================================")
} }
if state.SetConfig != "none" { if state.SetConfig != "none" {
setConfig := strings.Split(state.SetConfig, ",") setConfig := strings.Split(state.SetConfig, ",")
@ -187,12 +187,12 @@ func main() {
} }
} }
if state.Domain == "" && state.DomainList == "" { if state.Domain == "" && state.DomainList == "" {
if state.Silent != true { if state.Silent != true {
fmt.Printf("%s-> Missing \"domain\" argument %s\nTry %s'./subfinder -h'%s for more information\n", helper.Bad, helper.Reset, helper.Info, helper.Reset) fmt.Printf("%s-> Missing \"domain\" argument %s\nTry %s'./subfinder -h'%s for more information\n", helper.Bad, helper.Reset, helper.Info, helper.Reset)
} }
os.Exit(1) os.Exit(1)
} }
_ = passive.Enumerate(state) _ = passive.Enumerate(state)
fmt.Printf("\n") fmt.Printf("\n")