mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-17 11:33:27 +03:00
minor update
This commit is contained in:
parent
d9f08e4aa3
commit
a09716a701
|
@ -138,6 +138,9 @@ class Connect:
|
||||||
# Perform HTTP request
|
# Perform HTTP request
|
||||||
headers = forgeHeaders(cookie, ua)
|
headers = forgeHeaders(cookie, ua)
|
||||||
|
|
||||||
|
if conf.realTest:
|
||||||
|
headers["Referer"] = "%s://%s" % (conf.scheme, conf.hostname)
|
||||||
|
|
||||||
if kb.authHeader:
|
if kb.authHeader:
|
||||||
headers["Authorization"] = kb.authHeader
|
headers["Authorization"] = kb.authHeader
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user