{"id":18554907,"url":"https://github.com/lengjibo/netuser","last_synced_at":"2025-10-09T15:17:19.133Z","repository":{"id":41386014,"uuid":"232760723","full_name":"lengjibo/NetUser","owner":"lengjibo","description":"使用windows api添加用户，可用于net无法使用时.分为nim版，c++版本，RDI版，BOF版。","archived":false,"fork":false,"pushed_at":"2021-09-29T14:22:09.000Z","size":41,"stargazers_count":421,"open_issues_count":1,"forks_count":91,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-10-09T15:17:18.283Z","etag":null,"topics":["hacker","security","windows"],"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/lengjibo.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-01-09T08:33:27.000Z","updated_at":"2025-08-12T13:34:49.000Z","dependencies_parsed_at":"2022-07-18T06:00:37.576Z","dependency_job_id":null,"html_url":"https://github.com/lengjibo/NetUser","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/lengjibo/NetUser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lengjibo%2FNetUser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lengjibo%2FNetUser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lengjibo%2FNetUser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lengjibo%2FNetUser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lengjibo","download_url":"https://codeload.github.com/lengjibo/NetUser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lengjibo%2FNetUser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001641,"owners_count":26083146,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["hacker","security","windows"],"created_at":"2024-11-06T21:24:25.220Z","updated_at":"2025-10-09T15:17:19.103Z","avatar_url":"https://github.com/lengjibo.png","language":"C++","readme":"# NetUser\n使用windows api添加用户，可用于net无法使用时\n\n原理：使用NetUserAdd这个API添加普通权限的用户，NetLocalGroupAddMembers这个API添加管理员权限。\n\n需要administrator权限\n\n- NetUser.cpp：普通C++版本\n- NetUser.nim：普通Nim版本\n- rdi_net_user.cpp：反射型dll注入版本\n- bof_net_user.c：CobaltStrike Bof版本\n- SamAdduser.exe：利用sam来添加用户，用户名：Admina 密码：Admin\u0026A*125#（暂时有些问题，回头更改）\n- NoApiUser.exe：利用windows 目录添加用户，C#版本，并移除了用户名密码字符\n\n效果图：\n\n![00.png](http://ww1.sinaimg.cn/large/007F8GgBly1gaqeeosxcsj30no0ap0sm.jpg)\n\n![01.png](http://ww1.sinaimg.cn/large/007F8GgBly1gaqef13ac8j30pq0fp3yu.jpg)\n\n![02.png](https://raw.githubusercontent.com/lengjibo/NetUser/master/2.png)\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flengjibo%2Fnetuser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flengjibo%2Fnetuser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flengjibo%2Fnetuser/lists"}