From ed0909fe579935db7f953d1bd16810c047eea73e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 18 Jan 2021 12:04:47 +0100 Subject: [PATCH] Fixes #4547 --- lib/core/common.py | 2 +- lib/core/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/common.py b/lib/core/common.py index 0478c2c1e..7b52e85c7 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -4603,7 +4603,7 @@ def findPageForms(content, url, raise_=False, addToTargets=False): if filtered and filtered != content: try: forms = ParseResponse(filtered, backwards_compat=False) - except ParseError: + except: errMsg = "no success" if raise_: raise SqlmapGenericException(errMsg) diff --git a/lib/core/settings.py b/lib/core/settings.py index a48b21c41..1066c8026 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.5.1.33" +VERSION = "1.5.1.34" 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)