sqlmapproject/sqlmap · error · SqlmapDataException
no file(s) inside '%s'
Error message
no file(s) inside '%s'
What it means
Error "no file(s) inside '%s'" thrown in sqlmapproject/sqlmap.
Source
Thrown at lib/core/wordlist.py:61
def adjust(self):
self.closeFP()
if self.index > len(self.filenames):
return # Note: https://stackoverflow.com/a/30217723 (PEP 479)
elif self.index == len(self.filenames):
self.iter = iter(self.custom)
else:
self.current = self.filenames[self.index]
if isZipFile(self.current):
try:
self.zip_file = zipfile.ZipFile(self.current, 'r')
except zipfile.error as ex:
errMsg = "something appears to be wrong with "
errMsg += "the file '%s' ('%s'). Please make " % (self.current, getSafeExString(ex))
errMsg += "sure that you haven't made any changes to it"
raise SqlmapInstallationException(errMsg)
if len(self.zip_file.namelist()) == 0:
errMsg = "no file(s) inside '%s'" % self.current
raise SqlmapDataException(errMsg)
self.fp = self.zip_file.open(self.zip_file.namelist()[0])
else:
self.fp = open(self.current, "rb")
self.iter = iter(self.fp)
self.index += 1
def closeFP(self):
if self.fp:
self.fp.close()
self.fp = None
if self.zip_file:
self.zip_file.close()
self.zip_file = None
def __next__(self):
retVal = NoneView on GitHub (pinned to 0a35b20e39)
When it happens
Trigger: Thrown at lib/core/wordlist.py:61 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/8e6f91756238057f.
Report an issue: GitHub.