渗透测试之Windows提取常用命令

Windows提权常见命令:

Whoami 查看当前操作用户

ipconfig ip地址获取命令

Net user用户操作命令:

Net user shiyan 123456 /add 添加用户名shiyan,密码123456的用户

Net user shiyan /del 删除用户shiyan

Net localgroup administrators shiyan /add 将用户shiyan添加到本地管理员组

其它查询命令:

Tasklist /svc 进程获取命令

Netstat -ano 网络端口命令

Systeminfo 计算机信息获取命令

猜你喜欢

转载自blog.csdn.net/qq_45226339/article/details/105663577