Linux
OSâ
cat /etc/issue
cat /etc/*-release
cat /proc/version
uname -a
rpm -q kernel
dmesg | grep Linux
ls /boot | grep vmlinuz-
lsb_release -a
Process / open ports / services / route / networkâ
ps auxww
ps -ef
lsof -i
netstat -laputen
arp -e
route
cat /sbin/ifconfig -a
cat /etc/network/interfaces
cat /etc/sysconfig/network
cat /etc/resolv.conf
cat /etc/sysconfig/network
cat /etc/networks
iptables -L
hostname
dnsdomainname
Usersâ
last
w
cat /etc/passwd | cut -d: -f1
grep -v -E "^#" /etc/passwd | awk -F: '$3 == 0 { print $1}'
ls -ahlR /root/
ls -ahlR /home/
cat ~/.bashrc
cat ~/.profile
Sudoersâ
sudo -l
cat /etc/sudoers
Environmentâ
cat /etc/profile
cat /etc/bashrc
cat ~/.bash_profile
cat ~/.bashrc
cat ~/.bash_logout
cat ~/.bash_history
env
set
FSâ
mount
df -h
Uploadâ
find / -name wget
find / -name nc*
find / -name netcat*
find / -name tftp*
find / -name ftp