Update Flag.go

This commit is contained in:
I0veD 2025-04-20 19:16:26 +08:00 committed by GitHub
parent 28a64d60c4
commit d90deb0201
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"))