mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-09 14:11:29 +00:00
compatibility with partial union and error technique resumed data
This commit is contained in:
@@ -472,7 +472,6 @@ def checkSqlInjection(place, parameter, value):
|
||||
injection.data[stype].comment = comment
|
||||
injection.data[stype].templatePayload = templatePayload
|
||||
injection.data[stype].matchRatio = kb.matchRatio
|
||||
injection.data[stype].chars = kb.chars
|
||||
|
||||
injection.conf.textOnly = conf.textOnly
|
||||
injection.conf.titles = conf.titles
|
||||
|
||||
@@ -176,12 +176,16 @@ def __saveToSessionFile():
|
||||
|
||||
setInjection(inj)
|
||||
|
||||
def __saveAbsFilePaths():
|
||||
def __saveToHashDB():
|
||||
key = "kb.absFilePaths"
|
||||
value = unserializeObject(conf.hashDB.retrieve(key)) or set()
|
||||
value.update(kb.absFilePaths)
|
||||
conf.hashDB.write(key, serializeObject(value))
|
||||
|
||||
key = "kb.chars"
|
||||
if not conf.hashDB.retrieve(key):
|
||||
conf.hashDB.write(key, serializeObject(kb.chars))
|
||||
|
||||
def __saveToResultsFile():
|
||||
if not conf.resultsFP:
|
||||
return
|
||||
@@ -568,7 +572,7 @@ def start():
|
||||
|
||||
__saveToSessionFile()
|
||||
__saveToResultsFile()
|
||||
__saveAbsFilePaths()
|
||||
__saveToHashDB()
|
||||
__showInjections()
|
||||
__selectInjection()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user