{"id":17993619,"url":"https://github.com/cosad3s/hfinder","last_synced_at":"2025-04-07T05:10:12.961Z","repository":{"id":176083485,"uuid":"654943953","full_name":"cosad3s/hfinder","owner":"cosad3s","description":"Help recon of hostnames from specific ASN or CIDR, thanks to Robtex and BGP.HE","archived":false,"fork":false,"pushed_at":"2024-10-25T19:31:05.000Z","size":44,"stargazers_count":52,"open_issues_count":0,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-29T21:11:08.457Z","etag":null,"topics":["asn","bugbounty","cidr","network","osint","recon"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cosad3s.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":"2023-06-17T12:05:44.000Z","updated_at":"2024-10-25T19:31:08.000Z","dependencies_parsed_at":"2023-11-21T17:29:09.721Z","dependency_job_id":"c51326a9-214c-46f8-84c7-a9653e4c8f12","html_url":"https://github.com/cosad3s/hfinder","commit_stats":null,"previous_names":["cosad3s/hostnames-finder","cosad3s/hfinder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosad3s%2Fhfinder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosad3s%2Fhfinder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosad3s%2Fhfinder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosad3s%2Fhfinder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cosad3s","download_url":"https://codeload.github.com/cosad3s/hfinder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247595335,"owners_count":20963943,"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":["asn","bugbounty","cidr","network","osint","recon"],"created_at":"2024-10-29T20:12:18.311Z","updated_at":"2025-04-07T05:10:12.930Z","avatar_url":"https://github.com/cosad3s.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hfinder\n\n![](assets/logo.png)\n\n## Description\n\n**Hosts Finder**\n\nHelp recon of hostnames from specific ASN(s) or CIDR(s), thanks to [https://bgp.he.net/](https://bgp.he.net/) and [https://www.robtex.com/](https://www.robtex.com/).\n\nCan generate filtered /etc/hosts file based on the results.\n\n## Installation\n\n*You should have Chromium Driver ([https://github.com/SergeyPirogov/webdriver_manager/issues/649](https://github.com/SergeyPirogov/webdriver_manager/issues/649)) *pre-installed on your system: `sudo apt install chromium-driver`*\n\n```bash\npip install hfinder\n```\n\n*Or:*\n\n```bash\ngit clone https://github.com/cosad3s/hfinder.git\nsudo pip3 install .\n```\n\n## Usage\n\n```bash\n❯ hfinder -h\nusage: hfinder [-h] [-c CIDR] [-a ASN] [--hosts] [--fqdn] [--filter FILTER]\n\nFind hostnames from ASN or CIDR - Robtex x BGP.HE\n\noptions:\n  -h, --help       show this help message and exit\n  -c CIDR          CIDR(s) (Single or multiple separated by commas - Ex: 192.168.0.0/24 or 192.168.0.0/24,192.168.1.0/24)\n  -a ASN           ASN(s) (Single or multiple separated by commas - Ex: AS1234 or AS1234,AS4561)\n  --hosts          Generate /etc/hosts like file\n  --fqdn           Only display found FQDN\n  --filter FILTER  Filter FQDN against regex (Ex: ^.*example\\.org$)\n```\n\n## Examples\n\nExamples:\n\n```bash\n❯ hfinder -c 207.231.168.0/21\nvpn-west.uberinternal.com:207.231.168.144\nitelogs.uberinternal.com:207.231.168.148\nbackup.uberinternal.com:207.231.168.151\nbackup.uber.com:207.231.168.151\nmunki.uberinternal.com:207.231.168.155\nteam.uber.com:207.231.168.160\nteam.uberinternal.com:207.231.168.160\njds.uberinternal.com:207.231.168.162\njds-staging.uberinternal.com:207.231.168.163\nchef.uberinternal.com:207.231.168.172\nscout.uberinternal.com:207.231.168.174\ntableau.uberinternal.com:207.231.168.202\nvpn-east.uberinternal.com:207.231.169.144\nprj.usuppliers.uber.com:207.231.169.199\nusuppliers.uber.com:207.231.169.200\nvpn-west.uberatc.com:207.231.171.36\n...\n```\n\n```bash\n❯ hfinder -a AS26673\nvpn-west.uberinternal.com:207.231.168.144\nitelogs.uberinternal.com:207.231.168.148\nbackup.uberinternal.com:207.231.168.151\nbackup.uber.com:207.231.168.151\nmunki.uberinternal.com:207.231.168.155\nteam.uber.com:207.231.168.160\nteam.uberinternal.com:207.231.168.160\njds.uberinternal.com:207.231.168.162\njds-staging.uberinternal.com:207.231.168.163\nchef.uberinternal.com:207.231.168.172\nscout.uberinternal.com:207.231.168.174\ntableau.uberinternal.com:207.231.168.202\nvpn-east.uberinternal.com:207.231.169.144\nprj.usuppliers.uber.com:207.231.169.199\nusuppliers.uber.com:207.231.169.200\nvpn-west.uberatc.com:207.231.171.36\n```\n\n```bash\n❯ hfinder -a AS26673 --hosts\n207.231.168.144 vpn-west.uberinternal.com\n207.231.168.148 itelogs.uberinternal.com\n207.231.168.151 backup.uberinternal.com backup.uber.com\n207.231.168.155 munki.uberinternal.com\n207.231.168.160 team.uberinternal.com team.uber.com\n207.231.168.162 jds.uberinternal.com\n207.231.168.163 jds-staging.uberinternal.com\n207.231.168.172 chef.uberinternal.com\n207.231.168.174 scout.uberinternal.com\n207.231.168.202 tableau.uberinternal.com\n207.231.169.144 vpn-east.uberinternal.com\n207.231.169.199 prj.usuppliers.uber.com\n207.231.169.200 usuppliers.uber.com\n207.231.171.36 vpn-west.uberatc.com\n```\n\n```bash\n❯ hfinder -a AS26673 --hosts --filter \"^.*uber.com$\"\n207.231.168.151 backup.uber.com\n207.231.168.160 team.uber.com\n207.231.169.199 prj.usuppliers.uber.com\n207.231.169.200 usuppliers.uber.com\n```\n\n```bash\n❯ hfinder -c 207.231.168.0/21 --fqdn\nvpn-west.uberinternal.com\nitelogs.uberinternal.com\nbackup.uberinternal.com\nbackup.uber.com\nmunki.uberinternal.com\nteam.uber.com\nteam.uberinternal.com\njds.uberinternal.com\njds-staging.uberinternal.com\nchef.uberinternal.com\nscout.uberinternal.com\ntableau.uberinternal.com\nvpn-east.uberinternal.com\nprj.usuppliers.uber.com\nusuppliers.uber.com\nvpn-west.uberatc.com\n```\n\n```bash\n❯ hfinder -a AS63948,AS63943,AS63086,AS399759,AS273797,AS26673,AS203351,AS19934,AS147183,AS136114,AS134981,AS134135 --hosts --filter \"^(.*\\.uber\\.com|.*\\.uberinternal\\.com|.*\\.ubereats\\.com)$\"\n43.231.12.135 cn-pek1.uber.com\n104.36.192.131 ussh.uberinternal.com bastion-sjc1.uber.com bastion02-sjc1.prod.uber.com\n104.36.197.130 ussh.uberinternal.com bastion-geo.uber.com\n104.36.195.187 ussh.uberinternal.com\n104.36.195.188 ussh.uberinternal.com\n104.36.196.133 ussh.uberinternal.com bastion-phx2.prod.uber.com bastion-geo.uber.com\n104.36.192.244 ussh.uberinternal.com bastion-sjc1.uber.com bastion01-sjc1.prod.uber.com\n104.36.195.186 ussh.uberinternal.com\n104.36.197.131 ussh.uberinternal.com bastion-geo.uber.com\n104.36.197.230 ussh.uberinternal.com bastion-geo.uber.com\n104.36.197.129 ussh.uberinternal.com bastion-geo.uber.com\n104.36.196.134 ussh.uberinternal.com bastion-phx2.prod.uber.com bastion-geo.uber.com\n# ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosad3s%2Fhfinder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosad3s%2Fhfinder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosad3s%2Fhfinder/lists"}