mirror of
https://github.com/Jerryplusy/AI-powered-switches.git
synced 2025-10-14 09:49:19 +00:00
修改
This commit is contained in:
parent
ed50ed2fb2
commit
435d140108
@ -21,9 +21,7 @@ class NetworkScanner:
|
||||
# 扫描开放22(SSH)或23(Telnet)端口的设备
|
||||
self.nm.scan(
|
||||
hosts=subnet,
|
||||
arguments="-p 22,23 -Pn -T4 --packet-trace --disable-arp-ping",
|
||||
timeout=5
|
||||
|
||||
arguments="-p 22,23,80,161 --min-rate 1000 --max-retries 1"
|
||||
)
|
||||
|
||||
devices = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user