forked from p15670423/monkey
Merge pull request #247 from VakarisZ/TCP_scanner_sleep_bugfix
TCP scanner sleep bugfix
This commit is contained in:
commit
e90f11cab3
|
@ -112,7 +112,8 @@ class NetworkScanner(object):
|
|||
break
|
||||
|
||||
if WormConfiguration.tcp_scan_interval:
|
||||
time.sleep(WormConfiguration.tcp_scan_interval)
|
||||
# time.sleep uses seconds, while config is in milliseconds
|
||||
time.sleep(WormConfiguration.tcp_scan_interval/1000)
|
||||
|
||||
@staticmethod
|
||||
def _is_any_ip_in_subnet(ip_addresses, subnet_str):
|
||||
|
|
Loading…
Reference in New Issue