{"id":13844354,"url":"https://github.com/boy-hack/go-strip","last_synced_at":"2025-10-25T21:33:51.754Z","repository":{"id":37689958,"uuid":"380160861","full_name":"boy-hack/go-strip","owner":"boy-hack","description":"清除Go编译时自带的信息","archived":false,"fork":false,"pushed_at":"2022-07-20T05:56:33.000Z","size":19,"stargazers_count":838,"open_issues_count":7,"forks_count":69,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-02-16T01:43:46.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/boy-hack.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":"2021-06-25T07:33:42.000Z","updated_at":"2025-02-12T15:43:58.000Z","dependencies_parsed_at":"2022-07-12T16:43:23.726Z","dependency_job_id":null,"html_url":"https://github.com/boy-hack/go-strip","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boy-hack%2Fgo-strip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boy-hack%2Fgo-strip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boy-hack%2Fgo-strip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boy-hack%2Fgo-strip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boy-hack","download_url":"https://codeload.github.com/boy-hack/go-strip/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565085,"owners_count":21125415,"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-08-04T17:02:40.962Z","updated_at":"2025-10-25T21:33:46.709Z","avatar_url":"https://github.com/boy-hack.png","language":null,"funding_links":[],"categories":["Others","逆向破解"],"sub_categories":[],"readme":"# go-strip\nGo编译会自带一堆信息，通过这些信息基本可以还原Go的源码架构,甚至可以用作溯源。本工具可以直接从go编译好的二进制中还原代码结构或者消除这些信息。\n\n- 支持Go编译的 Windows、Mac、Linux程序\n- 支持AMD64,386架构\n- 支持go全版本 1.13~1.18\n\n支持消除/混淆\n- function\n- filename\n- Go Struct\n- Type\n- Go Compiler Version\n- Go BuildID\n- Go Root Path\n- Go ModInfo\n- Go Complie Paramter\n\n## Useage\ngo编译出二进制，\n```\ngo build -ldflags \"-s -w\" .\n```\n之后即可使用工具进行混淆消除\n```\n                       _        _\n                      | |      (_)\n  __ _  ___ ______ ___| |_ _ __ _ _ __\n / _  |/ _ \\______/ __| __| '__| | '_ \\\n| (_| | (_) |     \\__ \\ |_| |  | | |_) |\n\\__, |\\___/      |___/\\__|_|  |_| .__/\n__/ |                          | |\n|___/                           |_|\n\nUsage of go-strip:\n  -a    是否消除Go的编译信息\n  -f string\n        源文件名\n  -output string\n        另保存的文件名\n```\n执行\n```\ngo-strip -f binary.exe\n```\n将会打印出读取的信息\n\n执行\n```\ngo-strip -f binary.exe -a -output new.exe\n```\nnew.exe即是混淆后的二进制文件\n## Paper\n- https://mp.weixin.qq.com/s?__biz=MzU2NzcwNTY3Mg==\u0026mid=2247484130\u0026idx=1\u0026sn=d482026bcd9d74b4b5bb5a62f02af10e\u0026chksm=fc986bc5cbefe2d3e74ac3e892c10e9c65f968ac32bfbd3b0f373e09fe65c39f58ea3e62107f\u0026token=1662333611\u0026lang=zh_CN#rd\n\n## 代码\n代码已开源  \n- v3最新版 https://t.zsxq.com/04YVzFaiq\n- v1 https://t.zsxq.com/6IurbMR\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboy-hack%2Fgo-strip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboy-hack%2Fgo-strip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboy-hack%2Fgo-strip/lists"}