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