Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.66 KB

README.md

File metadata and controls

49 lines (38 loc) · 1.66 KB

db

Mini utility to store the list of the enumerated subdomains into an sqlite3 db. [one liner Style ]

Build Status

Status: Development

Features

  • Remove duplicates
  • Query database
  • Clean results
  • Pipe results to store data
  • Export the saved records

Chaining tools

You can pipe the tools results into db

Example :

subfinder + db Build Status

Prod

Install Requirements

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

Usage

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