Major bug fixes

This commit is contained in:
Bernardo Damele
2009-01-10 14:39:27 +00:00
parent 9c125a2b57
commit e10ab5aa0e
3 changed files with 7 additions and 1 deletions

View File

@@ -184,7 +184,7 @@ class MSSQLServerMap(Fingerprint, Enumeration, Filesystem, Takeover):
logger.info(logMsg)
for version in ( 0, 5, 8 ):
payload = agent.fullPayload(" AND SUBSTRING((@@VERSION), 25, 1)='%d'" % version)
payload = agent.fullPayload(" AND SUBSTRING((@@VERSION), 25, 1)=%d" % version)
result = Request.queryPage(payload)
if result == True: