No SQL Injection
Type
Description
Examples
Basics
app.post('/api/v1/getUser', (req, res) => {
client.connect(function(_, con) {
const cursor = con
.db("example")
.collection("users")
.find({username: req.body['username']});
cursor.toArray(function(_, result) {
res.send(result);
});
});
});Authentication Bypass
In-Band Data Extraction
Sample Automation Script
Server-Side JavaScript Injection
Automation
Last updated