From d90deb020177f922e715aa46cb6cfed524906f17 Mon Sep 17 00:00:00 2001 From: I0veD <1397685307@qq.com> Date: Sun, 20 Apr 2025 19:16:26 +0800 Subject: [PATCH] Update Flag.go --- Common/Flag.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Common/Flag.go b/Common/Flag.go index 490b8c4..fca0878 100644 --- a/Common/Flag.go +++ b/Common/Flag.go @@ -3,9 +3,10 @@ package Common import ( "flag" "fmt" - "github.com/fatih/color" "os" "strings" + + "github.com/fatih/color" ) func Banner() { @@ -65,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"))