mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
Fix for an Issue #100
This commit is contained in:
parent
ffbbb10abb
commit
c96e44b30c
|
@ -538,14 +538,10 @@ def __setBulkMultipleTargets():
|
||||||
errMsg += "does not exist"
|
errMsg += "does not exist"
|
||||||
raise sqlmapFilePathException, errMsg
|
raise sqlmapFilePathException, errMsg
|
||||||
|
|
||||||
f = open(conf.bulkFile, 'r')
|
for line in getFileItems(conf.bulkFile):
|
||||||
|
|
||||||
for line in f.xreadlines():
|
|
||||||
if re.search(r"[^ ]+\?(.+)", line, re.I):
|
if re.search(r"[^ ]+\?(.+)", line, re.I):
|
||||||
kb.targetUrls.add((line.strip(), None, None, None))
|
kb.targetUrls.add((line.strip(), None, None, None))
|
||||||
|
|
||||||
f.close()
|
|
||||||
|
|
||||||
def __findPageForms():
|
def __findPageForms():
|
||||||
if not conf.forms or conf.crawlDepth:
|
if not conf.forms or conf.crawlDepth:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user