mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-25 12:41:53 +08:00
新增-m webonly,跳过端口扫描,直接访问http。致谢@AgeloVito
This commit is contained in:
+4
-4
@@ -91,10 +91,10 @@ func parseIP(ip string) []string {
|
||||
return parseIP1(ip)
|
||||
//可能是域名,用lookup获取ip
|
||||
case reg.MatchString(ip):
|
||||
_, err := net.LookupHost(ip)
|
||||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
// _, err := net.LookupHost(ip)
|
||||
// if err != nil {
|
||||
// return nil
|
||||
// }
|
||||
return []string{ip}
|
||||
//处理单个ip
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user