diff --git a/wapitiCore/attack/mod_wapp.py b/wapitiCore/attack/mod_wapp.py index 156374564..7e716437d 100644 --- a/wapitiCore/attack/mod_wapp.py +++ b/wapitiCore/attack/mod_wapp.py @@ -47,7 +47,7 @@ MSG_CPE = " -> CPE: {0}" BULK_SIZE = 50 -VERSION_REGEX = re.compile(r"\d[\d.]*") +VERSION_REGEX = re.compile(r"^\d[\w.-]*$") SCRIPT = ( "wapiti_results = {};\n"