Mini utility to store the list of the enumerated subdomains into an sqlite3 db. [one liner Style ]
Status: Development
- Remove duplicates
- Query database
- Clean results
- Pipe results to store data
- Export the saved records
You can pipe the tools results into db
Example :
sudo pip3 install Flask flask_sqlalchemy loguru uuid fire csv
Add it as a bash command
cp db /usr/bin
chmod +x /usr/bin/db
Query | Command |
---|---|
Add list of subdomains | cat subdomains.txt | db or echo subdomains.txt | db |
Add ONE subdmain to database | db save tesla.com |
Search for domain | db search tesla.com |
Get the new added subdomains | db new |
Export list of subdomains | db export tesla.com or if csv db export tesla.com csv |
Remove all the database records | db wipe |
Remove records for a specific domain | db removeall tesla.com |
Remove ONE record | db remove tesla.com |
Get all the saved records | db all |
PS :
- Export function uses TXT format by default (if csv is not specified)
- new arguments shows the latest saved records for that day only