mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
minor patch
This commit is contained in:
parent
39b406c5c1
commit
5f7dbec41f
|
@ -621,7 +621,7 @@ mariano <marianoso@gmail.com>
|
|||
for reporting a bug
|
||||
|
||||
mitchell <mitchell@tufala.net>
|
||||
for reporting a bug
|
||||
for reporting a few bugs
|
||||
|
||||
Nadzree <nadzree@bake180.com>
|
||||
for reporting a minor bug
|
||||
|
|
|
@ -212,6 +212,7 @@ def __setOutputResume():
|
|||
|
||||
if os.path.exists(conf.sessionFile):
|
||||
if not conf.flushSession:
|
||||
try:
|
||||
readSessionFP = codecs.open(conf.sessionFile, "r", UNICODE_ENCODING, 'replace')
|
||||
__url_cache = set()
|
||||
__expression_cache = {}
|
||||
|
@ -252,7 +253,10 @@ def __setOutputResume():
|
|||
|
||||
if kb.injection.place is not None and kb.injection.parameter is not None:
|
||||
kb.injections.append(kb.injection)
|
||||
|
||||
except IOError, msg:
|
||||
errMsg = "unable to properly open the session file (%s)" % msg
|
||||
raise sqlmapFilePathException, errMsg
|
||||
else:
|
||||
readSessionFP.close()
|
||||
else:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user