mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-13 10:00:36 +03:00
minor fix
This commit is contained in:
parent
bb99bd2fbe
commit
1c5427baf8
|
@ -278,6 +278,8 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
|
||||||
|
|
||||||
if getPostReq and (params or cookie):
|
if getPostReq and (params or cookie):
|
||||||
if not url.startswith("http"):
|
if not url.startswith("http"):
|
||||||
|
if not port and scheme == "https":
|
||||||
|
port = "443"
|
||||||
url = "%s://%s:%s%s" % (scheme or "http", host, port or "80", url)
|
url = "%s://%s:%s%s" % (scheme or "http", host, port or "80", url)
|
||||||
scheme = None
|
scheme = None
|
||||||
port = None
|
port = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user