SQLMAP post data error persists even after changing the requested file

480 views Asked by At

I was trying to run sqlmap with method POST but I got this error:

[CRITICAL] no parameter(s) found for testing in the provided data (e.g. GET parameter 'id' in 'www.site.com/index.php?id=1')

even though I have provided the parameter in the request

sqlmap -r variablespatch.txt --dbs --batch --data variable_id

data used in the request

above is the image of the data I have used in the request

I have tried changing formatting also multiple times but it was not working.
sqlmap -r variablespatch.txt --dbs --batch --p variable_id I've tried with this request also

1

There are 1 answers

1
Rexha Rex On

the header format you are using is not correct. you must put the post parameter under two newlines ex :

Accept-Language: en-Us, en;q=0.9

{"variable_id":"tjdm4k1o"