mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
added IDS payload testing
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user