Exclusive IP Address Resolution

Source: Internet
Author: User

Frequently surfing the Internet may encounter such websites as http: // 3396081157, which is strange. Curiosity makes us unable to click them and find that it is a valid link that can be connected to other websites. Also, when browsing the deep Directory web page, the browser address bar will contain the characters % 72% 65% 61% 64% 6c % 6f % 67. Why? In fact, they are also URLs, but they are expressed in an uncommon form. Some spamer and scammer often use this to conceal their real identities. Below I will explain how to make normal URLs distorted so that you can see their true colors.
We know that the domain name http://www.microsoft.com is designed to help people remember, when we enter the domain name in the address bar of the browser, it will be converted to an IP address, and then look. The IP address is generally composed of four groups of decimal numbers separated by/".". Each group of numbers ranges from 0 ~ 255. In fact, it can also be expressed in binary, octal, and hexadecimal forms. Therefore, the strange website above is actually in the binary, octal, and hexadecimal formats of IP addresses. How can we deform IP addresses? We can use the ping command to obtain the IP address of a domain name. Connect to the network, from Windows to the DOS Status, you can use this command, the format is: ping domain name, such as ping http://www.baidu.com/can get the IP address 202.108.22.5.
We will convert the IP address format in decimal format into hexadecimal format, that is, the dual-word IP format as an example to illustrate how to create an IP address. Open the calculator that comes with Windows and select "scientific ". The default mode is decimal. First, enter the first group of numbers 202, and then click the hexadecimal value. 202 will be converted to the hexadecimal value CA. Convert the following three numbers into hexadecimal values in sequence. The hexadecimal value of 108 is 6C, And the hexadecimal value of 22 is 16, and the hexadecimal value of 5 is 05. Connect them together, that is, CA6C1605, which is the hexadecimal form of the IP address 202.108.22.5. Finally, set the CA6C1605 input to a hexadecimal calculator, and click the decimal system to convert this set of numbers to a decimal value of 3396081157. This number is the final deformation, called a large number of IP addresses. On the contrary, you can calculate the real IP address from the URL in this digital form, so that those spammer and scammer cannot escape our eyes.
In general, the dual-word IP format can be directly used in the address bar of the IE5.0 browser, or in the front with 0x, that is, 0xCA6C1605 with the same domain name effect is the same. In addition, adding any hexadecimal number before it is also valid, such as 0x9ACA6C1605. In fact, after obtaining the dual-word IP address, add 0x before each hexadecimal value (0x indicates that the following number is in the hexadecimal format), and then separate it with dots like a decimal IP address, such as 0xCA. 0x6C. 0x16.0x05, which is the same as the decimal IP address.
In addition, you can use the following formula to directly calculate the above large number of IP addresses = V * 256 ^ 3 + X * 256 ^ 2 + Y * 256 + Z * 256 ^ 0 where V is the first digit of the decimal IP address, in the above example, 202; X is the second group of numbers. In the above example, 108; Y is the third group of numbers, 22 in the above example; Z is the fourth group of numbers, 5 in the above example. There is also an interesting phenomenon. In the above formula, add N? 256 ^ 4, that is, IP = N * 256 ^ 4 + V * 2563 + X * 256 ^ 2 + Y * 256 + Z * 256 ^ 0 although the calculation result is different, however, it works the same and can be connected to the same website. When these numbers are converted to hexadecimal values, their last octal characters are the same, and the related program only recognizes the last eight digits when parsing the IP address. The previous digits do not matter.
In the same principle, you can convert the decimal IP address to the octal and binary formats. For example, if 202.108.22.5 is converted to the octal form 0312.0154.0026.0005, note that the value "0" must not be less. It shows the browser that the value following is octal. It should be easier to convert the binary form, so it will not be explained.
The above is only the basic form of URL ing, and there are more weird variants. An IP address can be expressed in a mix of decimal, octal, and hexadecimal values, which is equally valid. For example, 202.108.22.5 can be expressed as 0xCA. 108.0026.0x05, can further deformation http://www.readlog.cn @ 0xCA. 108.0026.0x05/, and the letters and symbols used for the path and file name after the IP address can be replaced by hexadecimal values, such as html "> http: // 0xca. 108.0026.0x05/% 73 earch/jiqiao.html we also need to add "%" before each value, indicating that the following value is in hexadecimal format.
Note:
1. In NETSCAPE browsers, IP addresses in hexadecimal format cannot be used. IP addresses in hybrid format can only contain hexadecimal numbers, but can only be in octal or decimal format.
2. Dual IP addresses are not available in some earlier versions of IE and OPERA.
3. You can enter anything between http: // and @, but some symbols cannot be used. For example, for IE, "^ # %" '<> "cannot be entered ".
4. Except for the decimal IP address, it is best not to use any other IP address in the proxy server or LAN. Demo: http://www.readlog.cn/demo/php/ip.php

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.