Databases
Tips
If a database has a table of session one can try to steal cookies or other credentials from the table to authenticate as another user.
If one is in a database with write access and there are roles assigned to users, give the current user admin rights.
SQL injection cheat sheets
Universal structures
Tools (SQL)
sqlmap
GET
Discover vulnerabilities in databases as well as dump info
POST
Web sockets
Commands
To get data from any query use the --dump
option
Shell
To get upload web interface look for file stager
otherwise look for backdoor
in the output.
File upload
References
NoSQL
https://github.com/swisskyrepo/PayloadsAllTheThings/tree/master/NoSQL%20Injection
Authentication Bypass
SSJI
NoSQLMap
Since the tool is using a menu based system, I'll just link the GitHub. Documentation and Release ​​
Last updated