Skip to content

Instantly share code, notes, and snippets.

@iamdylanngo
Last active March 10, 2020 08:46
Show Gist options
  • Select an option

  • Save iamdylanngo/fac4d85636ac226e6ff1ecfe209b4bf2 to your computer and use it in GitHub Desktop.

Select an option

Save iamdylanngo/fac4d85636ac226e6ff1ecfe209b4bf2 to your computer and use it in GitHub Desktop.
network-security
# Check network
sudo tcptrack -i ens160
sudo iftop -n
sudo tcpdump
# Check port listen
sudo lsof -i -P -n | grep LISTEN
sudo netstat -tulpn | grep LISTEN
sudo lsof -i:22 ## see a specific port such as 22 ##
sudo nmap -sTU -O IP-address-Here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment