mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +03:00
support for loading 'faulty character set' session files
This commit is contained in:
parent
eaef068c90
commit
c398353e06
|
@ -123,7 +123,7 @@ def __setOutputResume():
|
||||||
|
|
||||||
if os.path.exists(conf.sessionFile):
|
if os.path.exists(conf.sessionFile):
|
||||||
if not conf.flushSession:
|
if not conf.flushSession:
|
||||||
readSessionFP = codecs.open(conf.sessionFile, "r", conf.dataEncoding)
|
readSessionFP = codecs.open(conf.sessionFile, "r", conf.dataEncoding, 'replace')
|
||||||
__url_cache = set()
|
__url_cache = set()
|
||||||
__expression_cache = {}
|
__expression_cache = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user