mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-05 13:43:27 +03:00
bug fix (until this moment we had UNION unfunctional for MSSQL)
This commit is contained in:
parent
fc96764f80
commit
fd57aae779
|
@ -436,8 +436,11 @@ def checkSqlInjection(place, parameter, value):
|
||||||
# Feed with test details every time a test is successful
|
# Feed with test details every time a test is successful
|
||||||
if hasattr(test, "details"):
|
if hasattr(test, "details"):
|
||||||
for dKey, dValue in test.details.items():
|
for dKey, dValue in test.details.items():
|
||||||
if dKey == "dbms" and not isinstance(dValue, list):
|
if dKey == "dbms":
|
||||||
|
if not isinstance(dValue, list):
|
||||||
injection.dbms = Backend.setDbms(dValue)
|
injection.dbms = Backend.setDbms(dValue)
|
||||||
|
else:
|
||||||
|
Backend.forceDbms(dValue[0])
|
||||||
elif dKey == "dbms_version" and injection.dbms_version is None:
|
elif dKey == "dbms_version" and injection.dbms_version is None:
|
||||||
injection.dbms_version = Backend.setVersion(dValue)
|
injection.dbms_version = Backend.setVersion(dValue)
|
||||||
elif dKey == "os" and injection.os is None:
|
elif dKey == "os" and injection.os is None:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user