{"id":29948339,"url":"https://github.com/at0mxploit/hostfile","last_synced_at":"2025-08-22T06:09:55.506Z","repository":{"id":306625313,"uuid":"1026788367","full_name":"At0mXploit/Hostfile","owner":"At0mXploit","description":"Annoying to add hostfile everytime.","archived":false,"fork":false,"pushed_at":"2025-07-26T16:05:15.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-03T08:22:55.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/At0mXploit.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-26T16:03:37.000Z","updated_at":"2025-07-26T16:08:30.000Z","dependencies_parsed_at":"2025-07-26T21:22:35.806Z","dependency_job_id":"0a608bbc-ae46-4d79-9551-14a2d5667146","html_url":"https://github.com/At0mXploit/Hostfile","commit_stats":null,"previous_names":["at0mxploit/hostfile"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/At0mXploit/Hostfile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/At0mXploit%2FHostfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/At0mXploit%2FHostfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/At0mXploit%2FHostfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/At0mXploit%2FHostfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/At0mXploit","download_url":"https://codeload.github.com/At0mXploit/Hostfile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/At0mXploit%2FHostfile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271594377,"owners_count":24786707,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-03T08:14:39.883Z","updated_at":"2025-08-22T06:09:55.478Z","avatar_url":"https://github.com/At0mXploit.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hostfile\nAnnoying to add hostfile everytime.\n## Usage:\n\n```bash\n$ hostfile\nUsage:\n  hostfile [--linux|--windows] \u003cIP\u003e \u003cDOMAIN\u003e [SHORTNAME]\n    Adds or updates an entry in the hosts file.\n\n  hostfile [--linux|--windows] -R \u003cDOMAIN or SHORTNAME\u003e\n    Removes any entry containing the specified domain or hostname.\n\n  hostfile --setup\n    Installs this script to /usr/bin/hostfile with proper permissions (requires sudo).\n\n  hostfile -h | --help\n    Show this help message.\n\nExamples:\n  # Add AD box entry on Linux (with shortname):\n  ./hostfile.sh --linux 10.10.10.5 dc.htb.local dc\n\n  # Add normal Linux box entry (no shortname):\n  ./hostfile.sh --linux 10.10.10.10 hack.htb\n\n  # Add Windows hosts entry (via WSL):\n  ./hostfile.sh --windows 10.10.10.10 hack.htb\n\n  # Remove entry by domain or shortname:\n  ./hostfile.sh --linux -R hack.htb\n  ./hostfile.sh --linux -R dc\n\n  # Setup the script (move to /usr/bin and set permissions):\n  sudo ./hostfile.sh --setup\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fat0mxploit%2Fhostfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fat0mxploit%2Fhostfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fat0mxploit%2Fhostfile/lists"}