ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[TOC] ## Windows中权限大概分为四种 * User * Administrator * System * TrustedInstaller ## 常见的提权命令 windows ~~~ 添加普通用户和密码 • net user dota 123456 /add 【用户名dota,密码123456】 • net user dota 添加普通用户到管理员用户组 • net localgroup administrators dota /add 添加用户到远程桌面组 • net localgroup “Remote Desktop Users”dota /add 帮助命令 • net user /? 删除用户: net user dota /delete ~~~ Linux ~~~ 新建用户 • useradd username • passwd username 新建用户并加入到root用户组 • useradd –g root username • passwd username 添加已有用户到root用户组 • usermod –g root username ~~~ ## 提权漏洞集合 * Exploit-db本地提权:https://www.exploit-db.com/?type=local * Windows提权漏洞集合:https://github.com/SecWiki/windows-kernel-exploits * Linux提权漏洞集合:https://github.com/SecWiki/linux-kernel-exploits * Mac-OS提权漏洞集合:https://github.com/SecWiki/macos-kernel-exploits