mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-07 07:09:02 +00:00
Minor update
This commit is contained in:
@@ -258,7 +258,7 @@ def getHeuristicCharEncoding(page):
|
||||
'ascii'
|
||||
"""
|
||||
|
||||
key = hash(page)
|
||||
key = (len(page), hash(page))
|
||||
retVal = kb.cache.encoding[key] if key in kb.cache.encoding else detect(page[:HEURISTIC_PAGE_SIZE_THRESHOLD])["encoding"]
|
||||
kb.cache.encoding[key] = retVal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user