From 5c119e97ae97a54ac4337e0fd9bc7a43d44fe6b0 Mon Sep 17 00:00:00 2001 From: dksslq <1578756762@qq.com> Date: Wed, 24 May 2023 19:43:05 +0800 Subject: [PATCH 1/5] Add some spaces --- WebScan/InfoScan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebScan/InfoScan.go b/WebScan/InfoScan.go index 30c3410..bf71d68 100644 --- a/WebScan/InfoScan.go +++ b/WebScan/InfoScan.go @@ -38,7 +38,7 @@ func InfoCheck(Url string, CheckData *[]CheckDatas) []string { infoname = removeDuplicateElement(infoname) if len(infoname) > 0 { - result := fmt.Sprintf("[+] InfoScan:%-25v %s ", Url, infoname) + result := fmt.Sprintf("[+] InfoScan: %-25v %s ", Url, infoname) common.LogSuccess(result) return infoname } From 7bf79b60af525022fef33033e52782bbcdbbe0da Mon Sep 17 00:00:00 2001 From: dksslq <1578756762@qq.com> Date: Wed, 24 May 2023 19:44:42 +0800 Subject: [PATCH 2/5] Update NetBIOS.go --- Plugins/NetBIOS.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/NetBIOS.go b/Plugins/NetBIOS.go index e9ad936..1a0676b 100644 --- a/Plugins/NetBIOS.go +++ b/Plugins/NetBIOS.go @@ -237,7 +237,7 @@ func (info *NetBiosInfo) String() (output string) { } if text == "" { } else if info.DomainControllers != "" { - output = fmt.Sprintf("[+]DC %-24s", text) + output = fmt.Sprintf("[+] DC:%-24s", text) } else { output = fmt.Sprintf("%-30s", text) } From d151ea2c7f0e15c018e3f4bca185639109dc1360 Mon Sep 17 00:00:00 2001 From: dksslq <1578756762@qq.com> Date: Wed, 24 May 2023 19:49:52 +0800 Subject: [PATCH 3/5] Remove unused space --- Plugins/NetBIOS.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/NetBIOS.go b/Plugins/NetBIOS.go index 1a0676b..22111a7 100644 --- a/Plugins/NetBIOS.go +++ b/Plugins/NetBIOS.go @@ -18,7 +18,7 @@ func NetBIOS(info *common.HostInfo) error { netbios, _ := NetBIOS1(info) output := netbios.String() if len(output) > 0 { - result := fmt.Sprintf("[*] NetBios: %-15s %s ", info.Host, output) + result := fmt.Sprintf("[*] NetBios: %-15s %s", info.Host, output) common.LogSuccess(result) return nil } From f0cb31a6d231e2c2f10db1c7ed69ee5a7cfb4076 Mon Sep 17 00:00:00 2001 From: dksslq <1578756762@qq.com> Date: Wed, 24 May 2023 19:53:17 +0800 Subject: [PATCH 4/5] Remove unused spaces --- common/flag.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/flag.go b/common/flag.go index eaeca0d..d4c771f 100644 --- a/common/flag.go +++ b/common/flag.go @@ -57,8 +57,8 @@ func Flag(Info *HostInfo) { flag.StringVar(&Passfile, "pwdf", "", "password file") flag.StringVar(&PortFile, "portf", "", "Port File") flag.StringVar(&PocPath, "pocpath", "", "poc file path") - flag.StringVar(&RedisFile, "rf", "", "redis file to write sshkey file (as: -rf id_rsa.pub) ") - flag.StringVar(&RedisShell, "rs", "", "redis shell to write cron file (as: -rs 192.168.1.1:6666) ") + flag.StringVar(&RedisFile, "rf", "", "redis file to write sshkey file (as: -rf id_rsa.pub)") + flag.StringVar(&RedisShell, "rs", "", "redis shell to write cron file (as: -rs 192.168.1.1:6666)") flag.BoolVar(&IsWebCan, "nopoc", false, "not to scan web vul") flag.BoolVar(&IsBrute, "nobr", false, "not to Brute password") flag.IntVar(&BruteThread, "br", 1, "Brute threads") From db38dbdcc771ca5ee53090d861ff5095e598e83f Mon Sep 17 00:00:00 2001 From: dksslq <1578756762@qq.com> Date: Wed, 24 May 2023 19:57:25 +0800 Subject: [PATCH 5/5] Add space --- WebScan/lib/eval.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebScan/lib/eval.go b/WebScan/lib/eval.go index 796e70f..33e9616 100644 --- a/WebScan/lib/eval.go +++ b/WebScan/lib/eval.go @@ -627,7 +627,7 @@ func DoRequest(req *http.Request, redirect bool) (*Response, error) { defer oResp.Body.Close() resp, err := ParseResponse(oResp) if err != nil { - common.LogError("[-]ParseResponse error: " + err.Error()) + common.LogError("[-] ParseResponse error: " + err.Error()) //return nil, err } return resp, err