mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-20 18:54:02 +00:00
this was bothering me for some time (POST and/or GET payloads needs to be urlencoded throughly)
This commit is contained in:
parent
d8a76ebe34
commit
5eae525010
2 changed files with 22 additions and 17 deletions
|
|
@ -414,7 +414,12 @@ class Connect:
|
|||
if place == PLACE.COOKIE and conf.cookieUrlencode:
|
||||
value = agent.removePayloadDelimiters(value)
|
||||
value = urlEncodeCookieValues(value)
|
||||
|
||||
elif place:
|
||||
if place in (PLACE.GET, PLACE.POST):
|
||||
payload = urlencode(payload, None, True, True)
|
||||
value = agent.replacePayload(value, payload)
|
||||
|
||||
value = agent.removePayloadDelimiters(value)
|
||||
|
||||
if conf.checkPayload:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue