diff --git a/plugins/dbms/mssqlserver.py b/plugins/dbms/mssqlserver.py index ae2665513..92627f645 100644 --- a/plugins/dbms/mssqlserver.py +++ b/plugins/dbms/mssqlserver.py @@ -176,7 +176,7 @@ class MSSQLServerMap(Fingerprint, Enumeration, Filesystem, Takeover): logMsg = "testing Microsoft SQL Server" logger.info(logMsg) - payload = agent.fullPayload(" AND LEN(@@version)=LEN(@@version)") + payload = agent.fullPayload(" AND LEN(@@VERSION)=LEN(@@VERSION)") result = Request.queryPage(payload) if result == True: