mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Adding support for WebSocket over SSL (wss://)
This commit is contained in:
parent
8a97e7edcc
commit
02c8f47892
3 changed files with 9 additions and 6 deletions
|
|
@ -346,8 +346,8 @@ class Connect(object):
|
|||
pass
|
||||
|
||||
elif target:
|
||||
if conf.forceSSL and _urllib.parse.urlparse(url).scheme != "https":
|
||||
url = re.sub(r"(?i)\Ahttp:", "https:", url)
|
||||
if conf.forceSSL:
|
||||
url = re.sub(r"(?i)\A(http|ws):", r"\g<1>s:", url)
|
||||
url = re.sub(r"(?i):80/", ":443/", url)
|
||||
|
||||
if PLACE.GET in conf.parameters and not get:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue