mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 21:51:29 +00:00
Referer does not have to be static, it's already a switch (--referer) so that user can specify it manually.
This commit is contained in:
@@ -131,8 +131,6 @@ class Connect:
|
|||||||
# Perform HTTP request
|
# Perform HTTP request
|
||||||
headers = forgeHeaders(cookie, ua)
|
headers = forgeHeaders(cookie, ua)
|
||||||
|
|
||||||
headers["Referer"] = "%s://%s" % (conf.scheme, conf.hostname)
|
|
||||||
|
|
||||||
if kb.authHeader:
|
if kb.authHeader:
|
||||||
headers["Authorization"] = kb.authHeader
|
headers["Authorization"] = kb.authHeader
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user