{"id":13762812,"url":"https://github.com/trickest/dsieve","last_synced_at":"2025-12-24T23:29:28.273Z","repository":{"id":40574419,"uuid":"432188184","full_name":"trickest/dsieve","owner":"trickest","description":"Filter and enrich a list of subdomains by level","archived":false,"fork":false,"pushed_at":"2023-09-25T15:39:02.000Z","size":3944,"stargazers_count":192,"open_issues_count":1,"forks_count":25,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-16T21:33:10.107Z","etag":null,"topics":["bugbounty","enumeration","infosec","infosectools","penetration-testing","penetration-testing-tools","pentesting","pentesting-tools","security","subdomain","subdomain-enumeration","subdomain-finder","subdomain-scanner"],"latest_commit_sha":null,"homepage":"https://trickest.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trickest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2021-11-26T13:27:58.000Z","updated_at":"2024-11-14T16:50:00.000Z","dependencies_parsed_at":"2023-01-19T22:19:02.564Z","dependency_job_id":"97c3a0b0-0945-4626-b2b4-a297fbaadcf1","html_url":"https://github.com/trickest/dsieve","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trickest%2Fdsieve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trickest%2Fdsieve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trickest%2Fdsieve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trickest%2Fdsieve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trickest","download_url":"https://codeload.github.com/trickest/dsieve/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253436597,"owners_count":21908367,"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","enumeration","infosec","infosectools","penetration-testing","penetration-testing-tools","pentesting","pentesting-tools","security","subdomain","subdomain-enumeration","subdomain-finder","subdomain-scanner"],"created_at":"2024-08-03T14:00:58.063Z","updated_at":"2025-12-24T23:29:28.159Z","avatar_url":"https://github.com/trickest.png","language":"Go","funding_links":[],"categories":["Weapons"],"sub_categories":["Tools"],"readme":"\u003ch1 align=\"center\"\u003edsieve \u003ca href=\"https://twitter.com/intent/tweet?text=dsieve%20-%20Filter%20and%20enrich%20a%20list%20of%20subdomains%20by%20level%20%40trick3st%0Ahttps%3A%2F%2Fgithub.com%2Ftrickest%2Fdsieve\u0026hashtags=bugbounty,bugbountytips,infosec\"\u003e\u003cimg src=\"https://img.shields.io/badge/Tweet--lightgrey?logo=twitter\u0026style=social\" alt=\"Tweet\" height=\"20\"/\u003e\u003c/a\u003e\u003c/h1\u003e\n\u003ch3 align=\"center\"\u003eFilter and enrich a list of subdomains by level\u003c/h3\u003e\n\n![dsieve](dsieve.png \"dsieve\")\n\nTake a single domain or read an input file and extract unique parent domains, enrich subdomains, filter subdomains by level, or find out which subdomains have the most number of sub-subdomains (or sub-sub-subdomains or sub-sub-sub...). Dsieve supports any format of URL, with or without protocol, port, path, parameters.\n\n# Installation\n## Binary\nBinaries are available in the [latest release](https://github.com/trickest/dsieve/releases/latest).\n\n## Docker\n```\ndocker run quay.io/trickest/dsieve\n```\n\n## From source\n```\ngo install github.com/trickest/dsieve@latest\n```\n\n# Usage\n```\n  -f string\n    \tFilter domain level. Use python slice notation to select range.\n    \tExample input: foo.bar.baz.tld\n    \t  -f 3      bar.baz.tld\n    \t  -f 3:     bar.baz.tld, foo.bar.baz.tld\n    \t  -f 2:4    baz.tld, bar.baz.tld\n    \t  -f :3     tld, baz.tld\n  -i string\n    \tInput url or domain\n  -if string\n    \tInput file path, one url/domain per line.\n  -o string\n    \tOutput file path, optional\n  -top int\n    \tOnly consider top X subdomains of a certain level and return all their subdomains\n```\n\nDomains can be passed through stdin as well.\n```\ncat domains.txt | dsieve -f 2\n```\n\n### Example\n##### test.txt\n```\na.foo.target.com\nb.foo.target.com\nc.foo.target.com\na.bar.target.com\nb.bar.target.com\na.baz.target.com\n```\n\n```shell script\n# All levels by default\n$ dsieve -if test.txt\na.foo.target.com\nfoo.target.com\ntarget.com\nb.foo.target.com\nc.foo.target.com\na.bar.target.com\nbar.target.com\nb.bar.target.com\na.baz.target.com\nbaz.target.com\n\n# Level 2, the main domain\n$ dsieve -if test.txt -f 2\ntarget.com\n\n# Level 3, one level above the main domain\n$ dsieve -if test.txt -f 3\nfoo.target.com\nbar.target.com\nbaz.target.com\n\n# Levels 2 and above, main domain and all its subdomains\n$ dsieve -if test.txt -f 2:\na.foo.target.com\nfoo.target.com\ntarget.com\nb.foo.target.com\nc.foo.target.com\na.bar.target.com\nbar.target.com\nb.bar.target.com\na.baz.target.com\nbaz.target.com\n\n# The top one level 3 subdomain with the highest number of sub-subdomains\n$ dsieve -if test.txt -f 3 -top 1\nfoo.target.com\n\n# The top two level 3 subdomain with the highest number of sub-subdomains\n$ dsieve -if test.txt -f 3 -top 2\nfoo.target.com\nbar.target.com\n```\n\n# Report Bugs / Feedback\nWe look forward to any feedback you want to share with us or if you're stuck with a problem you can contact us at [support@trickest.com](mailto:support@trickest.com). You can also create an [Issue](https://github.com/trickest/dsieve/issues/new) or pull request on the Github repository.\n\n# Where does this fit in your methodology?\nDsieve is an integral part of many workflows in the Trickest store. Sign up on [trickest.com](https://trickest.com) to get access to these workflows or build your own from scratch!\n\n[\u003cimg src=\"./banner.png\" /\u003e](https://trickest.io/auth/register)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrickest%2Fdsieve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrickest%2Fdsieve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrickest%2Fdsieve/lists"}