mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +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
|
||||
headers = forgeHeaders(cookie, ua)
|
||||
|
||||
headers["Referer"] = "%s://%s" % (conf.scheme, conf.hostname)
|
||||
|
||||
if kb.authHeader:
|
||||
headers["Authorization"] = kb.authHeader
|
||||
|
||||
|
||||
Reference in New Issue
Block a user