Minor patch

This commit is contained in:
Miroslav Stampar
2026-01-04 20:54:50 +01:00
parent 58ebc41b28
commit 4af6dad130
3 changed files with 8 additions and 6 deletions

View File

@@ -106,10 +106,12 @@ class Replication(object):
"""
This function is used for selecting row(s) from current table.
"""
_ = 'SELECT * FROM %s' % self.name
query = 'SELECT * FROM "%s"' % self.name
if condition:
_ += 'WHERE %s' % condition
return self.execute(_)
query += ' WHERE %s' % condition
self.execute(query)
return self.parent.cursor.fetchall()
def createTable(self, tblname, columns=None, typeless=False):
"""

View File

@@ -19,7 +19,7 @@ from lib.core.enums import OS
from thirdparty import six
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.10.1.8"
VERSION = "1.10.1.9"
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)