FORCE Mig33 Community
Hello, welcome to FORCE community. Feel at home... and enjoy.

Do not forget to read forum rules.

Join the forum, it's quick and easy

FORCE Mig33 Community
Hello, welcome to FORCE community. Feel at home... and enjoy.

Do not forget to read forum rules.
FORCE Mig33 Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Check who's IPs is connected to you

Go down

Check who's IPs is connected to you Empty Check who's IPs is connected to you

Post by prince_force Fri Jun 20, 2008 3:02 pm

Check who's IPs is connected to you
I stumbled across this on another board, and I found it so simple, yet helpful, I thought I'd share this with you.

All you have to do is:

- open notepad
- copy the following lines

@echo
@color 09
@netstat -n
@echo.
@pause

- save as getip.cmd
- move it to the desktop (or anywhere that catches your fancy)
- double-click on it to see the current TCP connections made to your PC!

change the netstat -n (the -n displays the info as numerical data) to netstat -a which will show all connections and listening ports. Also, putting a number in between the netstat and the -a will update at that interval. For instance, netstat 1 -a will update the info every 1 second, netstat 5 -a will update every 5 seconds and so on... If you don't want to use the -a option, you can still use the update interval with the -n option (example: netstat 5 -n)

You can also use these switches
netstat -a (display all active TCp connections and their ports)
netstat -e (displays ethernet stats)
netstat -n (displays active TCP connections)
netstat -s (displays statistics by protocol)
netstat -p protocol (shows connections for the protocol specified eg tcp, udp, tcpv6 or udpv6)
netstat -r (displays contents of the IP routing table)

The color command is followed by 2 hexadecimals, i think the first is text color and the 2nd is background color (or vice versa)
prince_force
prince_force
Technician
Technician

Mig33 ID : prince_suhel,prince._force
Location : india
Mood : Check who's IPs is connected to you Caring10

Character sheet
Skill: Chatter

http://www.forceindia.tk

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum