Leask·13 anni fa·discussUsing this python script to make the int-ip-address:#!/usr/bin/env pythonimport socketimport structdef ip2long(ip): packedIP = socket.inet_aton(ip) return struct.unpack("!L", packedIP)[0] print ip2long('192.241.224.102') # your website ip address# or download it on github: https://gist.github.com/Leask/7075483
#!/usr/bin/env python
import socket
import struct
def ip2long(ip):
print ip2long('192.241.224.102') # your website ip address
# or download it on github: https://gist.github.com/Leask/7075483