mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
Fixes #1392
This commit is contained in:
parent
c1f829d131
commit
b6206692e0
|
@ -638,7 +638,7 @@ def _setBulkMultipleTargets():
|
||||||
for line in getFileItems(conf.bulkFile):
|
for line in getFileItems(conf.bulkFile):
|
||||||
if re.match(r"[^ ]+\?(.+)", line, re.I) or CUSTOM_INJECTION_MARK_CHAR in line:
|
if re.match(r"[^ ]+\?(.+)", line, re.I) or CUSTOM_INJECTION_MARK_CHAR in line:
|
||||||
found = True
|
found = True
|
||||||
kb.targets.add((line.strip(), None, None, None, None))
|
kb.targets.add((line.strip(), conf.method, conf.data, conf.cookie, None))
|
||||||
|
|
||||||
if not found and not conf.forms and not conf.crawlDepth:
|
if not found and not conf.forms and not conf.crawlDepth:
|
||||||
warnMsg = "no usable links found (with GET parameters)"
|
warnMsg = "no usable links found (with GET parameters)"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user