วิธีการดู IP ของผู้ที่กำลังคุย MSN/AIM/Yahoo Messenger กับคุณ
ทำได้โดยการเชื่อมโยงคุณกับบุคคลนั้นโดยตรง แล้วจึงใช้คำสั่งที่มีในวินโดวส์คือ netstat ซึ่งจะบอกการเชื่อมต่อที่กำลังทำอยู่ และสถิติโปรโตคอล
ดังนั้นวิธีการที่จะรู้ IP ของผู้ที่ใช้ messenger คุณจำเป็นต้องเชื่อมโยงกับเขาโดยตรง ซึ่งจะต้องเป็นการเคลื่อนย้ายไฟล์ หรือ voice chat หรือ web cam ใน NetMeeting อย่างใดอย่างหนึ่ง เมื่อคุณส่งไฟล์แล้วคุณต้องการรู้ IP ของเขา ขั้นแรกให้เปิด MS-Dos Prompt หรือ Command Promtp ในขณะที่กำลังส่งหรือรับไฟล์ หรือกำลังใช้ voice chat อยู่ แล้วพิมพ์ว่า netstat -n คุณจะเห็นดังตัวอย่างนี้
C:WINDOWS>netstat -n
Active Connections
Proto Local Address Foreign Address State
TCP 211.124.228.98:1138 64.4.13.69:1863 ESTABLISHED
TCP 211.124.228.98:1150 64.4.12.190:1863 ESTABLISHED
TCP 211.124.228.98:6891 12.90.50.93:1978 ESTABLISHED
เป็นตัวอย่างที่ได้จากคำสั่ง netstat -n สองคำสั่งแรกได้จาก MSN messenger service ที่มีสอง IP เพราะคุยกันสองคนในเวลานั้น ในขณะที่ส่งไฟล์ไปให้ก็ได้ใช้คำสั่ง netstat -n แล้วจึงรู้ IP ของเขาได้ (12.90.50.93)
บางคนอาจจะถามว่า "ผมไม่สามารถใช้คำสั่ง netstat -n ในขณะที่กำลังคุยกับเขาได้เหรอ?" จริง ๆ แล้วคุณทำได้ แต่คุณจะได้เพียงแต่ IP ของเซิร์ฟเวอร์ของ MSN ที่คุณกำลังใช้อยู่เท่านั้น
ท่านสามารถใช้ความสามารถของ DOS ได้น่ะครับ เช่น netstat -n | find "ESTABLISHED" ให้แสดงเฉาะบรรทัดที่มีคำว่า ESTABLISHED น่ะครับ
หรืออาจจะใช้ค่า PID ของ MSN มาตรวจสอบดูก็ได้น่ะครับ โดยจะใช้คำสั่ง netstat -no | find "pid" โดยที่ pid เท่ากับหมายเลข process ของ msn น่ะครับ ซึ่งค่า pid สามารถดูได้จาก Task Manager น่ะครับ
การใช้ค่า pid จะมีความชัวร์กว่าครับ เพราะว่าเราเล่นที่เฉพาะโปรแกรม msn น่ะครับ
โดยรายละเอียดก็จะมีดังนี้อ่ะครับ
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