mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
compatibility with partial union and error technique resumed data
This commit is contained in:
parent
58a4a02b7e
commit
f622995a29
5 changed files with 11 additions and 4 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue