mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
improvement of url encoding technique (implemented failsafe routine for shortening too long GET queries)
This commit is contained in:
parent
9b2962ff1c
commit
5c97f9a496
3 changed files with 28 additions and 3 deletions
|
|
@ -421,7 +421,7 @@ class Connect:
|
|||
checkPayload(value)
|
||||
|
||||
if PLACE.GET in conf.parameters:
|
||||
get = urlencode(conf.parameters[PLACE.GET] if place != PLACE.GET or not value else value)
|
||||
get = urlencode(conf.parameters[PLACE.GET] if place != PLACE.GET or not value else value, limit=True)
|
||||
|
||||
if PLACE.POST in conf.parameters:
|
||||
post = urlencode(conf.parameters[PLACE.POST] if place != PLACE.POST or not value else value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue