{"id":20011649,"url":"https://github.com/elceef/pyrebind","last_synced_at":"2025-06-23T06:36:34.227Z","repository":{"id":85972855,"uuid":"119281651","full_name":"elceef/pyrebind","owner":"elceef","description":"Tiny DNS rebinding service","archived":false,"fork":false,"pushed_at":"2019-03-09T19:46:54.000Z","size":2,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T12:02:15.323Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/elceef.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}},"created_at":"2018-01-28T17:35:12.000Z","updated_at":"2021-01-26T17:36:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f979e9a-4e6d-481a-bf76-a4f77be9fced","html_url":"https://github.com/elceef/pyrebind","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elceef%2Fpyrebind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elceef%2Fpyrebind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elceef%2Fpyrebind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elceef%2Fpyrebind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elceef","download_url":"https://codeload.github.com/elceef/pyrebind/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252395252,"owners_count":21741001,"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":[],"created_at":"2024-11-13T07:26:58.318Z","updated_at":"2025-05-04T20:31:12.300Z","avatar_url":"https://github.com/elceef.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pyrebind\n========\n\npyrebind is a very simple DNS server written in Python for testing software against DNS rebinding vulnerabilities. The server responds to queries by randomly selecting one of the IP addresses specified in the requested domain name and returning it as the answer with the lowest possible TTL=1.\n\nhttps://en.wikipedia.org/wiki/DNS_rebinding\n\nFor example, to switch between `127.0.0.1` and `10.10.10.10` you would need to encode them like this:\n\n```\n127-0-0-1.10-10-10-10.any.domain\n```\n\nHere is how it looks in action:\n\n```\n$ host 127-0-0-1.10-10-10-10.any.domain\n127-0-0-1.10-10-10-10.any.domain has address 127.0.0.1\n$ host 127-0-0-1.10-10-10-10.any.domain\n127-0-0-1.10-10-10-10.any.domain has address 127.0.0.1\n$ host 127-0-0-1.10-10-10-10.any.domain\n127-0-0-1.10-10-10-10.any.domain has address 127.0.0.1\n$ host 127-0-0-1.10-10-10-10.any.domain\n127-0-0-1.10-10-10-10.any.domain has address 10.10.10.10\n$ host 127-0-0-1.10-10-10-10.any.domain\n127-0-0-1.10-10-10-10.any.domain has address 10.10.10.10\n$ host 127-0-0-1.10-10-10-10.any.domain\n127-0-0-1.10-10-10-10.any.domain has address 127.0.0.1\n$ host 127-0-0-1.10-10-10-10.any.domain\n127-0-0-1.10-10-10-10.any.domain has address 127.0.0.1\n$ host 127-0-0-1.10-10-10-10.any.domain\n127-0-0-1.10-10-10-10.any.domain has address 10.10.10.10\n$ host 127-0-0-1.10-10-10-10.any.domain\n127-0-0-1.10-10-10-10.any.domain has address 10.10.10.10\n```\n\nConstraints\n-----------\n\nThis implementation aims to be as simple as possible and therefore it supports only standard `IN A` queries - other are simply ignored. Also keep in mind it requires high privileges to bind port 53/udp and lacks proper error handling. With that said, it is highly recommended to not use it for anything important.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felceef%2Fpyrebind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felceef%2Fpyrebind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felceef%2Fpyrebind/lists"}