mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
added --tamper option
This commit is contained in:
parent
9a08f7feb8
commit
34580f56fc
6 changed files with 107 additions and 42 deletions
|
|
@ -305,9 +305,13 @@ class Connect:
|
|||
|
||||
if not place:
|
||||
place = kb.injPlace
|
||||
|
||||
if kb.tamperFunctions:
|
||||
for function in kb.tamperFunctions:
|
||||
value = function(place, value)
|
||||
|
||||
if "GET" in conf.parameters:
|
||||
get = conf.parameters["GET"] if place != "GET" or not value else value
|
||||
get = conf.parameters["GET"] if place != "GET" or not value else value
|
||||
|
||||
if "POST" in conf.parameters:
|
||||
post = conf.parameters["POST"] if place != "POST" or not value else value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue