Fix for an Issue #100

This commit is contained in:
Miroslav Stampar 2012-07-16 23:28:01 +02:00
parent ffbbb10abb
commit c96e44b30c

View File

@ -538,14 +538,10 @@ def __setBulkMultipleTargets():
errMsg += "does not exist"
raise sqlmapFilePathException, errMsg
f = open(conf.bulkFile, 'r')
for line in f.xreadlines():
for line in getFileItems(conf.bulkFile):
if re.search(r"[^ ]+\?(.+)", line, re.I):
kb.targetUrls.add((line.strip(), None, None, None))
f.close()
def __findPageForms():
if not conf.forms or conf.crawlDepth:
return