mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-13 21:02:44 +08:00
Update Flag.go
This commit is contained in:
parent
28a64d60c4
commit
d90deb0201
@ -3,9 +3,10 @@ package Common
|
|||||||
import (
|
import (
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/fatih/color"
|
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/fatih/color"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Banner() {
|
func Banner() {
|
||||||
@ -65,6 +66,7 @@ func Flag(Info *HostInfo) {
|
|||||||
flag.StringVar(&Info.Host, "h", "", GetText("flag_host"))
|
flag.StringVar(&Info.Host, "h", "", GetText("flag_host"))
|
||||||
flag.StringVar(&ExcludeHosts, "eh", "", GetText("flag_exclude_hosts"))
|
flag.StringVar(&ExcludeHosts, "eh", "", GetText("flag_exclude_hosts"))
|
||||||
flag.StringVar(&Ports, "p", MainPorts, GetText("flag_ports"))
|
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(&HostsFile, "hf", "", GetText("flag_hosts_file"))
|
||||||
flag.StringVar(&PortsFile, "pf", "", GetText("flag_ports_file"))
|
flag.StringVar(&PortsFile, "pf", "", GetText("flag_ports_file"))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user