mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 17:02:39 +01:00
minor update
This commit is contained in:
parent
d9f08e4aa3
commit
a09716a701
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue