From 360d89cecc7a00d12b7704762593a298c22dd783 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 7 Nov 2019 16:23:52 +0100 Subject: [PATCH] Critical bug patch for --crawl/--forms (introduced last week) --- lib/core/settings.py | 5 ++++- lib/request/connect.py | 9 ++++++++- lib/utils/crawler.py | 18 +++++++++++------- 3 files changed, 23 insertions(+), 9 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 21e722f38..d97c81ace 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.3.11.16" +VERSION = "1.3.11.17" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) @@ -362,6 +362,9 @@ META_CHARSET_REGEX = r'(?si).*]+charset="?(?P[^"> ]+).*(?!.*?]+content="?[^">]+url=["\']?(?P[^\'">]+).*' +# Regular expression used for parsing Javascript redirect request +JAVASCRIPT_HREF_REGEX = r'