mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-16 11:29:03 +00:00
Minor patch
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user