mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
minor improvement for URI injections
This commit is contained in:
parent
d434047482
commit
2f4e34f5a0
1 changed files with 3 additions and 0 deletions
|
|
@ -80,6 +80,9 @@ class Agent:
|
|||
if place == PLACE.URI:
|
||||
origValue = origValue.split(URI_INJECTION_MARK_CHAR)[0]
|
||||
origValue = origValue[origValue.rfind('/') + 1:]
|
||||
for char in ('?', '=', ':'):
|
||||
if char in origValue:
|
||||
origValue = origValue[origValue.rfind(char) + 1:]
|
||||
|
||||
if value is None:
|
||||
if where == PAYLOAD.WHERE.ORIGINAL:
|
||||
|
|
|
|||
Loading…
Reference in a new issue