Skip to content

Commit 760563d

Browse files
committed
Patch for #4451
1 parent 92054b5 commit 760563d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4989,7 +4989,7 @@ def resetCookieJar(cookieJar):
49894989
cookieJar.load(cookieJar.filename, ignore_expires=True)
49904990

49914991
for cookie in cookieJar:
4992-
if cookie.expires < time.time():
4992+
if getattr(cookie, "expires", MAX_INT) < time.time():
49934993
warnMsg = "cookie '%s' has expired" % cookie
49944994
singleTimeWarnMessage(warnMsg)
49954995

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.12.13"
21+
VERSION = "1.4.12.14"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)