Page 1 of 1
DOS commands. Anyone help?

Posted:
Sat Feb 19, 2005 7:30 pm
by ColaBoy
I read an article regarding the net,connections and security etc a few weeks ago and they mentioned these two DOS commands that could be entered but I've completely forgotten what they are.
One command allowed to see what IP addresses your internet connection had gone through to reach its current location. The other simply listed what ports were open,possibly to hackers etc,as I remember one was shown to be 'LISTENING'
Any ideas anyone?

Posted:
Sat Feb 19, 2005 7:48 pm
by Gecko
To trace you ip connection over a maximum of 30 hops it would be:
tracert xxx.xxx.xxx.xxx (where the xs = your ip)
To displays all connections and listening ports it would be:
netstat –a

Posted:
Sat Feb 19, 2005 8:03 pm
by peahead
ipconfig tell you your ip address

Posted:
Sat Feb 19, 2005 8:16 pm
by ColaBoy
Ah thanks guys!
How can I find out what ports they are by the figures given?

Posted:
Sun Feb 20, 2005 12:58 pm
by robbro
Well this is not a dos command but you can also find your ip by going to
www.whatismyip.com 
no commands hehehe but then again im lazy


Posted:
Mon Feb 21, 2005 5:15 pm
by ColaBoy

Posted:
Mon Feb 21, 2005 9:57 pm
by robbro

Posted:
Mon Feb 21, 2005 10:47 pm
by ColaBoy

Posted:
Tue Feb 22, 2005 7:46 pm
by ColaBoy
No,no. Its all coming back to me now. The command I used was netstat -ano and this contained PID codes. These codes were then checked to see what they refered to ie what port or process etc. Anyone now how I check the PID's in XP?

Posted:
Tue Feb 22, 2005 8:36 pm
by ColaBoy
Ha ha. Got it figured!!!
Just press CTRL ALT and DEL to bring up the TASK MANAGER and there they are!!!
Great,thanks me. Your've been a great help! No problem me!
Must lay down now. :s