mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Moving binary to textual file openings
This commit is contained in:
parent
e62e8c6cea
commit
d9102e03c6
10 changed files with 28 additions and 27 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue