Use the doscommand to find the IP address of a QQ friend

Source: Internet
Author: User

If you prefer the original QQ version, do not like QQ such as coral, and want to know the IP address of your friend, is it so troublesome to check the IP address of your QQ friend ??

Recommended (DOS) is simple, convenient, and environmentally friendly (unlike the application software, it also needs to be installed to occupy hard disk space and also occupy the same resources when used ).

Not long-winded, officially started. First, send the man you want to know the IP address to QQ's "two-person world" (that is, open the chat window of that person, chat with him, and he will reply to you ). In the DOS window (DOS in Win9x and command prompt in Win2000 ). Run the following command:

Netstat-n

You will see:

Active Connections

Proto Local Address Foreign Address State

TCP 202.109.34.78: 1200 202.121.139.35: 61555 ESTABLISHED

TCP 202.109.34.78: 2694 202.109.72.40: 6667 ESTABLISHED

TCP 202.109.34.78: 4869 211.202.1.227: 23 ESTABLISHED

{Ad} Good guy, so many IP addresses! Which one is what we are looking? Don't worry. Read it later. Now we exit the "two-person world" (that is, close the chat window), and enter it again in DOS:

Netstat-n

You will see:

Active Connections

Proto Local Address Foreign Address State

TCP 202.109.34.78: 1200 202.121.139.35: 61555 TIME_WAIT

TCP 202.109.34.78: 2694 202.109.72.40: 6667 ESTABLISHED

TCP 202.109.34.78: 4869 211.202.1.227: 23 ESTABLISHED

Do you see the difference between the two before and after? Not shown? Take a closer look and you will find that:

Originally, TCP 202.109.34.78: 1200 202.121.139.35: 61555 ESTABLISHED

Now TCP 202.109.34.78: 1200 202.121.139.35: 61555 TIME_WAIT

Okay, now you should know? Yes! IP address of the person you are chatting
That is: 202.101.139.35! So how do you know? Friends, please refer to the two-person world in which we want to transmit messages, and there must be connections between them (through UDP protocol ), at this time, it is "ESTABLISHED" (in the result of your use of the netstat-n command); and the disconnection from "Two Worlds" is naturally "TIME_WAIT.

Is it easy? In this way, it is useless to use an external software (netstat is a Windows external command). Is it as simple, convenient, and environmentally friendly as we mentioned earlier? Try again soon!

Next we will teach you how to intrude into him

1. determine where the peer accesses the Internet. Open a DOS window and type the information displayed in lines tracert xx. XX 4th and 5th to indicate that the Peer accesses the internet.

2. obtain the name of the Peer computer. In the DOS window, type NBTSTAT-a xx. XX. XX. XX: the first line is the name of the Peer computer; the second line is the name of the Peer computer; the third line is the description of the Peer computer.

3. there is a file named LMHOSTS in the WINDOWS directory. SAM, rename it LMHOSTS, delete its content, and write the IP address and name of the other computer to the file in the following format: XX. XX. XX. XX computer name

4. Open the DOS window and type NBTSTAT-R.

5. enter the name of the Peer computer in start-search-computer, and click the peer computer to enter.

In addition:

Netstat-an [command text explanation]

Use this command to check the IP addresses related to your computer.

There will be a lot of DDOS attacks. time_wait


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.