mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-14 13:22:35 +08:00
update
This commit is contained in:
parent
78fb5339e6
commit
323d786c66
@ -128,7 +128,7 @@ func ParseScantype(Info *HostInfo) {
|
|||||||
if Info.Ports == DefaultPorts {
|
if Info.Ports == DefaultPorts {
|
||||||
switch Info.Scantype {
|
switch Info.Scantype {
|
||||||
case "webtitle":
|
case "webtitle":
|
||||||
Info.Ports = "80,81,443,7001,8000,8080,8089,9200"
|
Info.Ports = Webport
|
||||||
case "ms17010":
|
case "ms17010":
|
||||||
Info.Ports = "445"
|
Info.Ports = "445"
|
||||||
case "cve20200796":
|
case "cve20200796":
|
||||||
@ -138,7 +138,7 @@ func ParseScantype(Info *HostInfo) {
|
|||||||
port, _ := PORTList[Info.Scantype]
|
port, _ := PORTList[Info.Scantype]
|
||||||
Info.Ports = strconv.Itoa(port)
|
Info.Ports = strconv.Itoa(port)
|
||||||
}
|
}
|
||||||
fmt.Println("if -m ", Info.Scantype, " only scan the port:", Info.Ports)
|
fmt.Println("-m ", Info.Scantype, " start scan the port:", Info.Ports)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user