Linux
查看当前用户
whoami
查看历史信息
cat /root/.bash_history
查看网卡信息
ifconfig
查看网络信息
netstat -anpt
查看进程信息
ps -ef
Windows
查看具体用户信息
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