Ports ouverts sur votre machine ?
Une nouvelle astuce pour découvrir les ports ouverts sur sa machine sans avoir à utiliser un scanner de port comme nmap par exemple. Pour cela, nous allons utiliser la commande netstat :
# netstat -tan | grep LISTEN tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:8118 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:9050 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN
Dans cet exemple, les ports ouverts sont :
- 3306
- 113
- 8118
- 22
- 316
- 25
- 9050


Commentaires
#1 encore plus
J'ajouterais que