mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 16:10:35 +03:00
minor adjustment (accepting strange new looking uri formats)
This commit is contained in:
parent
1af418d444
commit
d211def899
|
@ -964,7 +964,7 @@ def parseTargetUrl():
|
||||||
__hostnamePort = __urlSplit[1].split(":")
|
__hostnamePort = __urlSplit[1].split(":")
|
||||||
|
|
||||||
conf.scheme = __urlSplit[0].strip()
|
conf.scheme = __urlSplit[0].strip()
|
||||||
conf.path = __urlSplit[2].strip()
|
conf.path = conf.url[conf.url.index(__urlSplit[2]):].strip()
|
||||||
conf.hostname = __hostnamePort[0].strip()
|
conf.hostname = __hostnamePort[0].strip()
|
||||||
|
|
||||||
if re.search(r'\s', conf.hostname):
|
if re.search(r'\s', conf.hostname):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user