windows操作系统提权基础
2018-09-06 本文已影响3人
shadowflow
1 Windows提权整体总结
2 Windows基础提权命令
2.1 查看系统信息
systeminfo | findstr /B /C:"OS名称" /C:"OS版本"
2.2 主机名
Hostname
2.3 环境变量
Set
2.4 查看用户信息
Net user
Net1 user
2.5 查看服务pid号
Tasklist /svc|find "TermService"
netstat -ano|find "1488"
2.6 查看系统名
wmic os get caption
2.7 查看补丁信息
wmic qfe get Description,HotFixID,InstalledOn | findstr /C:"KB4013389" /C:"KB958644"
2.8 查看当前安装程序
wmic product get name,version