mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Fixes #1505
This commit is contained in:
@@ -3861,7 +3861,7 @@ def resetCookieJar(cookieJar):
|
||||
os.close(handle)
|
||||
|
||||
# Reference: http://www.hashbangcode.com/blog/netscape-http-cooke-file-parser-php-584.html
|
||||
with open(filename, "w+b") as f:
|
||||
with openFile(filename, "w+b") as f:
|
||||
f.write("%s\n" % NETSCAPE_FORMAT_HEADER_COOKIES)
|
||||
for line in lines:
|
||||
_ = line.split("\t")
|
||||
|
||||
Reference in New Issue
Block a user