mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +03:00
minor update related to the last commit
This commit is contained in:
parent
1c5427baf8
commit
930262f573
|
@ -277,9 +277,10 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
|
||||||
getPostReq &= re.search(conf.scope, host) is not None
|
getPostReq &= re.search(conf.scope, host) is not None
|
||||||
|
|
||||||
if getPostReq and (params or cookie):
|
if getPostReq and (params or cookie):
|
||||||
if not url.startswith("http"):
|
|
||||||
if not port and scheme == "https":
|
if not port and scheme == "https":
|
||||||
port = "443"
|
port = "443"
|
||||||
|
|
||||||
|
if not url.startswith("http"):
|
||||||
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