mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
minor update (added comment)
This commit is contained in:
parent
6cc745f789
commit
2fd3f0d7b2
1 changed files with 2 additions and 0 deletions
|
|
@ -417,6 +417,8 @@ class Connect:
|
||||||
|
|
||||||
elif place:
|
elif place:
|
||||||
if place in (PLACE.GET, PLACE.POST):
|
if place in (PLACE.GET, PLACE.POST):
|
||||||
|
# payloads in GET and/or POST need to be urlencoded
|
||||||
|
# throughly without safe chars (especially &, = and %)
|
||||||
payload = urlencode(payload, None, True, True)
|
payload = urlencode(payload, None, True, True)
|
||||||
value = agent.replacePayload(value, payload)
|
value = agent.replacePayload(value, payload)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue