mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-21 13:49:04 +00:00
Moving binary to textual file openings
This commit is contained in:
@@ -593,7 +593,7 @@ def main():
|
||||
|
||||
if conf.get("harFile"):
|
||||
try:
|
||||
with openFile(conf.harFile, "w+b") as f:
|
||||
with openFile(conf.harFile, "w+") as f:
|
||||
json.dump(conf.httpCollector.obtain(), fp=f, indent=4, separators=(',', ': '))
|
||||
except SqlmapBaseException as ex:
|
||||
errMsg = getSafeExString(ex)
|
||||
|
||||
Reference in New Issue
Block a user