Linux
查看当前用户
whoami查看历史信息
cat /root/.bash_history查看网卡信息
ifconfig 查看网络信息
netstat -anpt查看进程信息
ps -efWindows
查看具体用户信息
net user Administrator查看本机用户
net user查看登陆域
net config workstation查看进程
tasklist /v查看当前用户及Shell权限
whoami /user && whoami /priv查看杀毒软件
WMIC /Node:localhost /Namespace:\root\SecurityCenter2 Path AntiVirusProduct Get displayName /Format:List查看系统信息
systeminfo查看网络信息
netstat -ano查看机器名
hostname查看当前安装软件
wmic product get name,version查看当前运行用户
quser查看网络配置
ipconfig /all
