sqlmapproject/sqlmap · error · SqlmapFilePathException
the specified bulk file does not exist
Error message
the specified bulk file does not exist
What it means
Bulk-file mode (--bulkFile): the specified bulk target file failed checkFile (missing or unreadable), so the comma/newline separated target list cannot be read and SqlmapFilePathException is raised during init.
Solutions
- Correct the -m path or use an absolute path
- Ensure the bulk file is readable by the sqlmap process
- Verify working directory when using relative paths
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at lib/core/option.py:486 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of sqlmapproject/sqlmap@0a35b20e39 (2026-08-26).
Data as JSON: /api/errors/904670aa9b19892a.
Report an issue: GitHub.
Appendix: source
Thrown at lib/core/option.py:486
def add(self, elem):
self.__rest.add(elem)
kb.targets = _()
def _setBulkMultipleTargets():
if not conf.bulkFile:
return
conf.bulkFile = safeExpandUser(conf.bulkFile)
infoMsg = "parsing multiple targets list from '%s'" % conf.bulkFile
logger.info(infoMsg)
if not checkFile(conf.bulkFile, False):
errMsg = "the specified bulk file "
errMsg += "does not exist"
raise SqlmapFilePathException(errMsg)
found = False
for line in getFileItems(conf.bulkFile):
if conf.scope and not re.search(conf.scope, line, re.I):
continue
if re.match(r"[^ ]+\?(.+)", line, re.I) or kb.customInjectionMark in line or conf.data:
found = True
kb.targets.add((line.strip(), conf.method, conf.data, conf.cookie, None))
if not found and not conf.forms and not conf.crawlDepth:
warnMsg = "no usable links found (with GET parameters)"
logger.warning(warnMsg)
def _setOpenApiTargets():
if not conf.openApiFile:
return
View on GitHub (pinned to 0a35b20e39)