mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-23 22:49:50 +03: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
|
@ -5401,8 +5401,6 @@ def parseRequestFile(reqFile, checkParams=True):
|
|||
scheme, value = value.split('://')[:2]
|
||||
|
||||
port = extractRegexResult(r":(?P<result>\d+)\Z", value)
|
||||
if port:
|
||||
value = value[:-(1 + len(port))]
|
||||
|
||||
host = value
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user