{"id":13839859,"url":"https://github.com/QAX-A-Team/sharpwmi","last_synced_at":"2025-07-11T07:31:05.355Z","repository":{"id":48283464,"uuid":"253997316","full_name":"QAX-A-Team/sharpwmi","owner":"QAX-A-Team","description":"sharpwmi是一个基于rpc的横向移动工具，具有上传文件和执行命令功能。","archived":false,"fork":false,"pushed_at":"2021-08-03T02:55:42.000Z","size":380,"stargazers_count":708,"open_issues_count":5,"forks_count":107,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-08-05T17:24:24.356Z","etag":null,"topics":["sharp","wmi"],"latest_commit_sha":null,"homepage":"","language":"C#","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/QAX-A-Team.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":"2020-04-08T05:50:21.000Z","updated_at":"2024-07-14T07:11:08.000Z","dependencies_parsed_at":"2022-09-06T07:51:36.482Z","dependency_job_id":null,"html_url":"https://github.com/QAX-A-Team/sharpwmi","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/QAX-A-Team%2Fsharpwmi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QAX-A-Team%2Fsharpwmi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QAX-A-Team%2Fsharpwmi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QAX-A-Team%2Fsharpwmi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QAX-A-Team","download_url":"https://codeload.github.com/QAX-A-Team/sharpwmi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225705029,"owners_count":17511210,"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":["sharp","wmi"],"created_at":"2024-08-04T17:00:36.689Z","updated_at":"2024-11-21T09:30:29.732Z","avatar_url":"https://github.com/QAX-A-Team.png","language":"C#","funding_links":[],"categories":["C# #","C# (212)"],"sub_categories":[],"readme":"# SharpWmi\n\n## 介绍：\n\n这是一个基于135端口来进行横向移动的工具,具有执行命令和上传文件功能,通过wmi来执行命令,通过注册表来进行数据传输.\n\n## 原理:\n### 执行命令：\n   通过wmi来执行命令，server将命令结果存在本机注册表，然后client连接注册表进行读取命令结果\n\n### 上传文件:\n   client将需要上传的文件放到server的注册表里面，然后server通过powershell来操作注册表方式来取文件然后释放到本地\n\n\n## 优点：\n- 不依赖139和445端口\n\n## 缺点：\n- 目前只支持上传512kb以下的文件，因为注册表每个值值长度不能超过512kb。\n- 执行命令和上传文件都依赖powershell\n\n## todo:\n- 用添加增加多个值的方式来实现上传任意大小文件\n- 去除powershell依赖\n\n![](3.png)\n\n![](2.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQAX-A-Team%2Fsharpwmi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FQAX-A-Team%2Fsharpwmi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQAX-A-Team%2Fsharpwmi/lists"}