Script is written according to inet_aton()
introduced by 4.2BSD
,which is undesirable and considered as non-standard but de facto quite widely interoperable.
IP addresses generated by this script look obscure but work well, which may help a lot in some conditions (here is one,for example).And so many forms to be chosen from is quite cool.
You can check this article for more details.
python obscureIP.py
output:
[0] 0x00000000c0.0x000a8.0x42.0x0000000e9
[1] 0x00000000c0.0x0000a8.0x00000042.233
[2] 0x0c0.0x00000a8.0x0042.00351
[3] 0x000c0.0x00a8.66.0x00000000e9
[4] 0x0c0.0x000000a8.66.233
[5] 0x000000c0.0x00000000a8.66.00000000351
[6] 0xc0.0x0000000a8.0102.0x0000e9
[7] 0x0000000c0.0x000000a8.00000000102.233
[8] 0x00000c0.0x0a8.00000102.000351
[9] 0x000000c0.168.0x000042.0x00000000e9
[10] 0x000000000c0.168.0x000000042.233
[11] 0x000000000c0.168.0x42.0000351
[12] 0x00000000c0.168.66.0x000e9
[13] 0x000000c0.168.66.233
[14] 0x0c0.168.66.000000351
[15] 0x0c0.168.0000102.0x00e9
[16] 0x00000000c0.168.00102.233
[17] 0x00000c0.168.0102.000000351
[18] 0x000000c0.00000000250.0x000042.0x00e9
[19] 0x0c0.0000000250.0x0042.233
[20] 0x00000c0.000250.0x0000000042.0000000000351
[21] 0x000c0.000250.66.0x0000000e9
[22] 0x000c0.000000250.66.233
[23] 0x00c0.000000250.66.000000000351
[24] 0x000000000c0.000000250.000000000102.0x0e9
[25] 0xc0.00250.00102.233
[26] 0x00000c0.0000000000250.00000102.0000351
[27] 192.0x0000a8.0x00000042.0x00000e9
[28] 192.0x00000000a8.0x000042.233
[29] 192.0x0000a8.0x00000042.0000000351
[30] 192.0x0a8.66.0x00000e9
[31] 192.0x000000000a8.66.233
[32] 192.0x0000000a8.66.0000000351
[33] 192.0x00000a8.000102.0x000000000e9
[34] 192.0x00000000a8.0000000102.233
[35] 192.0x00a8.0102.0000000351
[36] 192.168.0x00000042.0x0e9
[37] 192.168.0x00042.233
[38] 192.168.0x000042.00000351
[39] 192.168.66.0x0000000e9
[40] 192.168.66.233
[41] 192.168.66.0000351
[42] 192.168.000102.0x000e9
[43] 192.168.0000000102.233
[44] 192.168.000000000102.0000000351
[45] 192.0000000250.0x00000000042.0x0000e9
[46] 192.00250.0x00000042.233
[47] 192.0000000250.0x0000042.00000351
[48] 192.00000000250.66.0x00000e9
[49] 192.0000250.66.233
[50] 192.00000000250.66.000000000351
[51] 192.000000000250.000000000102.0x00000000e9
[52] 192.0000000000250.0102.233
[53] 192.0000000250.000000000102.0000000000351
[54] 000000300.0x000a8.0x042.0x0e9
[55] 00300.0x00000a8.0x00000042.233
[56] 0300.0x000000a8.0x00000042.00000351
[57] 000000300.0x00000a8.66.0xe9
[58] 00000300.0x0000a8.66.233
[59] 00000300.0x00000000a8.66.0000000351
[60] 00000000300.0x000a8.0000000102.0x000e9
[61] 00000000300.0x000000000a8.000000102.233
[62] 00300.0x00a8.0000102.000000351
[63] 00000000300.168.0x000000042.0x000e9
[64] 000300.168.0x000042.233
[65] 00000300.168.0x00000042.000351
[66] 0000000300.168.66.0x000000e9
[67] 00000300.168.66.233
[68] 000000300.168.66.0000000351
[69] 00300.168.0000000000102.0x000000e9
[70] 000300.168.0000102.233
[71] 0000000300.168.000000102.00000000351
[72] 000000000300.00000000250.0x000042.0x00000e9
[73] 000300.0000000250.0x0000000042.233
[74] 000300.0000250.0x42.00000000351
[75] 00000000300.0000000000250.66.0x0e9
[76] 00000300.0000000250.66.233
[77] 00300.000000250.66.00000351
[78] 000300.0000000250.0000000102.0x00e9
[79] 000300.0000250.0000000000102.233
[80] 0300.00250.0000000000102.00351
[81] 0x00c0.0x0000a8.0x00000000042e9
[82] 0x000c0.0x000000000a8.17129
[83] 0x000000000c0.0x000a8.00041351
[84] 0x000000000c0.168.0x42e9
[85] 0x00c0.168.17129
[86] 0x00000000c0.168.0041351
[87] 0x00000c0.00250.0x000042e9
[88] 0x000000000c0.000250.17129
[89] 0x000c0.00250.00000041351
[90] 192.0x0000000a8.0x00000000042e9
[91] 192.0x00000000a8.17129
[92] 192.0x0a8.00041351
[93] 192.168.0x042e9
[94] 192.168.17129
[95] 192.168.0000041351
[96] 192.00000000250.0x0000000042e9
[97] 192.0000250.17129
[98] 192.00000000250.000000000041351
[99] 000300.0x00000a8.0x000042e9
[100] 00300.0x0000000a8.17129
[101] 0000300.0x00000a8.00000000041351
[102] 0000000000300.168.0x000042e9
[103] 000000000300.168.17129
[104] 00000000300.168.000000000041351
[105] 0000000300.00250.0x042e9
[106] 00000300.0000250.17129
[107] 000000300.000000000250.0000000041351
[108] 0x00000000c0.0x0000a842e9
[109] 0x0000000c0.11027177
[110] 0x00c0.00000052041351
[111] 192.0x000000a842e9
[112] 192.11027177
[113] 192.000052041351
[114] 0000000300.0x00000a842e9
[115] 0000000000300.11027177
[116] 000300.000000052041351
[117] 0x0c0a842e9
[118] 3232252649
[119] 0030052041351
checking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
totally 120 notations of ip checked ,all are equivalent to 192.168.66.233
[Finished in 2.8s]