mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor refactoring
This commit is contained in:
parent
18626656ec
commit
94c170d392
3 changed files with 5 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue