Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ihebski/db
Bugbounty utility to store list of enumerated subdomains into an sqlite3 db [one liner style / Pipe and save]
https://github.com/ihebski/db
bugbounty database mini-utility sqlite3 subdomain-enumeration
Last synced: about 1 month ago
JSON representation
Bugbounty utility to store list of enumerated subdomains into an sqlite3 db [one liner style / Pipe and save]
- Host: GitHub
- URL: https://github.com/ihebski/db
- Owner: ihebski
- Created: 2020-09-21T09:25:23.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-06T21:01:58.000Z (almost 4 years ago)
- Last Synced: 2024-05-08T01:32:37.460Z (7 months ago)
- Topics: bugbounty, database, mini-utility, sqlite3, subdomain-enumeration
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 28
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - ihebski/db - Bugbounty utility to store list of enumerated subdomains into an sqlite3 db [one liner style / Pipe and save] (Python)
README
# db
Mini utility to store the list of the enumerated subdomains into an sqlite3 db. [one liner Style ]![Build Status](https://pbs.twimg.com/media/EiYn1w3XYAAAlN9?format=jpg&name=large)
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](https://pbs.twimg.com/media/EiY1Sa1WsAIPSSp?format=jpg&name=large)# Prod
#### Install Requirements
`sudo pip3 install Flask flask_sqlalchemy loguru uuid fire csv`> Add it as a bash command
```bash
cp db /usr/bin
chmod +x /usr/bin/db
```# Usage
| Query | Command |
|--------------------------------------|----------------------------|
| Add list of subdomains |cat subdomains.txt | db
orecho 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