Re: TCP UDP port scanner
I don't know if you still looking... Anyway, use this comand from a cmd shell:
netstat
This show network active connections, like tcp and udp ports, the local IP address, the remote IP address and the state of the port.
To see all the ports use the -a swith, to see the number of the port and the atual IP address not the resolved names use the -n swith. So the command u are looking for looks like this:
netstat -an
The result should look like this:
Proto Dirección local Dirección remota Estado
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 10.10.10.164:139 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1026 0.0.0.0:0 LISTENING
UDP 0.0.0.0:445 *:*
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:1032 *:*
UDP 0.0.0.0:1038 *:*
UDP 0.0.0.0:1055 *:*
UDP 0.0.0.0:1069 *:*
UDP 0.0.0.0:4500 *:*
UDP 10.10.10.164:123 *:*
UDP 10.10.10.164:137 *:*
UDP 10.10.10.164:138 *:*
UDP 10.10.10.164:1900 *:*
UDP 127.0.0.1:123 *:*
UDP 127.0.0.1:1025 *:*
UDP 127.0.0.1:1042 *:*
UDP 127.0.0.1:1590 *:*
UDP 127.0.0.1:1621 *:*
UDP 127.0.0.1:1900 *:*
As you can see it shown the protocol type (TPC or UDP), the local IP
ort, the remote IP
ort and the conection state (LISTENING, ESTABLISHED, TIME WAITING, etc...) The opened ports are the ones that show LISTENING state.
Hope this was helpfull.