{"id":14956664,"url":"https://github.com/codingo/nosqlmap","last_synced_at":"2025-04-10T04:49:23.937Z","repository":{"id":37413181,"uuid":"13067823","full_name":"codingo/NoSQLMap","owner":"codingo","description":"Automated NoSQL database enumeration and web application exploitation tool.","archived":false,"fork":false,"pushed_at":"2024-07-28T00:06:18.000Z","size":984,"stargazers_count":3037,"open_issues_count":1,"forks_count":586,"subscribers_count":106,"default_branch":"master","last_synced_at":"2025-04-03T02:23:32.005Z","etag":null,"topics":["bugbounty","couchdb","databases","enumeration","hacking","hacking-tool","hacktoberfest","mongodb","mongodb-database","nosql","nosql-databases","offensive-security","penetration-testing","redis","scanner","security-audit","security-tools","security-toolset","sql-injection","web-application-security"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codingo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"PayPal.Me/codingo"}},"created_at":"2013-09-24T15:01:30.000Z","updated_at":"2025-04-03T00:50:21.000Z","dependencies_parsed_at":"2023-01-29T08:15:53.159Z","dependency_job_id":"29ce9cee-bdf7-4fa4-af59-b50f550f540d","html_url":"https://github.com/codingo/NoSQLMap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingo%2FNoSQLMap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingo%2FNoSQLMap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingo%2FNoSQLMap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingo%2FNoSQLMap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codingo","download_url":"https://codeload.github.com/codingo/NoSQLMap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161244,"owners_count":21057552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bugbounty","couchdb","databases","enumeration","hacking","hacking-tool","hacktoberfest","mongodb","mongodb-database","nosql","nosql-databases","offensive-security","penetration-testing","redis","scanner","security-audit","security-tools","security-toolset","sql-injection","web-application-security"],"created_at":"2024-09-24T13:13:19.015Z","updated_at":"2025-04-10T04:49:23.905Z","avatar_url":"https://github.com/codingo.png","language":"Python","readme":"# NoSQLMap\n\n[![Python 2.6|2.7](https://img.shields.io/badge/python-2.6|2.7-yellow.svg)](https://www.python.org/)\n[![License](https://img.shields.io/badge/license-GPLv3-red.svg)](https://github.com/codingo/NoSQLMap/blob/master/COPYING)\n[![Twitter](https://img.shields.io/badge/twitter-@codingo__-blue.svg)](https://twitter.com/codingo_)\n\nNoSQLMap is an open source Python tool designed to audit for as well as automate injection attacks and exploit default configuration weaknesses in NoSQL databases and web applications using NoSQL in order to disclose or clone data from the database.\n\nOriginally authored by [@tcsstool](https://twitter.com/tcstoolHax0r) and now maintained by [@codingo\\_](https://twitter.com/codingo_) NoSQLMap is named as a tribute to Bernardo Damele and Miroslav's Stampar's popular SQL injection tool [sqlmap](http://sqlmap.org). Its concepts are based on and extensions of Ming Chow's excellent presentation at Defcon 21, [\"Abusing NoSQL Databases\"](https://www.defcon.org/images/defcon-21/dc-21-presentations/Chow/DEFCON-21-Chow-Abusing-NoSQL-Databases.pdf).\n\n## NoSQLMap MongoDB Management Attack Demo.\n\n\u003ca href=\"http://www.youtube.com/watch?feature=player_embedded\u0026v=xSFi-jxOBwM\" target=\"_blank\"\u003e\u003cimg src=\"http://img.youtube.com/vi/xSFi-jxOBwM/0.jpg\" alt=\"NoSQLMap MongoDB Management Attack Demo\" width=\"240\" height=\"180\" border=\"10\" /\u003e\u003c/a\u003e\n\n## Screenshots\n\n![NoSQLMap](https://github.com/codingo/NoSQLMap/blob/master/screenshots/NoSQLMap-v0-5.jpg)\n\n# Summary\n\n## What is NoSQL?\n\nA NoSQL (originally referring to \"non SQL\", \"non relational\" or \"not only SQL\") database provides a mechanism for storage and retrieval of data which is modeled in means other than the tabular relations used in relational databases. Such databases have existed since the late 1960s, but did not obtain the \"NoSQL\" moniker until a surge of popularity in the early twenty-first century, triggered by the needs of Web 2.0 companies such as Facebook, Google, and Amazon.com. NoSQL databases are increasingly used in big data and real-time web applications. NoSQL systems are also sometimes called \"Not only SQL\" to emphasize that they may support SQL-like query languages.\n\n## DBMS Support\n\nPresently the tool's exploits are focused around MongoDB, and CouchDB but additional support for other NoSQL based platforms such as Redis, and Cassandra are planned in future releases.\n\n## Requirements\n\nOn a Debian or Red Hat based system, the setup.sh script may be run as root to automate the installation of NoSQLMap's dependencies.\n\nVaries based on features used:\n\n-   Metasploit Framework,\n-   Python with PyMongo,\n-   httplib2,\n-   and urllib available.\n-   A local, default MongoDB instance for cloning databases to. Check [here](http://docs.mongodb.org/manual/installation/) for installation instructions.\n\nThere are some various other libraries required that a normal Python installation should have readily available. Your milage may vary, check the script.\n\n## Setup\n\n```\npython setup.py install\n```\n\nAlternatively you can build a Docker image by changing to the docker directory and entering:\n\n```\ndocker build -t nosqlmap .\n```\n\nor you can use Docker-compose to run Nosqlmap:\n\n```\ndocker-compose build\ndocker-compose run nosqlmap\n```\n\n## Usage Instructions\n\nStart with\n\n```\npython NoSQLMap\n```\n\nNoSQLMap uses a menu based system for building attacks. Upon starting NoSQLMap you are presented with with the main menu:\n\n```\n1-Set options (do this first)\n2-NoSQL DB Access Attacks\n3-NoSQL Web App attacks\n4-Scan for Anonymous MongoDB Access\nx-Exit\n```\n\nExplanation of options:\n\n```\n1. Set target host/IP-The target web server (i.e. www.google.com) or MongoDB server you want to attack.\n2. Set web app port-TCP port for the web application if a web application is the target.\n3. Set URI Path-The portion of the URI containing the page name and any parameters but NOT the host name (e.g. /app/acct.php?acctid=102).\n4. Set HTTP Request Method (GET/POST)-Set the request method to a GET or POST; Presently only GET is implemented but working on implementing POST requests exported from Burp.\n5. Set my local Mongo/Shell IP-Set this option if attacking a MongoDB instance directly to the IP of a target Mongo installation to clone victim databases to or open Meterpreter shells to.\n6. Set shell listener port-If opening Meterpreter shells, specify the port.\n7. Load options file-Load a previously saved set of settings for 1-6.\n8. Load options from saved Burp request-Parse a request saved from Burp Suite and populate the web application options.\n9. Save options file-Save settings 1-6 for future use.\nx. Back to main menu-Use this once the options are set to start your attacks.\n```\n\nOnce options are set head back to the main menu and select DB access attacks or web app attacks as appropriate for whether you are attacking a NoSQL management port or web application. The rest of the tool is \"wizard\" based and fairly self explanatory, but send emails to codingo@protonmail.com or find me on Twitter [@codingo\\_](https://twitter.com/codingo_) if you have any questions or suggestions.\n\n## Vulnerable Applications\n\nThis repo also includes an intentionally vulnerable web application to test NoSQLMap with. To run this application, you need Docker installed. Then you can run the following commands from the /vuln_apps directory.\n\n```\ndocker-compose build \u0026\u0026 docker-compose up\n```\n\nOnce that is complete, you should be able to access the vulnerable application by visiting: https://127.0.0.1/index.html\n","funding_links":["PayPal.Me/codingo"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingo%2Fnosqlmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingo%2Fnosqlmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingo%2Fnosqlmap/lists"}