mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor patch
This commit is contained in:
parent
89dfe4e1ac
commit
154ed2c4e2
2 changed files with 5 additions and 1 deletions
|
|
@ -832,9 +832,13 @@ class Connect(object):
|
|||
|
||||
if PLACE.GET in conf.parameters:
|
||||
get = conf.parameters[PLACE.GET] if place != PLACE.GET or not value else value
|
||||
elif place == PLACE.GET: # Note: for (e.g.) checkWaf() when there are no GET parameters
|
||||
get = value
|
||||
|
||||
if PLACE.POST in conf.parameters:
|
||||
post = conf.parameters[PLACE.POST] if place != PLACE.POST or not value else value
|
||||
elif place == PLACE.POST:
|
||||
post = value
|
||||
|
||||
if PLACE.CUSTOM_POST in conf.parameters:
|
||||
post = conf.parameters[PLACE.CUSTOM_POST].replace(CUSTOM_INJECTION_MARK_CHAR, "") if place != PLACE.CUSTOM_POST or not value else value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue