mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-15 18:52:31 +03:00
Fixes #1467
This commit is contained in:
parent
80aca35dd1
commit
e3ae026077
|
@ -849,7 +849,7 @@ class Connect(object):
|
||||||
if headers and "text/plain" in headers.get(HTTP_HEADER.CONTENT_TYPE, ""):
|
if headers and "text/plain" in headers.get(HTTP_HEADER.CONTENT_TYPE, ""):
|
||||||
token = page
|
token = page
|
||||||
|
|
||||||
if not token and any(_.name == conf.csrfToken for _ in conf.cj):
|
if not token and conf.cj and any(_.name == conf.csrfToken for _ in conf.cj):
|
||||||
for _ in conf.cj:
|
for _ in conf.cj:
|
||||||
if _.name == conf.csrfToken:
|
if _.name == conf.csrfToken:
|
||||||
token = _.value
|
token = _.value
|
||||||
|
|
Loading…
Reference in New Issue
Block a user