refactor: 重构涉及文件更新

This commit is contained in:
ZacharyZcR
2024-12-18 21:56:08 +08:00
parent cae98e7d90
commit ab14b15864
27 changed files with 260 additions and 235 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ package common
import (
"flag"
"github.com/shadow1ng/fscan/Config"
)
func Banner() {
@@ -16,7 +17,7 @@ func Banner() {
print(banner)
}
func Flag(Info *HostInfo) {
func Flag(Info *Config.HostInfo) {
Banner()
flag.StringVar(&Info.Host, "h", "", "IP address of the host you want to scan,for example: 192.168.11.11 | 192.168.11.11-255 | 192.168.11.11,192.168.11.12")
flag.StringVar(&NoHosts, "hn", "", "the hosts no scan,as: -hn 192.168.1.1/24")