Minor bug fix in MySQL comment injection fingerprint technique

This commit is contained in:
Bernardo Damele 2008-11-04 16:05:43 +00:00
parent 278f0aad7c
commit 0f79ec0088

View File

@ -162,6 +162,9 @@ class MySQLMap(Fingerprint, Enumeration, Filesystem, Takeover):
result = Request.queryPage(payload)
if result == kb.defaultResult:
if not prevVer:
prevVer = version
if version[0] == "3":
midVer = prevVer[1:3]
else: