Skip to content

Commit 216565f

Browse files
committed
Fixes #5275
1 parent 6e3eaca commit 216565f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/core/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

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

lib/request/basic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def title(self):
108108
if conf.cj:
109109
if HTTP_HEADER.COOKIE in headers:
110110
for cookie in conf.cj:
111-
if cookie.domain_specified and not (conf.hostname or "").endswith(cookie.domain):
111+
if cookie is None or cookie.domain_specified and not (conf.hostname or "").endswith(cookie.domain):
112112
continue
113113

114114
if ("%s=" % getUnicode(cookie.name)) in getUnicode(headers[HTTP_HEADER.COOKIE]):

0 commit comments

Comments
 (0)