Skip navigation.

Windows command line tools

security testing
[textile]
From Lesson 2 - Basic commands in Linux and Windows I learned three cool new Windows tools I didn't know about.

tracert host
Show the route that packets follow to reach the machine "host". The command tracert is the abbreviation of trace route, which allows you to learn the route that a packet follows from the origin, (your machine) to the destination machine. It can also tell you the time it takes to make each jump. At the most, 30 jumps will be listed. It is sometimes interesting to observe the names of the machines through which the packets travel.

route print
Display the routing table. The command route serves to define static routes, to erase routes or simply to see the state of the routes.

netstat
Displays information on the status of the network and established connections with remote machines.



When I tried "tracert www.michaeldkelly.com" I got over 30 hops. PerfTestPlus.com had 21 (it was twice as fast as mine - darn hosting company) and Satisfice.com had 14 hops (twice as fast as PerfTestPlus).

My next step is to figure out how to actually use this information. All with time. This at least gives me a place to start.
[/textile]

Yup yup. Let me know when yo

Yup yup. Let me know when you figure out what to do with this info. I've had tracert in my bag of tricks for a few years and I agree it's fascinating to watch...

Scratch that. I was going to say I don't know what to do with them either, but now I realize it would be useful if you suspect performance issues are the network. It might be anyway...

Comment viewing options

Select your preferred way to display the comments and click 'Save settings' to activate your changes.