From 7c8f1f9349557105a63c524ab871662664438dfd Mon Sep 17 00:00:00 2001 From: edoardottt Date: Sat, 3 Sep 2022 19:05:58 +0200 Subject: [PATCH 1/4] lint --- enumeration/port.go | 1 + 1 file changed, 1 insertion(+) diff --git a/enumeration/port.go b/enumeration/port.go index 5045a56..0943e99 100644 --- a/enumeration/port.go +++ b/enumeration/port.go @@ -176,6 +176,7 @@ func AsyncPort(portsArray []int, portsArrayBool bool, startingPort int, endingPo waitgroup.Wait() fmt.Fprint(os.Stdout, "\r \r") + fmt.Printf("%0.2f%% : %d / %d", utils.Percentage(count, total), count, total) fmt.Println() if outputFileHTML != "" { From 5ffcda4e18b9964e69a9d3cb2fa62c6e3b50a48d Mon Sep 17 00:00:00 2001 From: edoardottt Date: Sat, 3 Sep 2022 19:14:26 +0200 Subject: [PATCH 2/4] Improve code --- main.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.go b/main.go index 9a8e297..bfd1990 100644 --- a/main.go +++ b/main.go @@ -332,9 +332,6 @@ func SubdomainSubcommandHandler(userInput input.Input, mutex *sync.Mutex, } if userInput.SubdomainDB { - if userInput.SubdomainVirusTotal { - _ = input.GetVirusTotalKey() - } sonar := opendb.SonarSubdomains(utils.CleanProtocol(target)) strings1 = opendb.AppendDBSubdomains(sonar, strings1) From 453e0fac4f66d19a07b72f30a5df0d339b99dce7 Mon Sep 17 00:00:00 2001 From: edoardottt Date: Sat, 3 Sep 2022 19:17:18 +0200 Subject: [PATCH 3/4] Improve code --- main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/main.go b/main.go index bfd1990..cbbf339 100644 --- a/main.go +++ b/main.go @@ -332,7 +332,6 @@ func SubdomainSubcommandHandler(userInput input.Input, mutex *sync.Mutex, } if userInput.SubdomainDB { - sonar := opendb.SonarSubdomains(utils.CleanProtocol(target)) strings1 = opendb.AppendDBSubdomains(sonar, strings1) crtsh := opendb.CrtshSubdomains(utils.CleanProtocol(target)) From 3562b8d2c333ae4da04a6abab224c1f911d6073b Mon Sep 17 00:00:00 2001 From: edoardottt Date: Sat, 3 Sep 2022 19:19:19 +0200 Subject: [PATCH 4/4] v1.2.3 --- output/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/version.go b/output/version.go index 270a7c7..503a067 100644 --- a/output/version.go +++ b/output/version.go @@ -1,3 +1,3 @@ package output -const version = "v1.2.2" +const version = "v1.2.3"