{"id":20884723,"url":"https://github.com/aabysszg/deformed-image-restorer","last_synced_at":"2026-03-05T20:03:33.654Z","repository":{"id":159217821,"uuid":"634460276","full_name":"AabyssZG/Deformed-Image-Restorer","owner":"AabyssZG","description":"自动爆破PNG图片宽高并一键修复工具","archived":false,"fork":false,"pushed_at":"2024-08-12T07:07:57.000Z","size":555,"stargazers_count":209,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T04:14:49.429Z","etag":null,"topics":["ctf","ctf-tools","image","image-restoration","misc","png-decoder"],"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/AabyssZG.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":"2023-04-30T07:30:36.000Z","updated_at":"2025-04-12T11:20:32.000Z","dependencies_parsed_at":"2024-08-12T15:15:30.745Z","dependency_job_id":null,"html_url":"https://github.com/AabyssZG/Deformed-Image-Restorer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FDeformed-Image-Restorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FDeformed-Image-Restorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FDeformed-Image-Restorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FDeformed-Image-Restorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AabyssZG","download_url":"https://codeload.github.com/AabyssZG/Deformed-Image-Restorer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248661718,"owners_count":21141451,"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":["ctf","ctf-tools","image","image-restoration","misc","png-decoder"],"created_at":"2024-11-18T08:11:01.702Z","updated_at":"2026-03-05T20:03:33.587Z","avatar_url":"https://github.com/AabyssZG.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deformed-Image-Restorer\n\nCTFer的福音，Misc手的利器，自动爆破PNG图片宽高并一键修复离线脚本工具\n\n**最近打CTF打烦起来了，没找到好的一键解决畸形宽高PNG的离线脚本工具，就花了一下午造了个轮子~**\n\n**如果帮到你，希望你能为我点个Star！！！有什么建议都可以提出来~**\n\n本项目的特点：\n\n- 适配性高，能方便运行于Python3环境\n- 操作简单，适合CTFer上手，能一键处理MISC中畸形宽高png文件并直接导出结果\n- 可离线操作，便于线下断网比赛环境使用\n- 傻瓜式操作，只需将需要处理的文件放入脚本目录即可\n\n# 工具使用\n\n```\n                   ____       ____                              __\n                  / __ \\___  / __/___  _________ ___  ___  ____/ /\n                 / / / / _ \\/ /_/ __ \\/ ___/ __ `__ \\/ _ \\/ __  /\n                / /_/ /  __/ __/ /_/ / /  / / / / / /  __/ /_/ /\n    ____       /_____/\\___/_/  \\____/_/  /_/_/_/ /_/\\___/\\__,_/\n   /  _/___ ___  ____ _____ ____        / __ \\___  _____/ /_____  ________  _____\n   / // __ `__ \\/ __ `/ __ `/ _ \\______/ /_/ / _ \\/ ___/ __/ __ \\/ ___/ _ \\/ ___/\n _/ // / / / / / /_/ / /_/ /  __/_____/ _, _/  __(__  ) /_/ /_/ / /  /  __/ /\n/___/_/ /_/ /_/\\__,_/\\__, /\\___/     /_/ |_|\\___/____/\\__/\\____/_/   \\___/_/\n                    /____/\n                                Version: 1.02\n                          Author:  曾哥（@AabyssZG）\n                     Whoami:  https://github.com/AabyssZG\n\n\n\n用法:\n        自动爆破图片宽高并修复PNG图片:   python3 Deformed-Image-Restorer.py -i demo.png\n        使用指定宽高修复导出PNG图片:     python3 Deformed-Image-Restorer.py -r demo.png\n\n参数:\n        -i  --image    自动爆破图片宽高并导出修复后的PNG图片\n        -r  --reverse  使用指定宽高导出修复后的PNG图片\n```\n\n# 工具演示\n\n## 1、自动爆破图片宽高并修复图片\n\n```\npython Deformed-Image-Restorer.py -i demo.png\n```\n\n![Base64导出](./img/image.png)\n\n**发现导出成功了，在脚本根目录获取即可拿到Flag**\n\n![Base64导出效果](./img/output-1.png)\n\n## 2、使用指定宽高修复导出图片\n\n```\npython Deformed-Image-Restorer.py -r demo.png\n```\n\n![Hex导出](./img/reverse.png)\n\n**发现导出成功了，在脚本根目录获取即可拿到Flag**\n\n![Hex导出效果](./img/output-2.png)\n\n## 项目 Star 数量统计趋势图\n\n[![Star History Chart](https://api.star-history.com/svg?repos=AabyssZG/Deformed-Image-Restorer\u0026type=Date)](https://star-history.com/#AabyssZG/Deformed-Image-Restorer\u0026Date)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faabysszg%2Fdeformed-image-restorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faabysszg%2Fdeformed-image-restorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faabysszg%2Fdeformed-image-restorer/lists"}