mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
URI injection patch (on request by @bojanisc)
This commit is contained in:
parent
d086b2aca0
commit
c0d4db3aba
3 changed files with 4 additions and 4 deletions
|
|
@ -107,7 +107,7 @@ class Agent(object):
|
|||
else:
|
||||
origValue = filter(None, (re.search(_, origValue.split(BOUNDED_INJECTION_MARKER)[0]) for _ in (r"\w+\Z", r"[^\"'><]+\Z", r"[^ ]+\Z")))[0].group(0)
|
||||
origValue = origValue[origValue.rfind('/') + 1:]
|
||||
for char in ('?', '=', ':', ','):
|
||||
for char in ('?', '=', ':', ',', '&'):
|
||||
if char in origValue:
|
||||
origValue = origValue[origValue.rfind(char) + 1:]
|
||||
elif place == PLACE.CUSTOM_POST:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue