>>> def getIP(d):
... try:
... data = socket.gethostbyname(d)
... ip = repr(data)
... return ip
... except Exception:
... return False
...
>>> getIP('atotclic.es')
"'151.106.100.50'"
Resolve IP with Python
Categorías:
Related Post
Grub como cambiar tiempo inicio sesión.Grub como cambiar tiempo inicio sesión.
Como cambiar el tiempo de inicio de sesión por un usuario y amigo, Maikel va por ti y por quien quiera modificar-lo. Hay dos formas una por consola y la otra por aplicación. Si nos
Starting up Metasploit Framework in Kali Linux 2.0Starting up Metasploit Framework in Kali Linux 2.0
Due to the above-mentioned changes in the metasploit-framework package, there are some minor changes in how Metasploit is started in Kali – specifically, there is no longer a metasploit service.