mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor fix to urldecode %3d and any other urlencoded values in target url, posted data and cookie
This commit is contained in:
parent
41f8acf0fd
commit
f90a7cce28
3 changed files with 15 additions and 7 deletions
|
|
@ -72,7 +72,11 @@ def urldecode(string):
|
|||
if not string:
|
||||
return
|
||||
|
||||
return urllib.unquote_plus(string)
|
||||
doublePercFreeString = string.replace("%%", "__DPERC__")
|
||||
unquotedString = urllib.unquote_plus(doublePercFreeString)
|
||||
unquotedString = unquotedString.replace("__DPERC__", "%%")
|
||||
|
||||
return unquotedString
|
||||
|
||||
|
||||
def urlencode(string, safe=":/?%&="):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue