A simple, fast and powerful database weak password scanner engine tool was built by antx, which based on psex.
dwpse is a simple, fast and powerful database weak password scanner engine tool was built by antx, which based on psex. psex also is a simple, fast and powerful password scanner engine tool was built by antx. psex also support some useful features, which like fofa search and parse assets to verify. psex has been built in some weak username and password.
git clone https://github.com/antx-code/dwpse.git
poetry install
You must have a target csv file to scan and the target csv file content format is as follows:
ip:port
If you want to use custom username and password, you can create a file named username_password.txt
,
and the content format is as follows:
username password
also you can use username_password.csv
and the content format is as follows:
username,password
See the help for more information.
python3 db_scanner.py --help
run with default username and password:
python3 db_scanner.py mongodb targets.csv
use custom username and password:
python3 db_scanner.py mongodb targets.csv --passwords='username_password.txt'
or use custom username and password:
python3 db_scanner.py mongodb targets.csv --passwords='root,mongodb'
use fofa search and parse assets to verify:
python3 db_scanner.py mongodb targets.csv fofa --passwords='username_password.txt' --fofa-grammar='app="mongodb"' --fofa-key='xxx' --fofa-email='xxx@email.com'
#### python3 lib sample:
```python
# Title: xxxxxxx
# Author: antx
# Email: 7877940+antx-code@users.noreply.github.com
from db_scanner import dia
if __name__ == '__main__':
dia('mongodb', 'targets.csv')