mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
code consistency
This commit is contained in:
@@ -3380,7 +3380,7 @@ def resetCookieJar(cookieJar):
|
||||
|
||||
content = readCachedFileContent(conf.loadCookies)
|
||||
lines = filter(None, (line.strip() for line in content.split("\n") if not line.startswith('#')))
|
||||
handle, filename = tempfile.mkstemp()
|
||||
handle, filename = tempfile.mkstemp(prefix="sqlmapcj-")
|
||||
os.close(handle)
|
||||
|
||||
with open(filename, "w+b") as f:
|
||||
|
||||
Reference in New Issue
Block a user