mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
Minor fix
This commit is contained in:
parent
6888d2fc34
commit
bbc6dd9ac8
|
@ -43,7 +43,7 @@ def saveHistory(completion=None):
|
||||||
historyPath = paths.SQLMAP_SHELL_HISTORY
|
historyPath = paths.SQLMAP_SHELL_HISTORY
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(historyPath, "rw+") as f:
|
with open(historyPath, "w+") as f:
|
||||||
f.truncate()
|
f.truncate()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue
Block a user