Minor patches
Some checks are pending
/ build (macos-latest, 3.8) (push) Waiting to run
/ build (ubuntu-latest, pypy-2.7) (push) Waiting to run
/ build (windows-latest, 3.14) (push) Waiting to run

This commit is contained in:
Miroslav Štampar 2026-06-12 00:09:07 +02:00
parent 6e1fe6fbca
commit 8e48af61b7
5 changed files with 15 additions and 8 deletions

View file

@ -4283,7 +4283,10 @@ def safeSQLIdentificatorNaming(name, isTable=False):
'[begin]'
>>> getText(safeSQLIdentificatorNaming("foobar"))
'foobar'
>>> kb.forceDbms = popValue()
>>> kb.forcedDbms = DBMS.FIREBIRD
>>> getText(safeSQLIdentificatorNaming("foo bar"))
'"foo bar"'
>>> kb.forcedDbms = popValue()
"""
retVal = name

View file

@ -20,7 +20,7 @@ from lib.core.enums import OS
from thirdparty import six
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.10.6.82"
VERSION = "1.10.6.83"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

View file

@ -87,8 +87,10 @@ class Wordlist(six.Iterator):
errMsg += "sure that you haven't made any changes to it"
raise SqlmapInstallationException(errMsg)
except StopIteration:
self.adjust()
retVal = next(self.iter).rstrip()
if self.index > len(self.filenames): # Note: no more sources (filenames + custom) to switch to
raise
self.adjust() # Note: switch to the next source and retry (gracefully skipping empty ones)
continue
if not self.proc_count or self.counter % self.proc_count == self.proc_id:
break
return retVal