TVT618

NoSQLMap

Jun 3rd, 2018
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. NoSQLMap - Automate the NoSQL database and web apps exploit tool
  2.  
  3. Screenshot
  4.  
  5. NoSQLMap
  6. 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.
  7.  
  8. 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".
  9.  
  10. What is NoSQL?
  11. 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.
  12.  
  13. 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.
  14.  
  15. Requirements
  16. * Metasploit Framework,
  17. * Python with PyMongo,
  18. * httplib2 and urllib available.
  19. * A local, default MongoDB instance for cloning databases to. Check here for installation instructions.
  20.  
  21. Install
  22. git clone https://github.com/codingo/NoSQLMap
  23. cd NoSQLMap
  24. sudo python setup.py install
  25. sudo python nosqlmap.py
  26.  
  27. Update: cd NoSQLMap && git pull
  28.  
  29. Usage Instructions
  30. Start with: sudo python nosqlmap.py
  31.  
  32. NoSQLMap uses a menu based system for building attacks. Upon starting NoSQLMap you are presented with with the main menu:
  33. 1-Set options (do this first)
  34. 2-NoSQL DB Access Attacks
  35. 3-NoSQL Web App attacks
  36. 4-Scan for Anonymous MongoDB Access
  37. x-Exit
  38.  
  39. Explanation of options:
  40.  
  41. 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.
  42.  
  43. Download NoSQLMap: https://github.com/codingo/NoSQLMap
Advertisement
Add Comment
Please, Sign In to add comment