Fairy

jueves, 3 de abril de 2014

CMD /K NETSTAT -ANO -P TCP 04|FINDSTR /C:ESTABLISHED



Para conocer las conexiones establecidas en este momento hazlo de la siguiente forma:
• Copia el siguiente código, pégalo en el cuadro de Inicio o en el comando Ejecutar (WINDOWS+R) y presiona la tecla Enter.
CMD /K NETSTAT -ANO -P TCP 04|FINDSTR /C:ESTABLISHED


C:\Documents and Settings\CCB-05>CMD /K NETSTAT -ANO -P TCP 04|FINDSTR /C:ESTABL
ISHED
  TCP    127.0.0.1:1045         127.0.0.1:1046         ESTABLISHED     1452
  TCP    127.0.0.1:1046         127.0.0.1:1045         ESTABLISHED     1452
  TCP    127.0.0.1:1045         127.0.0.1:1046         ESTABLISHED     1452
  TCP    127.0.0.1:1046         127.0.0.1:1045         ESTABLISHED     1452
  TCP    127.0.0.1:1045         127.0.0.1:1046         ESTABLISHED     1452
  TCP    127.0.0.1:1046         127.0.0.1:1045         ESTABLISHED     1452
  TCP    127.0.0.1:1045         127.0.0.1:1046         ESTABLISHED     1452
  TCP    127.0.0.1:1046         127.0.0.1:1045         ESTABLISHED     1452
  TCP    127.0.0.1:1045         127.0.0.1:1046         ESTABLISHED     1452
  TCP    127.0.0.1:1046         127.0.0.1:1045         ESTABLISHED     1452 
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680
  TCP    192.168.1.114:1035     23.13.16.60:443        ESTABLISHED     1680

Practica 16.- Ver puertos abiertos Win+R



Para saber que puertos tienes abiertos sigue los siguientes pasos:
• Copia y pega el siguiente código en el cuadro que se encuentra encima del botón de Inicio o en el comando Ejecutar, presiona la tecla Enter.

CMD /K NETSTAT -AN|FINDSTR /C:LISTENING


C:\Documents and Settings\CCB-05>CMD /K NETSTAT -AN|FINDSTR /C:LISTENING
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
  TCP    127.0.0.1:1030         0.0.0.0:0              LISTENING
  TCP    192.168.1.114:139      0.0.0.0:0              LISTENING