From cdfe43560b8c094bf45ac4bd53cb74fd22eab666 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 8 Feb 2013 16:20:48 +0100 Subject: [PATCH] Update for an Issue #207 (and a potential patch for regression tests) --- lib/core/settings.py | 3 +++ lib/takeover/metasploit.py | 44 +++++++++++++++++--------------------- 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index b7df68464..1fed17493 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -513,6 +513,9 @@ FORM_SEARCH_REGEX = r"(?si)" # Minimum field entry length needed for encoded content (hex, base64,...) check MIN_ENCODED_LEN_CHECK = 5 +# Timeout in seconds in which Meterpreter session has to be initialized +METERPRETER_INIT_TIMEOUT = 120 + # CSS style used in HTML dump format HTML_DUMP_CSS_STYLE = """