Update monkey/infection_monkey/network/tools.py

Co-Authored-By: itaymmguardicore <30774653+itaymmguardicore@users.noreply.github.com>
This commit is contained in:
Daniel Goldberg 2018-12-23 11:26:53 +02:00 committed by GitHub
parent b2deb4b6c9
commit 079038783b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ from infection_monkey.pyinstaller_utils import get_binary_file_path
DEFAULT_TIMEOUT = 10 DEFAULT_TIMEOUT = 10
BANNER_READ = 1024 BANNER_READ = 1024
IP_ADDR_RE = r'\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}' IP_ADDR_RE = r'\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'
IP_ADDR_PARENT_RE = r'\(' + IP_ADDR_RE + r'\)' IP_ADDR_PARENTHESES_RE = r'\(' + IP_ADDR_RE + r'\)'
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)
SLEEP_BETWEEN_POLL = 0.5 SLEEP_BETWEEN_POLL = 0.5