mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
added IDS payload testing
This commit is contained in:
parent
bdb9c37a7e
commit
378653a1ec
4 changed files with 52 additions and 31 deletions
|
|
@ -30,6 +30,7 @@ from lib.request.basic import parseResponse
|
|||
from lib.request.direct import direct
|
||||
from lib.request.comparison import comparison
|
||||
from lib.request.methodrequest import MethodRequest
|
||||
from lib.utils.detection import checkPayload
|
||||
|
||||
|
||||
class Connect:
|
||||
|
|
@ -309,6 +310,9 @@ class Connect:
|
|||
for function in kb.tamperFunctions:
|
||||
value = function(place, value)
|
||||
|
||||
if conf.checkPayload:
|
||||
checkPayload(value)
|
||||
|
||||
if "GET" in conf.parameters:
|
||||
get = conf.parameters["GET"] if place != "GET" or not value else value
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue