一、判断是域环境还是工作组
ipconfig
systeminfo
net time /domain #查找域的时间,如果不是域会找不到
net time /domain三种情况
1、存在域,但是当前用户不是域用户
2、存在域,当前用户是域用户
3、不存在域
二、查看操作系统版本信息和
systeminfo | findstr /B /C:"OS name" /C:"OS version"
systeminfo | findstr /B /C:"OS 名称" /C:"OS 版本"
echo %PROCESSOR_ARCHITECTURE%
2、查看安装软件
wmic product get name,version
3、查看系统软件和杀毒软件进程和可疑进程
tasklist -v
tasklist /SVC
4、查看开机启动项
wmic startup get command,caption
5、查看当前用户
net config workstation
6、查看端口
netstat -ano
7、分析路由
route print
arp -a
查看防火墙
netsh firewall show config
域信息收集
net user /domain
查看域用户工作组
net user 用户名 /domain
查看多个域
net view /domain
查看域管理员列表
net group "domain admins" /domain