mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
Fixed the problem of using -r to parse the request where host:ip does not splice the port.
This commit is contained in:
parent
507c719bef
commit
2cb46c0839
1 changed files with 0 additions and 2 deletions
|
|
@ -5401,8 +5401,6 @@ def parseRequestFile(reqFile, checkParams=True):
|
||||||
scheme, value = value.split('://')[:2]
|
scheme, value = value.split('://')[:2]
|
||||||
|
|
||||||
port = extractRegexResult(r":(?P<result>\d+)\Z", value)
|
port = extractRegexResult(r":(?P<result>\d+)\Z", value)
|
||||||
if port:
|
|
||||||
value = value[:-(1 + len(port))]
|
|
||||||
|
|
||||||
host = value
|
host = value
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue