PDA

View Full Version : Info comando dos...



Jarkheld
16th May 2006, 15:08
Ciauz, so che c'è un comando dos che permette di sapere tutti gli IP collegati al proprio computer...mi sapete dire qualè? cercando su goooooooooogle nn so riuscito a trovare niente :( ah se sapete come farlo anche senza dos va bene cmq! basta che mi spiegate come...:angel:

-=Rho=-
16th May 2006, 15:30
Se non sbaglio con netstat -a vedi tutte le connessioni da e per il tuo pc

Palur
16th May 2006, 16:41
net view se vuoi vedere i computer collegati sulla rete e le risorse condivise.

Jarkheld
16th May 2006, 17:12
net view se vuoi vedere i computer collegati sulla rete e le risorse condivise.

non sono in rete...vi faccio un esempio...se sto giocando a daoc...e sono collegato a lancelot per esempio...c'è un modo per vedere che indirizzo ip e porta ha il server di lancelot (so che l'ip del server su daoc si vede alla connessione...ma mettiamo nn si vedesse)?

-=Rho=-
16th May 2006, 17:22
con netstat -a lo vedi ...

Edit: magari non l'hai capito ma netstat -a e' un comando dos ^^

Jarkheld
16th May 2006, 17:30
con netstat -a lo vedi ...
Edit: magari non l'hai capito ma netstat -a e' un comando dos ^^

magari netstat -a nn funziona ma è netstat -n :confused:

Gate
16th May 2006, 17:52
funziona netstat -a
e ti da pure l'hostname di chi e' connesso ;D con -n vedi solo l'ip

C:\Documents and Settings\Genesi>netstat -h

Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval]

-a Displays all connections and listening ports.
-b Displays the executable involved in creating each connection or
listening port. In some cases well-known executables host
multiple independent components, and in these cases the
sequence of components involved in creating the connection
or listening port is displayed. In this case the executable
name is in [] at the bottom, on top is the component it called,
and so forth until TCP/IP was reached. Note that this option
can be time-consuming and will fail unless you have sufficient
permissions.
-e Displays Ethernet statistics. This may be combined with the -s
option.
-n Displays addresses and port numbers in numerical form.
-o Displays the owning process ID associated with each connection.
-p proto Shows connections for the protocol specified by proto; proto
may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s
option to display per-protocol statistics, proto may be any of:
IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are
shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
the -p option may be used to specify a subset of the default.
-v When used in conjunction with -b, will display sequence of
components involved in creating the connection or listening
port for all executables.
interval Redisplays selected statistics, pausing interval seconds
between each display. Press CTRL+C to stop redisplaying
statistics. If omitted, netstat will print the current
configuration information once.

Jarkheld
16th May 2006, 17:58
funziona netstat -a
e ti da pure l'hostname di chi e' connesso ;D con -n vedi solo l'ip
C:\Documents and Settings\Genesi>netstat -h
Displays protocol statistics and current TCP/IP network connections.
NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval]
-a Displays all connections and listening ports.
-b Displays the executable involved in creating each connection or
listening port. In some cases well-known executables host
multiple independent components, and in these cases the
sequence of components involved in creating the connection
or listening port is displayed. In this case the executable
name is in [] at the bottom, on top is the component it called,
and so forth until TCP/IP was reached. Note that this option
can be time-consuming and will fail unless you have sufficient
permissions.
-e Displays Ethernet statistics. This may be combined with the -s
option.
-n Displays addresses and port numbers in numerical form.
-o Displays the owning process ID associated with each connection.
-p proto Shows connections for the protocol specified by proto; proto
may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s
option to display per-protocol statistics, proto may be any of:
IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are
shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
the -p option may be used to specify a subset of the default.
-v When used in conjunction with -b, will display sequence of
components involved in creating the connection or listening
port for all executables.
interval Redisplays selected statistics, pausing interval seconds
between each display. Press CTRL+C to stop redisplaying
statistics. If omitted, netstat will print the current
configuration information once.
bo... a me netstat a nn va :(

-=Rho=-
16th May 2006, 17:58
evabbeh :O

Jarkheld
16th May 2006, 18:06
evabbeh :O

lol ritiro che adesso è andato...;) cmq, che diff c'è tra Indirizzo Locale ed Indirizzo esterno? qual'è dei 2 l'IP? come vedo la porta? è neccessaria per collegarsi ad un server?scusate ma ne sto poco e niente su queste cose...:awk:

San Vegeta
17th May 2006, 15:01
appunto, se ne sai poco e niente perchè hai bisogno di saperlo? :)

Jarkheld
17th May 2006, 15:01
appunto, se ne sai poco e niente perchè hai bisogno di saperlo? :)

perchè mi serve saperlo...:gha:

MiLLenTeX
17th May 2006, 15:06
jark = n00b :D

Jarkheld
17th May 2006, 15:17
jark = n00b :D


s000ka lol e smetti di spammarmi nei thread :confused:

MiLLenTeX
17th May 2006, 16:12
s000ka lol e smetti di spammarmi nei thread :confused:

ti spammo tutta maiala :sneer:

Kat
17th May 2006, 16:19
Indirizzo locale e' il tuo, remoto e' quello all'altro capo della connessione. Entrambi sono indirizzi IP, la porta e' dopo i : ed e' necessaria per la connessione.

Jarkheld
17th May 2006, 16:24
ti spammo tutta maiala :sneer:
:drool: