mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Patch for #4451
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user