Skip to content

Instantly share code, notes, and snippets.

@darkcrawler01
Last active September 9, 2016 18:31
Show Gist options
  • Save darkcrawler01/f03077e707d8891b3744ec3f67cdd972 to your computer and use it in GitHub Desktop.
Save darkcrawler01/f03077e707d8891b3744ec3f67cdd972 to your computer and use it in GitHub Desktop.
AdX ip address converter
# run in python shell
ip = '70.114.164.59'
ip = ip.split('.')
str(bytes(bytearray([int(ip[0]), int(ip[1]), int(ip[2])])))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment