mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Minor refactoring
This commit is contained in:
@@ -1400,9 +1400,9 @@ def parseTargetUrl():
|
||||
|
||||
if not re.search(r"^http[s]*://", conf.url, re.I) and not re.search(r"^ws[s]*://", conf.url, re.I):
|
||||
if ":443/" in conf.url:
|
||||
conf.url = "https://" + conf.url
|
||||
conf.url = "https://%s" % conf.url
|
||||
else:
|
||||
conf.url = "http://" + conf.url
|
||||
conf.url = "http://%s" % conf.url
|
||||
|
||||
if kb.customInjectionMark in conf.url:
|
||||
conf.url = conf.url.replace('?', URI_QUESTION_MARKER)
|
||||
|
||||
Reference in New Issue
Block a user