diff --git a/CVE-2021-3129.py b/CVE-2021-3129.py index f1718f9..0b064f3 100644 --- a/CVE-2021-3129.py +++ b/CVE-2021-3129.py @@ -346,7 +346,7 @@ def find_log_path(self, content): log_path = None # Regex search for file path - search_pattern = r"The GET method is not supported for this route\. Supported methods: POST\. in file (.*?) on line" + search_pattern = r"The .* supported .* in file (.*?) on line" search_res = re.search(search_pattern, str(content)) if search_res: @@ -364,7 +364,7 @@ def find_log_path(self, content): return log_path def find_laravel_version(self, content: str): - + # Regex search for framework version search_pattern = r"\"framework_version\":\"(.*?)\"" search_res = re.search(search_pattern, content)