{"id":13557327,"url":"https://github.com/gnebbia/halive","last_synced_at":"2026-02-28T22:01:03.078Z","repository":{"id":54563735,"uuid":"200317795","full_name":"gnebbia/halive","owner":"gnebbia","description":"A fast http and https prober, to check which URLs are alive","archived":false,"fork":false,"pushed_at":"2019-08-05T16:11:50.000Z","size":2046,"stargazers_count":70,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T17:20:42.904Z","etag":null,"topics":["alive-hosts","asynchronous","asyncio","bugbounty","http","https","probe","probe-requests","prober","reconnaissance","requests"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gnebbia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-03T01:29:22.000Z","updated_at":"2025-02-20T01:01:17.000Z","dependencies_parsed_at":"2022-08-13T19:50:33.238Z","dependency_job_id":null,"html_url":"https://github.com/gnebbia/halive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gnebbia/halive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnebbia%2Fhalive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnebbia%2Fhalive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnebbia%2Fhalive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnebbia%2Fhalive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnebbia","download_url":"https://codeload.github.com/gnebbia/halive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnebbia%2Fhalive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29953212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"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":["alive-hosts","asynchronous","asyncio","bugbounty","http","https","probe","probe-requests","prober","reconnaissance","requests"],"created_at":"2024-08-01T12:04:16.946Z","updated_at":"2026-02-28T22:01:03.027Z","avatar_url":"https://github.com/gnebbia.png","language":"Python","readme":"# halive.  An http/s prober, to check which URLs are alive.\n\n\nAuthor: gnc\n\nCopyright: © 2019, gnc.\n\nDate: 2019-08-03\n\nVersion: 0.1.0\n\n\n## PURPOSE\n\nHalive is a software used to get a list of alive hosts starting from a list of\nhosts whose status is unknown in a short amount of time. It's fast, indeed\nhalive achieve its speed through its asynchronous design.\n\nOnce we have a list of domains/subdomains gathered from the reconnaissance phase,\n(for example through [pdlist](https://github.com/gnebbia/pdlist)) we want to check \nfastly which subdomains are alive and which are not.\nTo this purpose we can use halive and obtain from the initial list of hostnames\nonly the alive subdomains.\n\n![](img/halive_scheme.png)\n\n\n\n## INSTALLATION\n\nWe can install halive simply by doing:\n```sh\ngit clone https://github.com/gnebbia/halive\ncd halive\npip install -r requirements.txt\npython setup.py install\n```\n\n\n## USAGE\n\nIn order to get the list of alive hosts with also the response status code we\ncan do:\n```sh\nhalive big_list_of_urls.txt\n```\n\nThe default speed is set through the use of 20 (default) workers, we can\nincrease the speed by increasing the number of workers, by doing:\n```sh\nhalive big_list_of_urls.txt -t 100\n# in this case we use 100 workers\n```\n\nWe can also print only URLs without response code and store results in a text\nfile, by doing:\n```sh\nhalive big_lists_of_urls.txt -t 100 --only-urls --output report.txt \n```\n\nWe can also only filter URLs which do not reply with 4XX HTTP codes, this can be\ndone by executing halive in this way:\n```sh\nhalive big_lists_of_urls.txt -t 100 --only-success --only-urls --output report.txt \n```\n\nA usage example in the gif below:\n![](img/halive_demo.gif)\n\n\n\n## COPYRIGHT\n\nCopyright © 2019, gnc.\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n1. Redistributions of source code must retain the above copyright\n   notice, this list of conditions, and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\n   notice, this list of conditions, and the following disclaimer in the\n   documentation and/or other materials provided with the distribution.\n\n3. Neither the name of the author of this software nor the names of\n   contributors to this software may be used to endorse or promote\n   products derived from this software without specific prior written\n   consent.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","funding_links":[],"categories":["Python","http"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnebbia%2Fhalive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnebbia%2Fhalive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnebbia%2Fhalive/lists"}