Minor fix in MSSQL 2000 fingerprint

This commit is contained in:
Bernardo Damele 2009-04-23 08:36:39 +00:00
parent aefa7ef988
commit 8e88b32274

View File

@ -212,6 +212,11 @@ class MSSQLServerMap(Fingerprint, Enumeration, Filesystem, Miscellaneous, Takeov
break
elif version == 0:
kb.dbmsVersion = [ "2000" ]
break
else:
payload = agent.fullPayload(" AND SUBSTRING((@@VERSION), 22, 1)=7")
result = Request.queryPage(payload)