Moving binary to textual file openings

This commit is contained in:
Miroslav Stampar
2026-01-18 00:05:05 +01:00
parent e62e8c6cea
commit d9102e03c6
10 changed files with 28 additions and 27 deletions

View File

@@ -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)