Created
June 19, 2019 17:03
-
-
Save lucenarenato/0ba7e18fa56bd5f80bb692cbfc18fbfd to your computer and use it in GitHub Desktop.
Verificar Portas e IPs - Servidor - command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Olhar ip e portas | |
nmap -v localhost | |
ifconfig | |
lsof -i | |
netstat -lptu | |
nmap -sT -O localhost | |
netstat -t | |
Existe uma opção também seria utilizar o netstat: | |
netstat -tl - lista as conexões abertas de tcp em modo de escuta | |
netstat -t - lista as conexões tcp estabelecidas | |
netstat -p - lista os programas que estão usando a conexão | |
netstat --numeric-ports - não converte o número da porta para ser listado | |
netstat --numeric-hosts - não converte o número de ip para nome do host | |
netstat -t -l -p --numeric-ports | |
lsof -i tcp | |
Autor: Renato Lucena - 2019 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment