mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-15 12:29:56 +00:00
Fix for --param-filter=POST not matching JSON/XML bodies
This commit is contained in:
parent
ca2e847ef6
commit
4b8c39e424
2 changed files with 2 additions and 2 deletions
|
|
@ -636,7 +636,7 @@ def start():
|
|||
skip |= (place == PLACE.REFERER and (kb.testOnlyCustom or conf.level < 3))
|
||||
|
||||
# --param-filter
|
||||
skip |= (len(conf.paramFilter) > 0 and place.upper() not in conf.paramFilter)
|
||||
skip |= (len(conf.paramFilter) > 0 and place.upper() not in conf.paramFilter and place.upper().replace("(CUSTOM) ", "") not in conf.paramFilter) # Note: e.g. POST for JSON/XML (i.e. '(custom) POST') too
|
||||
|
||||
# Test Host header only if
|
||||
# --level >= 5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue