Using this script, we can enumerate Usernames and passwords of Nosql(mongodb) injecion vulnerable web applications.
Exploit Title: Nosql injection username/password enumeration.
This project fixed error and update from project of Kalana Sankalpa (Anon LK) in git url : https://github.com/an0nlk/Nosql-MongoDB-injection-username-password-enumeration
- Dump correct all entry in columns
- Add multi threads to enumerate user and password
nosqli-user-pass-enum.py [-h] [-u URL] [-up parameter] [-pp parameter] [-op parameters] [-ep parameter] [-sc character] [-m Method] [-t Threads]
python nosqli-user-pass-enum.py -u http://example.com/index.php -up username -pp password -ep username -op login:login,submit:submit -t 50
Arguments | Description |
---|---|
-h, --h | show this help message and exit |
-u URL | Form submission url. Eg: http://example.com/index.php |
-up parameter | Parameter name of the username. Eg: username, user |
-pp parameter | Parameter name of the password. Eg: password, pass |
-op parameters | Other paramters with the values. Separate each parameter with a comma(,). Eg: login:Login, submit:Submit |
-ep parameter | Parameter that need to enumarate. Eg: username, password |
-t threads | set max thread. Default: 100 |
-m Method | Method of the form. Eg: GET/POST |