{"id":20884729,"url":"https://github.com/aabysszg/raster-terminator","last_synced_at":"2025-04-05T18:06:53.010Z","repository":{"id":207430739,"uuid":"719231731","full_name":"AabyssZG/Raster-Terminator","owner":"AabyssZG","description":"CTF之光栅图秒杀器","archived":false,"fork":false,"pushed_at":"2024-11-19T06:08:46.000Z","size":232,"stargazers_count":137,"open_issues_count":1,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T17:07:03.468Z","etag":null,"topics":["ctf","ctf-tool","ctf-tools","misc","raster-image","raster-images","steganography-tools"],"latest_commit_sha":null,"homepage":"https://blog.zgsec.cn/archives/504.html","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-11-15T18:30:58.000Z","updated_at":"2025-03-26T15:29:51.000Z","dependencies_parsed_at":"2024-11-18T08:11:16.413Z","dependency_job_id":"88b0a499-9195-4f84-9877-ab9391dbd80e","html_url":"https://github.com/AabyssZG/Raster-Terminator","commit_stats":null,"previous_names":["aabysszg/raster-terminator"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FRaster-Terminator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FRaster-Terminator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FRaster-Terminator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FRaster-Terminator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AabyssZG","download_url":"https://codeload.github.com/AabyssZG/Raster-Terminator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378141,"owners_count":20929296,"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-tool","ctf-tools","misc","raster-image","raster-images","steganography-tools"],"created_at":"2024-11-18T08:11:02.673Z","updated_at":"2025-04-05T18:06:52.971Z","avatar_url":"https://github.com/AabyssZG.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raster-Terminator\n## 一款CTFer专属的光栅图碰撞全自动化脚本\n\n## 1#关于该项目\n在我们日常的CTF比赛中，有时候会碰到光栅图的相关隐写（对，我就碰到了），感谢 `@Phantom Engage` 和 `@daiowjfoaejoi` 两位师傅的解惑\n\n对于光栅图的提取和爆破，比较麻烦，比赛的时候还要一个一个尝试，我就萌生了一个碰撞脚本的想法\n\n本文参考我的博客文章，食用更佳：[https://blog.zgsec.cn/archives/504.html](https://blog.zgsec.cn/archives/504.html)\n\n本项目的特点：\n- 适配性高，能方便运行于Python3环境\n- 操作简单，适合CTFer上手，可自动化通过碰撞获取隐写内容\n- 傻瓜式操作，只需要输入同目录下的图片文件名即可，支持Tab补全文件名，更加方便操作\n\n**如果各位师傅觉得这个工具好用，麻烦给个Star，万分感谢！！！**\n\n## 2#使用方式\n\n**目前，该项目已经更新至 `1.1` 版本，脚本参数如下：**\n\n```\n\u003epython3 Raster-Terminator.py -h\nusage: Raster-Terminator.py [-h] [-x XCOORDINATE] [-y YCOORDINATE] [-i IMAGEOUT]\n\nRaster Terminator V1.1\n\noptional arguments:\n  -h, --help      show this help message and exit\n  -x XCOORDINATE  自动读取图片并尝试爆破横向光栅图\n  -y YCOORDINATE  自动读取图片并尝试爆破纵向光栅图\n  -i IMAGEOUT     自定义爆破光栅图\n\n自动读取图片并尝试爆破光栅，诸如：python3 Raster-Terminator.py -x demo.png\n```\n\n## 3#使用样例\n\n**使用场景：当你在解Misc题目，发现存在光栅图，如下图所示**\n\n![Demo](./demo.png)\n\n根据图片长宽比，认为应该是横向隐写，直接尝试运行脚本\n\n```\npython3 Raster-Terminator.py -x demo.png\n```\n\n![xout1](./img/xout-1.png)\n\n该脚本会自动根据图片长宽进行计算，最终得到光栅提取量\n\n![xout2](./img/xout-2.png)\n\n会自动生成 `./output` 目录并将提取出的图片输出到目录里面\n\n![xout3](./img/xout-3.png)\n\n成功解出光栅图内隐藏的关键信息\n\n## 4#注明\n- 本项目仅用作CTF学习交流，本人一概不负任何责任\n- 这是我参加某次比赛时候，遇到光栅图隐写题目临时做的脚本\n- 本人CTF实力挺菜的（真的），所以别找我帮你们看题目，哈哈\n- **如果各位师傅觉得这个工具好用，麻烦给个Star，万分感谢！！！**\n- 如果在使用过程中有问题，欢迎各位师傅提issues给我哈\n- 感谢各位师傅的关注和支持，哈哈\n\n## 项目 Star 数量统计趋势图\n\n[![Star History Chart](https://api.star-history.com/svg?repos=AabyssZG/Raster-Terminator\u0026type=Date)](https://star-history.com/#AabyssZG/Raster-Terminator\u0026Date)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faabysszg%2Fraster-terminator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faabysszg%2Fraster-terminator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faabysszg%2Fraster-terminator/lists"}