{"id":19026476,"url":"https://github.com/conorpp/bitflipper","last_synced_at":"2025-04-23T12:51:11.523Z","repository":{"id":74185634,"uuid":"43277943","full_name":"conorpp/bitflipper","owner":"conorpp","description":"Combinatorially flip bits by brute force until a file is no longer corrupted.","archived":false,"fork":false,"pushed_at":"2015-09-28T15:24:00.000Z","size":148,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-18T00:11:10.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/conorpp.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}},"created_at":"2015-09-28T03:29:14.000Z","updated_at":"2025-03-01T09:57:18.000Z","dependencies_parsed_at":"2023-03-07T13:30:35.004Z","dependency_job_id":null,"html_url":"https://github.com/conorpp/bitflipper","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/conorpp%2Fbitflipper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conorpp%2Fbitflipper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conorpp%2Fbitflipper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conorpp%2Fbitflipper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/conorpp","download_url":"https://codeload.github.com/conorpp/bitflipper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250438077,"owners_count":21430809,"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-08T20:49:24.214Z","updated_at":"2025-04-23T12:51:11.500Z","avatar_url":"https://github.com/conorpp.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bitflipper\nCombinatorially flip bits by brute force until a file is no longer corrupted.\n\n## Building\n\nYou need to have openssl and zlib development packages installed.\n\nThen just run `make`\n\n## Running\n\nExamples:\n\n```bash\n# 1 flip in corrupted file.\n$ ./bitflipper examples/source.f8d0839dd728cb9a723e32058dcc386070d5e3b5.cpp.1flip.z f8d0839dd728cb9a723e32058dcc386070d5e3b5\nChecking the uncompressed version\nFound original file.  Saving to out.bin\n\n# 2 flips in corrupted file.\n$ ./bitflipper examples/test.dddd6ee7cc3af6ca5e814d9522acf57bb7b7cdc1.txt.2flips.z dddd6ee7cc3af6ca5e814d9522acf57bb7b7cdc1\nChecking the uncompressed version\nFound original file.  Saving to out.bin\n\n# 3 bit flips in corrupted file.  This one takes ~ 10 seconds\n$ ./bitflipper examples/test2.e35151d8fd6445f9361e4237bb282e707efe4090.txt.3flips.z e35151d8fd6445f9361e4237bb282e707efe4090\nChecking the uncompressed version\nFound original file.  Saving to out.bin\n```\n\nMake sure you are passing the zlib compressed version of the file as the first argument and just\nthe SHA1 hash in the second argument.\n\nYou can see the \"corrupted\" contents of each example:\n\n* [Example 1](https://github.com/conorpp/bitflipper/blob/master/examples/source.f8d0839dd728cb9a723e32058dcc386070d5e3b5.cpp)\n* [Example 2](https://github.com/conorpp/bitflipper/blob/master/examples/test.dddd6ee7cc3af6ca5e814d9522acf57bb7b7cdc1.txt)\n* [Example 3](https://github.com/conorpp/bitflipper/blob/master/examples/test2.e35151d8fd6445f9361e4237bb282e707efe4090.txt)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconorpp%2Fbitflipper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconorpp%2Fbitflipper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconorpp%2Fbitflipper/lists"}