>>> 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
Compilar y añadir nuevo Kernel al GRUB.Compilar y añadir nuevo Kernel al GRUB.
En principio decir que este post me lo pidió un amigo internauta Wiward_X del canal IRC #Rsecurity donde también me podéis encontrar (no siempre pero a menudo), por eso me
KERNEL PANICKERNEL PANIC
¿Bueno que es KERNEL PANIC ? En wikipedia es esto: El kernel panic (en español: núcleo en pánico) es un mensaje mostrado por un sistema operativo una vez detectado un
Mysql consultasMysql consultas
SELECT table_name AS "Tables", round(((data_length + index_length) / 1024 / 1024), 2) "Size in MB" FROM information_schema.TABLES ORDER BY (data_length + index_length) DESC; SELECT TABLE_SCHEMA AS 'Database', TABLE_NAME AS 'Table',