mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
fix by request
This commit is contained in:
@@ -223,7 +223,7 @@ class Connect:
|
|||||||
if kb.proxyAuthHeader:
|
if kb.proxyAuthHeader:
|
||||||
headers[HTTPHEADER.PROXY_AUTHORIZATION] = kb.proxyAuthHeader
|
headers[HTTPHEADER.PROXY_AUTHORIZATION] = kb.proxyAuthHeader
|
||||||
|
|
||||||
headers[HTTPHEADER.HOST] = urlparse.urlparse(url).netloc.split(':')[0]
|
headers[HTTPHEADER.HOST] = urlparse.urlparse(url).netloc
|
||||||
|
|
||||||
if auxHeaders:
|
if auxHeaders:
|
||||||
for key, item in auxHeaders.items():
|
for key, item in auxHeaders.items():
|
||||||
|
|||||||
Reference in New Issue
Block a user