This commit is contained in:
Miroslav Stampar
2019-11-15 10:02:51 +01:00
parent 95c5c20de4
commit 0d140b60f1
3 changed files with 8 additions and 4 deletions

View File

@@ -336,7 +336,11 @@ def _setCrawler():
return
if not conf.bulkFile:
crawl(conf.url)
if conf.url:
crawl(conf.url)
elif conf.requestFile and kb.targets:
target = list(kb.targets)[0]
crawl(target[0], target[2], target[3])
def _doSearch():
"""

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.52"
VERSION = "1.3.11.53"
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)