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