{"id":15203031,"url":"https://github.com/yitenghao/windows-management-tool","last_synced_at":"2026-03-27T01:54:18.054Z","repository":{"id":219528311,"uuid":"206215424","full_name":"yitenghao/windows-Management-tool","owner":"yitenghao","description":"基于golang的windows管理工具，客户端运行自动注册服务，开机自启，免停。可执行服务端分发的命令。理论上是可以在linux上装client的","archived":false,"fork":false,"pushed_at":"2021-01-21T09:55:02.000Z","size":5070,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T15:11:43.625Z","etag":null,"topics":["cmd","go","powershell","server","tcp","trojan-horse","windows"],"latest_commit_sha":null,"homepage":"","language":"Go","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/yitenghao.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-04T02:39:25.000Z","updated_at":"2022-07-21T06:16:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"a601bcb1-db09-4ed7-a6bf-ce89a9b95273","html_url":"https://github.com/yitenghao/windows-Management-tool","commit_stats":null,"previous_names":["yitenghao/windows-management-tool"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yitenghao/windows-Management-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yitenghao%2Fwindows-Management-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yitenghao%2Fwindows-Management-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yitenghao%2Fwindows-Management-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yitenghao%2Fwindows-Management-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yitenghao","download_url":"https://codeload.github.com/yitenghao/windows-Management-tool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yitenghao%2Fwindows-Management-tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31008301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T01:50:43.500Z","status":"ssl_error","status_checked_at":"2026-03-27T01:50:41.231Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cmd","go","powershell","server","tcp","trojan-horse","windows"],"created_at":"2024-09-28T04:22:32.297Z","updated_at":"2026-03-27T01:54:18.029Z","avatar_url":"https://github.com/yitenghao.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\"# windows-Management-tool\" \n\n\ngo get github.com/axgle/mahonia\n\n\ngo get github.com/akavel/rsrc\n\n\ngo install github.com/akavel/rsrc\n\n\ncd server\n\n\ngo run main.go\n\n\ncd client\n\n\ngo run main.go\n\n\n\n操作方法：\n\n客户端Dial的ip修改为服务端IP\n\n\n服务端运行之后，直接在控制台输入指令，如：where powershell\n\n\n实际上和在本机上cmd输入指令一样的，但是有的指令（不在path下的）需要用绝对路径，如果找不到路径就执行不了。如 start www.baidu.com 指令,就打不开百度。\n\n\n但是windows自带powershell，可以直接调powershell，而且powershell.exe可以接受命令行参数，且他可以执行所有cmd指令，所以可以绕过cmd，如 powershell start www.baidu.com\n\n\n作为服务启动，客户端会拥有管理员权限，服务端的指令可以享受管理员身份执行\n\n\n代码很简单，逻辑也不复杂，可以自己封装改动一哈。\n自己看吧：）\n\n--共同学习，共同进步--\n\n\nclient文件夹下的1.ico是图标文件，ico.manifest文件是清单文件，里面配置了开启图标和管理员身份提示，使用`rsrc.exe -manifest ico.manifest -o myapp.syso -ico myapp.ico`生成.syso文件，放到main所在文件夹下，build时会加载并应用，这样就不用右键以管理员运行了。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyitenghao%2Fwindows-management-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyitenghao%2Fwindows-management-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyitenghao%2Fwindows-management-tool/lists"}