Updated version to reflect refactor
parent
2d9fb8621d
commit
dd6fbb22af
16
main.go
16
main.go
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue