mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 19:22:48 +00:00
Fix forced SSL port rewrite
This commit is contained in:
parent
bfe39d010f
commit
8cac5fdab6
3 changed files with 4 additions and 4 deletions
|
|
@ -422,7 +422,7 @@ class Connect(object):
|
|||
elif target:
|
||||
if conf.forceSSL:
|
||||
url = re.sub(r"(?i)\A(http|ws):", r"\g<1>s:", url)
|
||||
url = re.sub(r"(?i):80/", ":443/", url)
|
||||
url = re.sub(r"(?i):80(?=[/?#]|\Z)", ":443", url)
|
||||
|
||||
if PLACE.GET in conf.parameters and not get:
|
||||
get = conf.parameters[PLACE.GET]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue