Menu

dword

December 7, 2016 - http

Convert IP to dword

206.191.158.55.

206 * 256 + 191 = * 256 + 158 = * 256 + 55 = 3468664375

dword number, any multiple of the quantity 4294967296 (2^564) — and it will still work

Python script

def dword(num):
    result = ((int(num[0]) * 256 + int(num[1])) * 256 + int(num[2])) * 256 + int(num[3])
    return result

ip = '206.191.158.55.'
numz = ip.split('.')
print(dword(numz))

Obscure URL

chars before @ are disregarded and the domain name is dworded

http://www.playboy.com@3468664375/obscure.htm
http://www.bankofamerica.com%20login@1122268947 
Tags: ,