diff --git a/pkg/enumeration/dns.go b/pkg/enumeration/dns.go index 041fd03..7ba35bc 100644 --- a/pkg/enumeration/dns.go +++ b/pkg/enumeration/dns.go @@ -45,7 +45,7 @@ func LookupDNS(domain string, outputFileJSON, outputFileHTML, outputFileTXT stri for _, ip := range ips { if !plain { - fmt.Printf("[+]FOUND %s IN A: ", domain) + fmt.Print("A: ") color.Green("%s\n", ip.String()) } else { fmt.Printf("%s\n", ip.String()) @@ -67,7 +67,7 @@ func LookupDNS(domain string, outputFileJSON, outputFileHTML, outputFileTXT stri cname, _ := net.LookupCNAME(domain) if !plain { - fmt.Printf("[+]FOUND %s IN CNAME: ", domain) + fmt.Print("CNAME: ") color.Green("%s\n", cname) } else { fmt.Printf("%s\n", cname) @@ -90,7 +90,7 @@ func LookupDNS(domain string, outputFileJSON, outputFileHTML, outputFileTXT stri for _, nsRecord := range nameserver { if !plain { - fmt.Printf("[+]FOUND %s IN NS: ", domain) + fmt.Print("NS: ") color.Green("%s\n", nsRecord.Host) } else { fmt.Printf("%s\n", nsRecord.Host) @@ -114,7 +114,7 @@ func LookupDNS(domain string, outputFileJSON, outputFileHTML, outputFileTXT stri for _, mxRecord := range mxrecords { if !plain { - fmt.Printf("[+]FOUND %s IN MX: ", domain) + fmt.Print("MX: ") color.Green("%s %v\n", mxRecord.Host, mxRecord.Pref) } else { fmt.Printf("%s %v\n", mxRecord.Host, mxRecord.Pref) @@ -144,7 +144,7 @@ func LookupDNS(domain string, outputFileJSON, outputFileHTML, outputFileTXT stri for _, srv := range srvResults { if !plain { - fmt.Printf("[+]FOUND %s IN SRV: ", domain) + fmt.Print("SRV: ") color.Green("%v:%v:%d:%d\n", srv.Target, srv.Port, srv.Priority, srv.Weight) } else { fmt.Printf("%v:%v:%d:%d\n", srv.Target, srv.Port, srv.Priority, srv.Weight) @@ -167,7 +167,7 @@ func LookupDNS(domain string, outputFileJSON, outputFileHTML, outputFileTXT stri txtrecords, _ := net.LookupTXT(domain) for _, txt := range txtrecords { if !plain { - fmt.Printf("[+]FOUND %s IN TXT: ", domain) + fmt.Print("TXT: ") color.Green("%s\n", txt) } else { fmt.Printf("%s\n", txt) diff --git a/pkg/enumeration/port.go b/pkg/enumeration/port.go index 462b20f..727d07b 100644 --- a/pkg/enumeration/port.go +++ b/pkg/enumeration/port.go @@ -148,7 +148,7 @@ func AsyncPort(portsArray []int, portsArrayBool bool, startingPort int, endingPo if resp { if !plain { fmt.Fprint(os.Stdout, "\r") - fmt.Printf("[+]FOUND: %s ", host) + fmt.Printf("%s ", host) color.Green("%s\n", portStr) } else { fmt.Printf("%s:%s\n", host, portStr) diff --git a/pkg/output/dirs.go b/pkg/output/dirs.go index b0cff81..7a3897a 100644 --- a/pkg/output/dirs.go +++ b/pkg/output/dirs.go @@ -53,7 +53,7 @@ func PrintDirs(dirs map[string]Asset, ignore []string, outputFileJSON, outputFil if !plain { if string(resp[0]) == "2" || string(resp[0]) == "3" { fmt.Fprint(os.Stdout, "\r") - fmt.Printf("[+]FOUND: %s ", domain) + fmt.Printf("%s ", domain) color.Green("%s\n", resp) if outputFileJSON != "" { @@ -69,7 +69,7 @@ func PrintDirs(dirs map[string]Asset, ignore []string, outputFileJSON, outputFil } } else if (resp[:3] != "404") || string(resp[0]) == "5" { fmt.Fprint(os.Stdout, "\r") - fmt.Printf("[+]FOUND: %s ", domain) + fmt.Printf("%s ", domain) color.Red("%s\n", resp) if outputFileJSON != "" { diff --git a/pkg/output/subs.go b/pkg/output/subs.go index 8a4775b..8cb7014 100644 --- a/pkg/output/subs.go +++ b/pkg/output/subs.go @@ -57,7 +57,7 @@ func PrintSubs(subs map[string]Asset, ignore []string, outputFileJSON, outputFil if resp == "" || resp[:3] != "404" { subDomainFound := urlUtils.CleanProtocol(domain) - fmt.Printf("[+]FOUND: %s ", subDomainFound) + fmt.Printf("%s ", subDomainFound) if resp == "" || string(resp[0]) == "2" { if outputFileJSON != "" { diff --git a/pkg/output/version.go b/pkg/output/version.go index c6cc633..5bdedbd 100644 --- a/pkg/output/version.go +++ b/pkg/output/version.go @@ -27,4 +27,4 @@ along with this program. If not, see http://www.gnu.org/licenses/. package output -const version = "v1.3.0" +const version = "v1.3.1" diff --git a/snapcraft.yaml b/snapcraft.yaml index f21fdfa..eb656ef 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -2,7 +2,7 @@ name: scilla summary: Information Gathering tool description: | Information Gathering tool - DNS / Subdomains / Ports / Directories enumeration -version: 1.3.0 +version: 1.3.1 grade: stable base: core20