Linux və Windows Təhlükəsizlik Komandaları Cheatsheet

Linux Təhlükəsizlik Komandaları

sudo ufw enable
sudo ufw status
sudo netstat -tuln
sudo ps aux
sudo lsof -i
sudo chkrootkit
sudo fail2ban-client status
sudo auditctl -l
sudo iptables -L
sudo whois example.com
Qeyd: "sudo" komandasını istifadə edərkən root icazələri tələb olunur.

Windows Təhlükəsizlik Komandaları

netstat -an
ipconfig /all
wmic process list brief
tasklist
net user
netstat -ano
dir /s /b C:\
Get-EventLog -LogName Security
netsh advfirewall show allprofiles
Get-WmiObject -Class Win32_OperatingSystem
Qeyd: Bəzi komandalar administrator icazəsi tələb edir.