forked from p15670423/monkey
TCP scanner now sleeps in miliseconds instead of seconds.
This commit is contained in:
parent
c38793b527
commit
074aa1af50
|
@ -107,7 +107,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