{"id":13842884,"url":"https://github.com/ihebski/db","last_synced_at":"2025-03-25T09:30:36.458Z","repository":{"id":85461877,"uuid":"297290730","full_name":"ihebski/db","owner":"ihebski","description":"Bugbounty utility to store list of enumerated subdomains into an sqlite3 db [one liner style / Pipe and save] ","archived":false,"fork":false,"pushed_at":"2021-01-06T21:01:58.000Z","size":12,"stargazers_count":27,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T00:11:36.663Z","etag":null,"topics":["bugbounty","database","mini-utility","sqlite3","subdomain-enumeration"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ihebski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-09-21T09:25:23.000Z","updated_at":"2025-02-28T21:49:56.000Z","dependencies_parsed_at":"2023-03-03T08:31:09.856Z","dependency_job_id":null,"html_url":"https://github.com/ihebski/db","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihebski%2Fdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihebski%2Fdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihebski%2Fdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihebski%2Fdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ihebski","download_url":"https://codeload.github.com/ihebski/db/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245434995,"owners_count":20614809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bugbounty","database","mini-utility","sqlite3","subdomain-enumeration"],"created_at":"2024-08-04T17:01:49.266Z","updated_at":"2025-03-25T09:30:36.001Z","avatar_url":"https://github.com/ihebski.png","language":"Python","funding_links":[],"categories":["Python","Python (1887)"],"sub_categories":[],"readme":"# db\nMini utility to store the list of the enumerated subdomains into an sqlite3 db. [one liner Style ]\n\n![Build Status](https://pbs.twimg.com/media/EiYn1w3XYAAAlN9?format=jpg\u0026name=large)\n\nStatus: **Development**\n## Features\n\n* Remove duplicates\n* Query database\n* Clean results\n* Pipe results to store data\n* Export the saved records\n\n## Chaining tools\nYou can pipe the tools results into db \n\u003e Example :\n\n\u003e subfinder + db\n\u003e ![Build Status](https://pbs.twimg.com/media/EiY1Sa1WsAIPSSp?format=jpg\u0026name=large)\n\n\n# Prod\n#### Install Requirements\n`sudo pip3 install Flask flask_sqlalchemy loguru uuid fire csv`\n\n\u003e Add it as a bash command\n```bash\ncp db /usr/bin\nchmod +x /usr/bin/db\n```\n\n# Usage\n\n| Query                                | Command                    |\n|--------------------------------------|----------------------------|\n| Add list of subdomains               |  \u003ccode\u003ecat subdomains.txt \u0026#124; db \u003c/code\u003e or \u003ccode\u003eecho subdomains.txt \u0026#124; db \u003c/code\u003e  |\n| Add  **ONE**  subdmain to database   | `db save tesla.com`        |\n| Search for domain                    | `db search tesla.com`      |\n| Get the new added subdomains         | `db new`                   |\n| Export list of subdomains            | `db export tesla.com`  or if csv  `db export tesla.com csv`    |\n| Remove all the database records      | `db wipe`                  |\n| Remove records for a specific domain | `db removeall tesla.com`   |\n| Remove **ONE** record                | `db remove tesla.com`      |\n|  Get all the saved records             | `db  all`      |\n\n\u003e PS : \n\u003e - Export function uses TXT format by default (if csv is not specified)\n\u003e - new arguments shows the latest saved records for that day only\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihebski%2Fdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fihebski%2Fdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihebski%2Fdb/lists"}