{"id":25074778,"url":"https://github.com/rix4uni/dlevel","last_synced_at":"2026-01-31T22:06:53.253Z","repository":{"id":157514889,"uuid":"633518573","full_name":"rix4uni/dlevel","owner":"rix4uni","description":"Filter list of subdomains by level.","archived":false,"fork":false,"pushed_at":"2024-10-08T10:47:20.000Z","size":842,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-09T00:28:53.792Z","etag":null,"topics":["bugbounty","domain-level","enumeration","infosec","infosectools","penetration-testing","penetration-testing-tools","pentesting","pentesting-tools","recon","reconnaissance","security","subdomain","subdomain-enumeration","subdomain-finder","subdomain-level","subdomain-scanner"],"latest_commit_sha":null,"homepage":"","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/rix4uni.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,"zenodo":null}},"created_at":"2023-04-27T17:14:37.000Z","updated_at":"2025-03-07T01:15:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc18f5db-9e91-4f06-8095-39fa84989245","html_url":"https://github.com/rix4uni/dlevel","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/rix4uni/dlevel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rix4uni%2Fdlevel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rix4uni%2Fdlevel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rix4uni%2Fdlevel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rix4uni%2Fdlevel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rix4uni","download_url":"https://codeload.github.com/rix4uni/dlevel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rix4uni%2Fdlevel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28956972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","domain-level","enumeration","infosec","infosectools","penetration-testing","penetration-testing-tools","pentesting","pentesting-tools","recon","reconnaissance","security","subdomain","subdomain-enumeration","subdomain-finder","subdomain-level","subdomain-scanner"],"created_at":"2025-02-07T00:18:34.950Z","updated_at":"2026-01-31T22:06:53.248Z","avatar_url":"https://github.com/rix4uni.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## dlevel\n\n\u003ch2 align=\"center\"\u003e\u003cb\u003eFilter list of subdomains by level.\u003c/b\u003e\u003c/h2\u003e\u003cbr\u003e\n\n![dlevel](rix4uni_dlevel.png)\n\n## Installation\n```\ngo install github.com/rix4uni/dlevel@latest\n```\n\n## Download prebuilt binaries\n```\nwget https://github.com/rix4uni/dlevel/releases/download/v0.0.2/dlevel-linux-amd64-0.0.2.tgz\ntar -xvzf dlevel-linux-amd64-0.0.2.tgz\nrm -rf dlevel-linux-amd64-0.0.2.tgz\nmv dlevel ~/go/bin/dlevel\n```\nOr download [binary release](https://github.com/rix4uni/dlevel/releases) for your platform.\n\n## Compile from source\n```\ngit clone --depth 1 github.com/rix4uni/dlevel.git\ncd dlevel; go install\n```\n\n## Usage\n```\nUsage of dlevel:\n      --level string      Specify the subdomain levels (comma-separated) to filter\n      --max-level         Print subdomains from max dots to min dots\n      --min-level         Print subdomains from min dots to max dots\n      --silent            silent mode.\n      --until-count int   Stop after printing this many lines (default -1)\n      --until-level int   Stop after reaching this level (dot count) (default -1)\n      --version           Print the version of the tool and exit.\n```\n\n- `Level 1`: Print domains that have 1 dot (e.g., example.com).\n- `Level 2`: Print domains that have 2 dots (e.g., sub.example.com).\n\n## Usage Examples\n```bash\n# Input\n$ cat subs.txt\nadmin.prod.target.com\nexample.com\nadmin.prod.jenkins.grafana.api.support.login.target.com\nadmin.prod.jenkins.target.com\nadmin.prod.jenkins.grafana.api.target.com\nadmin.prod.jenkins.grafana.target.com\nprod.target.com\nadmin.prod.jenkins.grafana.api.support.target.com\ntarget.com\nadmin.target.com\n\n# Level 1, Single level\n$ cat subs.txt | dlevel --silent --level 1\nexample.com\ntarget.com\n\n# Level 2 and Level 3, Multiple levels comma-separated\n$ cat subs.txt | dlevel --silent --level 2,3\nprod.target.com\nadmin.target.com\nadmin.prod.target.com\n\n# Level 3 and Level 2, Multiple levels comma-separated\n$ cat subs.txt | dlevel --silent --level 3,2\nadmin.prod.target.com\nprod.target.com\nadmin.target.com\n\n# Print subdomains from max dots to min dots\n$ cat subs.txt | dlevel --silent --max-level\nadmin.prod.jenkins.grafana.api.support.login.target.com\nadmin.prod.jenkins.grafana.api.support.target.com\nadmin.prod.jenkins.grafana.api.target.com\nadmin.prod.jenkins.grafana.target.com\nadmin.prod.jenkins.target.com\nadmin.prod.target.com\nprod.target.com\nadmin.target.com\nexample.com\ntarget.com\n\n# Print subdomains from max dots to min dots, and stop after printing 5 lines\n$ cat subs.txt | dlevel --silent --max-level --until-count 5\nadmin.prod.jenkins.grafana.api.support.login.target.com\nadmin.prod.jenkins.grafana.api.support.target.com\nadmin.prod.jenkins.grafana.api.target.com\nadmin.prod.jenkins.grafana.target.com\nadmin.prod.jenkins.target.com\n\n# Print subdomains from max dots to min dots, and stop after reaching 6 level\n$ cat subs.txt | dlevel --silent --max-level --until-level 6\nadmin.prod.jenkins.grafana.api.support.login.target.com\nadmin.prod.jenkins.grafana.api.support.target.com\nadmin.prod.jenkins.grafana.api.target.com\n\n# Print subdomains from min dots to max dots\n$ cat subs.txt | dlevel --silent --min-level\nexample.com\ntarget.com\nprod.target.com\nadmin.target.com\nadmin.prod.target.com\nadmin.prod.jenkins.target.com\nadmin.prod.jenkins.grafana.target.com\nadmin.prod.jenkins.grafana.api.target.com\nadmin.prod.jenkins.grafana.api.support.target.com\nadmin.prod.jenkins.grafana.api.support.login.target.com\n\n# Print subdomains from min dots to max dots, and stop after printing 5 lines\n$ cat subs.txt | dlevel --silent --min-level --until-count 5\nexample.com\ntarget.com\nprod.target.com\nadmin.target.com\nadmin.prod.target.com\n\n# Print subdomains from min dots to max dots, and stop after reaching 6 level\n$ cat subs.txt | dlevel --silent --min-level --until-level 6\nexample.com\ntarget.com\nprod.target.com\nadmin.target.com\nadmin.prod.target.com\nadmin.prod.jenkins.target.com\nadmin.prod.jenkins.grafana.target.com\nadmin.prod.jenkins.grafana.api.target.com\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frix4uni%2Fdlevel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frix4uni%2Fdlevel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frix4uni%2Fdlevel/lists"}