Get the App
SLTechnology News&Howtos  ›  Network Security  › 

SQLMAP injects data in json format

Shulou Source: shulou.com Published: 2022-06-01 04:23:28 10月06日 Update

When the injection point is in the json format data, the SQLMAP may be stupid and can't find the injection point.

Using-p to specify parameters is not good for specifying fields in json format.

At this point, you need to manually modify the injected json data so that SQLMAP can find the injection parameters:

The json input that causes SQLMAP to be stupid looks like this:

{"name": ["string"]}

Changing it to either of the following forms allows SQLMAP to find the injection point (rather than skip it directly):

/ / method 1, add * {"name": ["string*"]} / / this is seen from foreign forums / / method 2, delete the brackets {"name": "string"}

Tags: Data format parameter method bad manual can make field form time forum square bracket middle time input Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Xiaomi Shulou Information NVidia Docker