TCP 27017: MongoDB
Last updated
Last updated
MongoDB is a source-available cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. MongoDB is developed by MongoDB Inc. and licensed under the Server Side Public License.
--
Collections are like tables
Documents are like rows
Fields are like columns
$eq
$ne
$gt
$where
$exists
$regex
Show databases
Select database
Create database
Create collection
Show collections
Create document
Query collection
Update document
Delete document
Use e.g. { "$ne": "whatever" }
as password to bypass login logic.
Inject $ne
in GET param ?username[$ne]=name
to invert the logic.