Minor patch

This commit is contained in:
Miroslav Stampar 2019-11-12 23:05:32 +01:00
parent 7b89613c46
commit df8fa9cd82
2 changed files with 3 additions and 4 deletions

View File

@ -4480,8 +4480,7 @@ def findPageForms(content, url, raise_=False, addToTargets=False):
if data:
data = data.lstrip("&=").rstrip('&')
if conf.scope:
if not re.search(conf.scope, url, re.I):
if conf.scope and not re.search(conf.scope, url, re.I):
continue
elif not re.sub(r"(%s)=[^&]*&?" % '|'.join(IGNORE_PARAMETERS), "", data):
continue

View File

@ -18,7 +18,7 @@ from lib.core.enums import OS
from thirdparty.six import unichr as _unichr
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.3.11.34"
VERSION = "1.3.11.35"
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)