From 7865038b22e675e3503775eb780196d9ccfc79c9 Mon Sep 17 00:00:00 2001 From: tongque <2863528786@qq.com> Date: Tue, 22 Apr 2025 19:11:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8Drebase=E6=97=B6=E9=80=A0?= =?UTF-8?q?=E6=88=90=E7=9A=84=E5=8F=82=E6=95=B0=E4=B8=A2=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Common/Flag.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Common/Flag.go b/Common/Flag.go index 653bbf1..8c9e937 100644 --- a/Common/Flag.go +++ b/Common/Flag.go @@ -66,6 +66,7 @@ func Flag(Info *HostInfo) { flag.StringVar(&Info.Host, "h", "", GetText("flag_host")) flag.StringVar(&ExcludeHosts, "eh", "", GetText("flag_exclude_hosts")) flag.StringVar(&Ports, "p", MainPorts, GetText("flag_ports")) + flag.StringVar(&ExcludePorts, "ep", "", GetText("flag_exclude_ports")) flag.StringVar(&HostsFile, "hf", "", GetText("flag_hosts_file")) flag.StringVar(&PortsFile, "pf", "", GetText("flag_ports_file")) @@ -115,7 +116,7 @@ func Flag(Info *HostInfo) { flag.BoolVar(&PocFull, "full", false, GetText("flag_poc_full")) flag.BoolVar(&DnsLog, "dns", false, GetText("flag_dns_log")) flag.IntVar(&PocNum, "num", 20, GetText("flag_poc_num")) - flag.BoolVar(&DisablePocScan, "nopoc", false, GetText("flag_nopoc")) + flag.BoolVar(&DisablePocScan, "nopoc", false, GetText("flag_no_poc")) // ═════════════════════════════════════════════════ // Redis利用参数 @@ -178,6 +179,7 @@ func FlagFromRemote(info *HostInfo, argString string) error { fs.StringVar(&info.Host, "h", "", GetText("flag_host")) fs.StringVar(&ExcludeHosts, "eh", "", GetText("flag_exclude_hosts")) fs.StringVar(&Ports, "p", MainPorts, GetText("flag_ports")) + fs.StringVar(&ExcludePorts, "ep", "", GetText("flag_exclude_ports")) fs.StringVar(&HostsFile, "hf", "", GetText("flag_hosts_file")) fs.StringVar(&PortsFile, "pf", "", GetText("flag_ports_file")) @@ -215,7 +217,7 @@ func FlagFromRemote(info *HostInfo, argString string) error { fs.BoolVar(&PocFull, "full", false, GetText("flag_poc_full")) fs.BoolVar(&DnsLog, "dns", false, GetText("flag_dns_log")) fs.IntVar(&PocNum, "num", 20, GetText("flag_poc_num")) - fs.BoolVar(&DisablePocScan, "nopoc", false, GetText("flag_nopoc")) + fs.BoolVar(&DisablePocScan, "nopoc", false, GetText("flag_no_poc")) fs.StringVar(&RedisFile, "rf", "", GetText("flag_redis_file")) fs.StringVar(&RedisShell, "rs", "", GetText("flag_redis_shell"))