mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Minor patch
This commit is contained in:
parent
9fad72f28b
commit
fba1720b31
|
@ -721,10 +721,11 @@ class Agent(object):
|
|||
|
||||
if conf.uFrom:
|
||||
fromTable = " FROM %s" % conf.uFrom
|
||||
elif kb.tableFrom:
|
||||
fromTable = " FROM %s" % kb.tableFrom
|
||||
else:
|
||||
fromTable = fromTable or FROM_DUMMY_TABLE.get(Backend.getIdentifiedDbms(), "")
|
||||
elif not fromTable:
|
||||
if kb.tableFrom:
|
||||
fromTable = " FROM %s" % kb.tableFrom
|
||||
else:
|
||||
fromTable = FROM_DUMMY_TABLE.get(Backend.getIdentifiedDbms(), "")
|
||||
|
||||
if query.startswith("SELECT "):
|
||||
query = query[len("SELECT "):]
|
||||
|
|
|
@ -19,7 +19,7 @@ from lib.core.enums import OS
|
|||
from lib.core.revision import getRevisionNumber
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.0.5.121"
|
||||
VERSION = "1.0.5.122"
|
||||
REVISION = getRevisionNumber()
|
||||
STABLE = VERSION.count('.') <= 2
|
||||
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")
|
||||
|
|
Loading…
Reference in New Issue
Block a user