mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
Fixes #1505
This commit is contained in:
parent
04aaa5985b
commit
4dc0c05172
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user