Databases
Basic Reconnaissance
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
information_schema Metadata and all the databases and tables
information_schema.schemata Databases
information_schema.tables Tables
information_schema.columns Columnssqlmap
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