mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Replaced netloc with hostname
This commit is contained in:
parent
121caadf6b
commit
7f1119e36d
|
@ -514,7 +514,7 @@ class Connect(object):
|
|||
if conf.proxy:
|
||||
ws_proxy_uri = _urllib.parse.urlsplit(conf.proxy)
|
||||
ws_proxy_port = ws_proxy_uri.port
|
||||
ws_proxy_host = ws_proxy_uri.netloc.split(":")[0]
|
||||
ws_proxy_host = ws_proxy_uri.hostname
|
||||
ws_proxy_scheme = ws_proxy_uri.scheme
|
||||
|
||||
if conf.proxyCred:
|
||||
|
|
Loading…
Reference in New Issue
Block a user