{"id":26052550,"url":"https://github.com/qalle2/file-corruptor","last_synced_at":"2025-04-10T23:25:34.683Z","repository":{"id":61073594,"uuid":"144287520","full_name":"qalle2/file-corruptor","owner":"qalle2","description":"Corrupt a file.","archived":false,"fork":false,"pushed_at":"2023-10-05T01:30:30.000Z","size":40,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T20:12:44.202Z","etag":null,"topics":["command-line","corruptor","python3","rom-hacking"],"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/qalle2.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":"2018-08-10T13:10:06.000Z","updated_at":"2024-06-17T01:16:58.000Z","dependencies_parsed_at":"2025-03-08T06:41:06.146Z","dependency_job_id":"47653d17-fdd5-4c05-9a8e-dd57eeec1097","html_url":"https://github.com/qalle2/file-corruptor","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/qalle2%2Ffile-corruptor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qalle2%2Ffile-corruptor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qalle2%2Ffile-corruptor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qalle2%2Ffile-corruptor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qalle2","download_url":"https://codeload.github.com/qalle2/file-corruptor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248313728,"owners_count":21082902,"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":["command-line","corruptor","python3","rom-hacking"],"created_at":"2025-03-08T06:40:59.694Z","updated_at":"2025-04-10T23:25:34.661Z","avatar_url":"https://github.com/qalle2.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# file-corruptor\n```\nusage: corruptor.py [-h] [-c COUNT] [-m {f,i,a,r}] [-s START] [-l LENGTH] [-v]\n                    input_file output_file\n\nMake a corrupt copy of a file. The addresses to corrupt will be randomly\npicked from the specified range (by default, from the entire file).\n\npositional arguments:\n  input_file            The file to read.\n  output_file           The file to write.\n\noptions:\n  -h, --help            show this help message and exit\n  -c COUNT, --count COUNT\n                        Number of bytes to corrupt (default=1).\n  -m {f,i,a,r}, --method {f,i,a,r}\n                        How to corrupt a byte: f = flip 1 bit (default), i =\n                        invert all bits, a = add or subtract 1 (255 \u003c-\u003e 0), r\n                        = randomize (any value but original).\n  -s START, --start START\n                        Start of range to pick addresses from (0 or greater,\n                        default=0).\n  -l LENGTH, --length LENGTH\n                        Length of range to pick addresses from (0 = to end of\n                        file, default=0).\n  -v, --verbose         Print changes.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqalle2%2Ffile-corruptor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqalle2%2Ffile-corruptor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqalle2%2Ffile-corruptor/lists"}