mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
Patch for #4451
This commit is contained in:
parent
92054b5d63
commit
760563dbd1
2 changed files with 2 additions and 2 deletions
|
|
@ -4989,7 +4989,7 @@ def resetCookieJar(cookieJar):
|
|||
cookieJar.load(cookieJar.filename, ignore_expires=True)
|
||||
|
||||
for cookie in cookieJar:
|
||||
if cookie.expires < time.time():
|
||||
if getattr(cookie, "expires", MAX_INT) < time.time():
|
||||
warnMsg = "cookie '%s' has expired" % cookie
|
||||
singleTimeWarnMessage(warnMsg)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue