-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
I was trying to make it possible just like how the GET request method (you can grab it from [here](https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/generic/error-based-sql-injection.yaml)) passing the SQL payloads to inject the parameters. It's a waste that nobody made a POST request template-based. Basically all this template does bruteforces the forums until it responds with the right set of parameters. Then passing the SQLi payloads is the final result. | ||
|
||
`$ nuclei -u http://testphp.vulnweb.com/userinfo.php -t error-based-post-sql-injection.yaml -var username_forum=username_forums.txt -var password_forum=password_forums.txt -var path=sqli-payloads.txt` |