Bug fix for --hex/--technique=B (especially MsSQL)

This commit is contained in:
Miroslav Stampar 2012-10-28 12:22:33 +01:00
parent 8617fe0d65
commit 25a5073281
3 changed files with 6 additions and 1 deletions

View File

@ -1260,7 +1260,9 @@ def getCharset(charsetType=None):
asciiTbl.extend([0, 1])
asciiTbl.extend(xrange(47, 58))
asciiTbl.extend(xrange(64, 71))
asciiTbl.extend([87, 88]) # X
asciiTbl.extend(xrange(96, 103))
asciiTbl.extend([119, 120]) # x
# Characters
elif charsetType == CHARSET_TYPE.ALPHA:

View File

@ -366,6 +366,9 @@ def getValue(expression, blind=True, union=True, error=True, time=True, fromUser
affected parameter.
"""
if conf.hexConvert:
charsetType = CHARSET_TYPE.HEXADECIMAL
kb.safeCharEncode = safeCharEncode
kb.resumeValues = resumeValue