flipkart-incubator / Astra

Automated Security Testing For REST API's
Apache License 2.0
2.49k stars 396 forks source link

fix sqlmap bug #89

Closed Anemone95 closed 5 years ago

Anemone95 commented 5 years ago

When content type is 'application/json', sqlmap can't find any injections. So we should change the body type from dict to jsonstring. See modules/sqli.py for more details.

sagarpo commented 5 years ago

@Anemone95 Thanks for the pull request. I will check this soon.

sagarpo commented 5 years ago

@Anemone95: I have merged it to dev branch. I will re-check it and merge it to master. Thanks for the fix.