{"id":13845160,"url":"https://github.com/AabyssZG/BinaryCutting-Tool","last_synced_at":"2025-07-12T01:31:51.035Z","repository":{"id":85051019,"uuid":"606615477","full_name":"AabyssZG/BinaryCutting-Tool","owner":"AabyssZG","description":"二进制文件切割\u0026合并工具","archived":false,"fork":false,"pushed_at":"2024-08-26T03:24:01.000Z","size":268,"stargazers_count":90,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T18:50:26.824Z","etag":null,"topics":["binary","binarycutting","cutting","vulnerability"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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-02-26T02:36:29.000Z","updated_at":"2025-03-26T16:30:18.000Z","dependencies_parsed_at":"2024-11-18T08:11:07.066Z","dependency_job_id":null,"html_url":"https://github.com/AabyssZG/BinaryCutting-Tool","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/AabyssZG/BinaryCutting-Tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FBinaryCutting-Tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FBinaryCutting-Tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FBinaryCutting-Tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FBinaryCutting-Tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AabyssZG","download_url":"https://codeload.github.com/AabyssZG/BinaryCutting-Tool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AabyssZG%2FBinaryCutting-Tool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264923078,"owners_count":23683716,"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":["binary","binarycutting","cutting","vulnerability"],"created_at":"2024-08-04T17:03:14.717Z","updated_at":"2025-07-12T01:31:50.531Z","avatar_url":"https://github.com/AabyssZG.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# ✈️ 一、工具概述\n日常渗透过程中，有时候会碰到WebShell无法上传大文件，又不能远程下载可执行文件的情况，这时候就需要一款二进制文件切割工具\n\n找了一圈下来，没找到好用的二进制切割工具（大多是TXT文件的分割），于是自己就写了一个出来\n\n同时经过实战测试，该切割+合并还原的操作具有一定的免杀效果，可以配合其他姿势进行利用\n\n**使用姿势：用该工具切割可执行文件，将切割后的文件通过WebShell执行对应命令二进制拼接起来，再执行即可上线C2**\n\n于是，就写了这么一个工具：BinaryCutting-Tool（各位师傅能不能赏个Star嘛~❤）\n\n# 🚨 二、安装Python依赖库\n```\npip3 install filesplit\n```\n\n# 🐉 三、工具使用\n```\n# python3 BinaryCutting-Tool.py\n\n ▄▄▄▄    ██▓ ███▄    █  ▄▄▄       ██▀███ ▓██   ██▓ ▄████▄   █    ██ ▄▄▄█████▓▄▄▄█████▓ ██▓ ███▄    █   ▄████\n▓█████▄ ▓██▒ ██ ▀█   █ ▒████▄    ▓██ ▒ ██▒▒██  ██▒▒██▀ ▀█   ██  ▓██▒▓  ██▒ ▓▒▓  ██▒ ▓▒▓██▒ ██ ▀█   █  ██▒ ▀█▒\n▒██▒ ▄██▒██▒▓██  ▀█ ██▒▒██  ▀█▄  ▓██ ░▄█ ▒ ▒██ ██░▒▓█    ▄ ▓██  ▒██░▒ ▓██░ ▒░▒ ▓██░ ▒░▒██▒▓██  ▀█ ██▒▒██░▄▄▄░\n▒██░█▀  ░██░▓██▒  ▐▌██▒░██▄▄▄▄██ ▒██▀▀█▄   ░ ▐██▓░▒▓▓▄ ▄██▒▓▓█  ░██░░ ▓██▓ ░ ░ ▓██▓ ░ ░██░▓██▒  ▐▌██▒░▓█  ██▓\n░▓█  ▀█▓░██░▒██░   ▓██░ ▓█   ▓██▒░██▓ ▒██▒ ░ ██▒▓░▒ ▓███▀ ░▒▒█████▓   ▒██▒ ░   ▒██▒ ░ ░██░▒██░   ▓██░░▒▓███▀▒\n░▒▓███▀▒░▓  ░ ▒░   ▒ ▒  ▒▒   ▓▒█░░ ▒▓ ░▒▓░  ██▒▒▒ ░ ░▒ ▒  ░░▒▓▒ ▒ ▒   ▒ ░░     ▒ ░░   ░▓  ░ ▒░   ▒ ▒  ░▒   ▒\n▒░▒   ░  ▒ ░░ ░░   ░ ▒░  ▒   ▒▒ ░  ░▒ ░ ▒░▓██ ░▒░   ░  ▒   ░░▒░ ░ ░     ░        ░     ▒ ░░ ░░   ░ ▒░  ░   ░\n ░    ░  ▒ ░   ░   ░ ░   ░   ▒     ░░   ░ ▒ ▒ ░░  ░         ░░░ ░ ░   ░        ░       ▒ ░   ░   ░ ░ ░ ░   ░\n ░       ░           ░       ░  ░   ░     ░ ░     ░ ░         ░                        ░           ░       ░\n      ░                                   ░ ░     ░\n                                  [+] BinaryCutting-Tool V1.0\n                                    [+] 二进制文件切割\u0026合并工具\n                                      [+] Author: 曾哥(@AabyssZG)\n                                        [+] Whoami: https://github.com/AabyssZG\n\nusage: BinaryCutting-Tool.py [-h] [-c CUTTING] [-m MERGER] [-s SIZE]\n\nBinaryCutting-Tool V1.0\n\noptional arguments:\n  -h, --help  show this help message and exit\n  -c CUTTING  切割目标二进制文件并导出\n  -m MERGER   合并切割后的文件并导出\n  -s SIZE     设定切割文件大小，默认1024KB\n```\n\n# 🛸 四、工具演示\n## 1# 切割二进制文件\n使用BinaryCutting-Tool进行切割：\n```\npython BinaryCutting-Tool.py -c sys_un.exe -s 123\n```\n\n![二进制切割演示](./pic/二进制切割演示.png)\n\n导出文件夹内容如下：\n\n![output](./pic/output.png)\n\n## 2# 合并切割后的二进制文件\n**切割完成后，可以上传至WebShell管理的站点上，这时候可以用系统命令进行合并：**\n\nWindows：\n```\ncopy /b 文件1 + 文件2 + 文件3...  导出的文件名\n```\n\nLinux：\n```\ncat 文件1 文件2 文件3... \u003e 导出的文件名\n```\n\n也可以使用BinaryCutting-Tool进行合并：\n```\npython BinaryCutting-Tool.py -m sys_un2.exe\n```\n\n![二进制合并演示](./pic/二进制合并演示.png)\n\n导出文件夹内容如下：\n\n![merge](./pic/merge.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAabyssZG%2FBinaryCutting-Tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAabyssZG%2FBinaryCutting-Tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAabyssZG%2FBinaryCutting-Tool/lists"}