Updated with coloring logic
parent
0f65797daf
commit
1080fefea2
|
@ -63,7 +63,7 @@ func Query(state *helper.State) (subdomains []string, err error) {
|
|||
|
||||
if state.Verbose == true {
|
||||
if state.Color == true {
|
||||
fmt.Printf("\n[\033[31;1;4mCERTSPOTTER\033[0m] %s", dns_name)
|
||||
fmt.Printf("\n[%sCERTSPOTTER%s] %s", helper.Red, helper.Reset, dns_name)
|
||||
} else {
|
||||
fmt.Printf("\n[CERTSPOTTER] %s", dns_name)
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ func Query(state *helper.State) (subdomains []string, err error) {
|
|||
|
||||
if state.Verbose == true {
|
||||
if state.Color == true {
|
||||
fmt.Printf("\n[\033[31;1;4mCRT.SH\033[0m] %s", subdomain.Name_value)
|
||||
fmt.Printf("\n[%sCRT.SH%s] %s", helper.Red, helper.Reset, subdomain.Name_value)
|
||||
} else {
|
||||
fmt.Printf("\n[CRT.SH] %s", subdomain.Name_value)
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ func Query(state *helper.State) (subdomains []string, err error) {
|
|||
|
||||
if state.Verbose == true {
|
||||
if state.Color == true {
|
||||
fmt.Printf("\n[\033[31;1;4mHACKERTARGET\033[0m] %s", subdomain)
|
||||
fmt.Printf("\n[%sHACKERTARGET%s] %s", helper.Red, helper.Reset, subdomain)
|
||||
} else {
|
||||
fmt.Printf("\n[HACKERTARGET] %s", subdomain)
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ func enumerate(state *helper.State, baseUrl string) (err error) {
|
|||
|
||||
if state.Verbose == true {
|
||||
if state.Color == true {
|
||||
fmt.Printf("\n[\033[31;1;4mNETCRAFT\033[0m] %s", finishedSub)
|
||||
fmt.Printf("\n[%sNETCRAFT%s] %s", helper.Red, helper.Reset, finishedSub)
|
||||
} else {
|
||||
fmt.Printf("\n[NETCRAFT] %s", finishedSub)
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ func Query(state *helper.State) (subdomains []string, err error) {
|
|||
|
||||
if state.Verbose == true {
|
||||
if state.Color == true {
|
||||
fmt.Printf("\n[\033[31;1;4mTHREATCROWD\033[0m] %s", subdomain)
|
||||
fmt.Printf("\n[%sTHREATCROWD%s] %s", helper.Red, helper.Reset, subdomain)
|
||||
} else {
|
||||
fmt.Printf("\n[THREATCROWD] %s", subdomain)
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@ func queryVirustotalApi(state *helper.State) (subdomains []string, err error) {
|
|||
|
||||
if state.Verbose == true {
|
||||
if state.Color == true {
|
||||
fmt.Printf("\n[\033[31;1;4mVIRUSTOTAL\033[0m] %s", subdomain)
|
||||
fmt.Printf("\n[%sVIRUSTOTAL%s] %s", helper.Red, helper.Reset, subdomain)
|
||||
} else {
|
||||
fmt.Printf("\n[VIRUSTOTAL] %s", subdomain)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue