mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03: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:
parent
64b5de44a0
commit
a14e4d9668
|
@ -131,8 +131,6 @@ class Connect:
|
|||
# Perform HTTP request
|
||||
headers = forgeHeaders(cookie, ua)
|
||||
|
||||
headers["Referer"] = "%s://%s" % (conf.scheme, conf.hostname)
|
||||
|
||||
if kb.authHeader:
|
||||
headers["Authorization"] = kb.authHeader
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user