Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NoSQLMap - Automate the NoSQL database and web apps exploit tool
- Screenshot
- NoSQLMap
- NoSQLMap 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.
- Originally authored by @tcsstool and now maintained by @codingo_ NoSQLMap is named as a tribute to Bernardo Damele and Miroslav's Stampar's popular SQL injection tool sqlmap. Its concepts are based on and extensions of Ming Chow's excellent presentation at Defcon 21, "Abusing NoSQL Databases".
- What is NoSQL?
- A 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.
- DBMS Support: Presently 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.
- Requirements
- * Metasploit Framework,
- * Python with PyMongo,
- * httplib2 and urllib available.
- * A local, default MongoDB instance for cloning databases to. Check here for installation instructions.
- Install
- git clone https://github.com/codingo/NoSQLMap
- cd NoSQLMap
- sudo python setup.py install
- sudo python nosqlmap.py
- Update: cd NoSQLMap && git pull
- Usage Instructions
- Start with: sudo python nosqlmap.py
- NoSQLMap uses a menu based system for building attacks. Upon starting NoSQLMap you are presented with with the main menu:
- 1-Set options (do this first)
- 2-NoSQL DB Access Attacks
- 3-NoSQL Web App attacks
- 4-Scan for Anonymous MongoDB Access
- x-Exit
- Explanation of options:
- Once 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 [email protected] or find me on Twitter @codingo_ if you have any questions or suggestions.
- Download NoSQLMap: https://github.com/codingo/NoSQLMap
Advertisement
Add Comment
Please, Sign In to add comment