mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-25 19:33:48 +03:00
minor temporary fix
This commit is contained in:
parent
98a3e43f53
commit
11c7cc5224
|
@ -7,6 +7,7 @@ Copyright (c) 2006-2012 sqlmap developers (http://www.sqlmap.org/)
|
||||||
See the file 'doc/COPYING' for copying permission
|
See the file 'doc/COPYING' for copying permission
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import binascii
|
||||||
import codecs
|
import codecs
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
@ -210,6 +211,7 @@ def __resumeHashDBValues():
|
||||||
Resume stored data values from HashDB
|
Resume stored data values from HashDB
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
try:
|
||||||
kb.absFilePaths = hashDBRetrieve(HASHDB_KEYS.KB_ABS_FILE_PATHS, True) or kb.absFilePaths
|
kb.absFilePaths = hashDBRetrieve(HASHDB_KEYS.KB_ABS_FILE_PATHS, True) or kb.absFilePaths
|
||||||
kb.chars = hashDBRetrieve(HASHDB_KEYS.KB_CHARS, True) or kb.chars
|
kb.chars = hashDBRetrieve(HASHDB_KEYS.KB_CHARS, True) or kb.chars
|
||||||
kb.dynamicMarkings = hashDBRetrieve(HASHDB_KEYS.KB_DYNAMIC_MARKINGS, True) or kb.dynamicMarkings
|
kb.dynamicMarkings = hashDBRetrieve(HASHDB_KEYS.KB_DYNAMIC_MARKINGS, True) or kb.dynamicMarkings
|
||||||
|
@ -229,6 +231,11 @@ def __resumeHashDBValues():
|
||||||
|
|
||||||
if injection not in kb.injections:
|
if injection not in kb.injections:
|
||||||
kb.injections.append(injection)
|
kb.injections.append(injection)
|
||||||
|
except binascii.Error:
|
||||||
|
errMsg = "revision r4833 invalidated all previous session data. "
|
||||||
|
errMsg += "You are advised either to temporary revert to the previous "
|
||||||
|
errMsg += "revision or (recommended) run with the switch '--flush-session'"
|
||||||
|
raise sqlmapGenericException, errMsg
|
||||||
|
|
||||||
def __setOutputResume():
|
def __setOutputResume():
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user