Last active
February 17, 2016 19:00
-
-
Save deepal/968ab74424c2d1243416 to your computer and use it in GitHub Desktop.
nodesec-mongodb-injection
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
DBSecretNotes.find({username: req.body.username, secret: req.body.secret}).exec(function(err, secretNotes){ | |
//List all secret notes of the user | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment