{"id":2627,"date":"2021-11-24T15:29:40","date_gmt":"2021-11-24T15:29:40","guid":{"rendered":"https:\/\/hardsoftsecurity.es\/?p=2627"},"modified":"2021-11-24T15:30:34","modified_gmt":"2021-11-24T15:30:34","slug":"script-dnsinfo","status":"publish","type":"post","link":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/","title":{"rendered":"Script DNSInfo"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Buenas tardes a tod@s, hoy os traigo un post algo diferente a lo habitual en el blog y es que esta vez os traigo un script en Python para extraer informaci\u00f3n p\u00fablica relacionada con el nombre de dominio, que he titulado DNSInfo.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"800\" height=\"200\" data-attachment-id=\"2628\" data-permalink=\"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/information-technology-wallpaper-hd\/\" data-orig-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?fit=2000%2C500&amp;ssl=1\" data-orig-size=\"2000,500\" data-comments-opened=\"1\" data-image-meta=\"{&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"Information-Technology-Wallpaper-HD\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?fit=800%2C200&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?resize=800%2C200&#038;ssl=1\" alt=\"\" class=\"wp-image-2628\"\/><\/figure><\/div>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">\u00bfPor qu\u00e9?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Este Script, surge de la necesidad de no tener que estar visitando herramientas externas\/online o instalado herramientas de terceros, los cuales tendr\u00eda que interpretar de manera exclusiva su informaci\u00f3n. Dada esta necesidad he cre\u00eddo conveniente crear mi propio Script el cual me muestre la informaci\u00f3n de una manera que me resulte amigable y acorde a c\u00f3mo busco la informaci\u00f3n referente de un dominio.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dicho esto, el Script ser\u00e1 actualizado seg\u00fan las necesidades que tenga que integrar, que ya tengo un par de ideas pero de momento tiene las siguientes funcionalidad:<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">&#8211; NSLOOKUP:<\/h5>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"800\" height=\"61\" data-attachment-id=\"2629\" data-permalink=\"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/screenshot-at-nov-24-16-16-38\/\" data-orig-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-16-38.png?fit=1258%2C96&amp;ssl=1\" data-orig-size=\"1258,96\" data-comments-opened=\"1\" data-image-title=\"Screenshot-at-Nov-24-16-16-38\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-16-38.png?fit=800%2C61&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-16-38.png?resize=800%2C61&#038;ssl=1\" alt=\"\" class=\"wp-image-2629\"\/><\/figure><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">&#8211; WHOIS: <\/h5>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"800\" height=\"381\" data-attachment-id=\"2631\" data-permalink=\"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/screenshot-at-nov-24-16-17-11\/\" data-orig-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-17-11.png?fit=1290%2C614&amp;ssl=1\" data-orig-size=\"1290,614\" data-comments-opened=\"1\" data-image-title=\"Screenshot-at-Nov-24-16-17-11\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-17-11.png?fit=800%2C381&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-17-11.png?resize=800%2C381&#038;ssl=1\" alt=\"\" class=\"wp-image-2631\"\/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">En esta ocasi\u00f3n el dominio con el cual estoy haciendo la prueba no refleja los datos WhoIS.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">&#8211; REVERSE IP LOOKUP:<\/h5>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"384\" data-attachment-id=\"2632\" data-permalink=\"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/screenshot-at-nov-24-16-17-25\/\" data-orig-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-17-25.png?fit=1258%2C604&amp;ssl=1\" data-orig-size=\"1258,604\" data-comments-opened=\"1\" data-image-title=\"Screenshot-at-Nov-24-16-17-25\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-17-25.png?fit=800%2C384&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-17-25.png?resize=800%2C384&#038;ssl=1\" alt=\"\" class=\"wp-image-2632\"\/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">B\u00daSQUEDA DE SUBDOMINIOS MEDIANTE GOOGLE:<\/h5>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"750\" data-attachment-id=\"2633\" data-permalink=\"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/screenshot-at-nov-24-16-17-39\/\" data-orig-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-17-39.png?fit=1260%2C1182&amp;ssl=1\" data-orig-size=\"1260,1182\" data-comments-opened=\"1\" data-image-title=\"Screenshot-at-Nov-24-16-17-39\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-17-39.png?fit=800%2C750&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-17-39.png?resize=800%2C750&#038;ssl=1\" alt=\"\" class=\"wp-image-2633\"\/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Toda esta informaci\u00f3n la dar\u00e1 en una sola ejecuci\u00f3n y quedar\u00e1 a nuestra disposici\u00f3n para su interpretaci\u00f3n.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Futuras caracter\u00edsticas<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Finalmente, en futuras versiones del script, quedar\u00e1 pendientes implementar las siguientes caracter\u00edsticas:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Consulta de la IP relacionada con el nombre de dominio en SHODAN.<\/li><li>Comprobaci\u00f3n de subdominios mediante m\u00e1s motores de b\u00fasqueda.<\/li><li>Comprobaci\u00f3n de subdominios mediante fuerza bruta.<\/li><li>Comprobaci\u00f3n de las tecnolog\u00edas de los sitios web encontrados.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Seg\u00fan vaya implementando estas caracter\u00edsticas, ir\u00e9 publicando la informaci\u00f3n.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Script<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ahora s\u00ed, el script pod\u00e9is encontrarlo en el siguiente repositorio: <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/hardsoftsecurity\/DNSInfo\" target=\"_blank\">DNSInfo<\/a>. La ejecuci\u00f3n del script es de la siguiente manera:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>python3 main.py -d dominioEjemplo.es<\/p><\/blockquote>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"506\" height=\"44\" data-attachment-id=\"2634\" data-permalink=\"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/screenshot-at-nov-24-16-27-33\/\" data-orig-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-27-33.png?fit=506%2C44&amp;ssl=1\" data-orig-size=\"506,44\" data-comments-opened=\"1\" data-image-title=\"Screenshot-at-Nov-24-16-27-33\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-27-33.png?fit=506%2C44&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Screenshot-at-Nov-24-16-27-33.png?resize=506%2C44&#038;ssl=1\" alt=\"\" class=\"wp-image-2634\"\/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Todav\u00eda est\u00e1 el repositorio sin mucha informaci\u00f3n pero ir\u00e9 actualizando. Espero que esta herramienta os ayude y si se os ocurre nuevas funcionalidades para a\u00f1adir, no dudar en comentarlo.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Un saludo, David.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Buenas tardes a tod@s, hoy os traigo un post algo diferente a lo habitual en el blog y es que esta vez os traigo un script en Python para extraer &#8230;<\/p>\n","protected":false},"author":1,"featured_media":2628,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[5,7],"tags":[44,293,295,294],"class_list":["post-2627","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-informacion","category-seguridad-informatica","tag-python","tag-reverse-ip-lookup","tag-script-python","tag-subdomain-search"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Script DNSInfo - Hardsoft Security<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Script DNSInfo - Hardsoft Security\" \/>\n<meta property=\"og:description\" content=\"Buenas tardes a tod@s, hoy os traigo un post algo diferente a lo habitual en el blog y es que esta vez os traigo un script en Python para extraer ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/\" \/>\n<meta property=\"og:site_name\" content=\"Hardsoft Security\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/HardSoftDavid\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-24T15:29:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-24T15:30:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?fit=2000%2C500&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"2000\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"david\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DavidDeMaya\" \/>\n<meta name=\"twitter:site\" content=\"@DavidDeMaya\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"david\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2021\\\/11\\\/24\\\/script-dnsinfo\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2021\\\/11\\\/24\\\/script-dnsinfo\\\/\"},\"author\":{\"name\":\"david\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#\\\/schema\\\/person\\\/dfe289b1e4ae2daf72695e85a8b3dd7a\"},\"headline\":\"Script DNSInfo\",\"datePublished\":\"2021-11-24T15:29:40+00:00\",\"dateModified\":\"2021-11-24T15:30:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2021\\\/11\\\/24\\\/script-dnsinfo\\\/\"},\"wordCount\":333,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2021\\\/11\\\/24\\\/script-dnsinfo\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/hardsoftsecurity.es\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/Information-Technology-Wallpaper-HD.jpg?fit=2000%2C500&ssl=1\",\"keywords\":[\"python\",\"reverse ip lookup\",\"script python\",\"subdomain search\"],\"articleSection\":[\"Informaci\u00f3n\",\"Seguridad inform\u00e1tica\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2021\\\/11\\\/24\\\/script-dnsinfo\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2021\\\/11\\\/24\\\/script-dnsinfo\\\/\",\"url\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2021\\\/11\\\/24\\\/script-dnsinfo\\\/\",\"name\":\"Script DNSInfo - Hardsoft Security\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2021\\\/11\\\/24\\\/script-dnsinfo\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2021\\\/11\\\/24\\\/script-dnsinfo\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/hardsoftsecurity.es\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/Information-Technology-Wallpaper-HD.jpg?fit=2000%2C500&ssl=1\",\"datePublished\":\"2021-11-24T15:29:40+00:00\",\"dateModified\":\"2021-11-24T15:30:34+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#\\\/schema\\\/person\\\/dfe289b1e4ae2daf72695e85a8b3dd7a\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2021\\\/11\\\/24\\\/script-dnsinfo\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2021\\\/11\\\/24\\\/script-dnsinfo\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2021\\\/11\\\/24\\\/script-dnsinfo\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/hardsoftsecurity.es\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/Information-Technology-Wallpaper-HD.jpg?fit=2000%2C500&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/hardsoftsecurity.es\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/Information-Technology-Wallpaper-HD.jpg?fit=2000%2C500&ssl=1\",\"width\":2000,\"height\":500},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2021\\\/11\\\/24\\\/script-dnsinfo\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/hardsoftsecurity.es\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Script DNSInfo\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#website\",\"url\":\"https:\\\/\\\/hardsoftsecurity.es\\\/\",\"name\":\"Hardsoft Security\",\"description\":\"Chasing (In)Security\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hardsoftsecurity.es\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#\\\/schema\\\/person\\\/dfe289b1e4ae2daf72695e85a8b3dd7a\",\"name\":\"david\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g\",\"caption\":\"david\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Script DNSInfo - Hardsoft Security","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/","og_locale":"es_ES","og_type":"article","og_title":"Script DNSInfo - Hardsoft Security","og_description":"Buenas tardes a tod@s, hoy os traigo un post algo diferente a lo habitual en el blog y es que esta vez os traigo un script en Python para extraer ...","og_url":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/","og_site_name":"Hardsoft Security","article_publisher":"https:\/\/www.facebook.com\/HardSoftDavid","article_published_time":"2021-11-24T15:29:40+00:00","article_modified_time":"2021-11-24T15:30:34+00:00","og_image":[{"width":2000,"height":500,"url":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?fit=2000%2C500&ssl=1","type":"image\/jpeg"}],"author":"david","twitter_card":"summary_large_image","twitter_creator":"@DavidDeMaya","twitter_site":"@DavidDeMaya","twitter_misc":{"Escrito por":"david","Tiempo de lectura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/#article","isPartOf":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/"},"author":{"name":"david","@id":"https:\/\/hardsoftsecurity.es\/#\/schema\/person\/dfe289b1e4ae2daf72695e85a8b3dd7a"},"headline":"Script DNSInfo","datePublished":"2021-11-24T15:29:40+00:00","dateModified":"2021-11-24T15:30:34+00:00","mainEntityOfPage":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/"},"wordCount":333,"commentCount":0,"image":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?fit=2000%2C500&ssl=1","keywords":["python","reverse ip lookup","script python","subdomain search"],"articleSection":["Informaci\u00f3n","Seguridad inform\u00e1tica"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/","url":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/","name":"Script DNSInfo - Hardsoft Security","isPartOf":{"@id":"https:\/\/hardsoftsecurity.es\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/#primaryimage"},"image":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?fit=2000%2C500&ssl=1","datePublished":"2021-11-24T15:29:40+00:00","dateModified":"2021-11-24T15:30:34+00:00","author":{"@id":"https:\/\/hardsoftsecurity.es\/#\/schema\/person\/dfe289b1e4ae2daf72695e85a8b3dd7a"},"breadcrumb":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/#primaryimage","url":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?fit=2000%2C500&ssl=1","contentUrl":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?fit=2000%2C500&ssl=1","width":2000,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/hardsoftsecurity.es\/"},{"@type":"ListItem","position":2,"name":"Script DNSInfo"}]},{"@type":"WebSite","@id":"https:\/\/hardsoftsecurity.es\/#website","url":"https:\/\/hardsoftsecurity.es\/","name":"Hardsoft Security","description":"Chasing (In)Security","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hardsoftsecurity.es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Person","@id":"https:\/\/hardsoftsecurity.es\/#\/schema\/person\/dfe289b1e4ae2daf72695e85a8b3dd7a","name":"david","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/secure.gravatar.com\/avatar\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g","caption":"david"}}]}},"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7xGFx-Gn","jetpack-related-posts":[{"id":746,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/02\/09\/generador-de-contrasenas-seguras-con-python\/","url_meta":{"origin":2627,"position":0},"title":"Generador De Contrase\u00f1as Seguras Con Python","author":"david","date":"febrero 9, 2016","format":false,"excerpt":"Esta vez os traigo un generador de contrase\u00f1as seguras de 10 d\u00edgitos, es un script basado en python. Aqu\u00ed muestro el funcionamiento del script, al final del post dejare el c\u00f3digo para el que lo quiera modificar. 1.- Paso: Le damos permisos al archivo que contenga nuestro c\u00f3digo. 2.- Paso:\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"python-logo-master-v3-TM","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/02\/python-logo-master-v3-tm.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/02\/python-logo-master-v3-tm.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/02\/python-logo-master-v3-tm.png?resize=525%2C300 1.5x"},"classes":[]},{"id":784,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/03\/06\/manera-simple-de-auditar-un-wordpress-wpscan-y-admin-pl\/","url_meta":{"origin":2627,"position":1},"title":"Manera simple de auditar un WordPress. Wpscan y Admin.pl","author":"david","date":"marzo 6, 2016","format":false,"excerpt":"Hola a todos, hoy traigo conmigo un tutorial simple, \u00a0como auditar un CMS como WordPress. Aqu\u00ed os dejo el link del v\u00eddeo para el que no quiera leer:\u00a0Auditoria WordPress. Manera simple de auditar un WordPress. Wpscan y Admin.pl: A continuaci\u00f3n muestro los pasos llevados a cabo para realizar esta auditoria\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2015\/02\/wordpress-logo-stacked-rgb.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1064,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/10\/16\/que-es-nmap\/","url_meta":{"origin":2627,"position":2},"title":"\u00bfQu\u00e9 es NMAP?","author":"david","date":"octubre 16, 2016","format":false,"excerpt":"Hoy os traigo una introducci\u00f3n a la gran herramienta que es utilizada por cualquier experto en seguridad inform\u00e1tica llamada NMAP. INTRODUCCI\u00d3N: Es una herramienta de c\u00f3digo abierto creada por Gordon Lyon en 1997, la cual \u00e9l escribi\u00f3. Actualmente el soporte de esta herramienta la lleva la comunidad creada alrededor de\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2014\/12\/nmap-project-logo.png?fit=1200%2C640&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2014\/12\/nmap-project-logo.png?fit=1200%2C640&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2014\/12\/nmap-project-logo.png?fit=1200%2C640&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2014\/12\/nmap-project-logo.png?fit=1200%2C640&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2014\/12\/nmap-project-logo.png?fit=1200%2C640&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1507,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2018\/05\/22\/fuerza-bruta-a-ftp-con-nmap-y-proxychains\/","url_meta":{"origin":2627,"position":3},"title":"Fuerza bruta a FTP con NMAP y ProxyChains.","author":"david","date":"mayo 22, 2018","format":false,"excerpt":"Hola buenos d\u00edas a todos, hoy os traigo una gu\u00eda bastante interesante, la cual utilizo las herramientas NMAP y ProxyChains... Para los m\u00e1s experimentados, ya sabr\u00e1n para que sirven las dos herramientas anteriormente mencionadas, pero para los m\u00e1s novatos, vamos a realizar una peque\u00f1a aclaraci\u00f3n\/definici\u00f3n de que son estas herramientas,\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2018\/05\/pentesting_logo.png?fit=634%2C309&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2018\/05\/pentesting_logo.png?fit=634%2C309&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2018\/05\/pentesting_logo.png?fit=634%2C309&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":2680,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2022\/03\/11\/privilege-escalation-linux-capability\/","url_meta":{"origin":2627,"position":4},"title":"Privilege Escalation &#8211; Linux Capability","author":"david","date":"marzo 11, 2022","format":false,"excerpt":"Hola a tod@s, hoy os traigo un nuevo caso pr\u00e1ctico el cual se requiere la demostraci\u00f3n de un escalado de privilegios en Linux, en mi caso he decidido seleccionar una t\u00e9cnica sugerida, la t\u00e9cnica a utilizar es la que aprovecha los \u201cLinux Capability\u201d. \u00bfQu\u00e9 es Linux Capability? \u201cLinux Capability\u201d forma\u2026","rel":"","context":"En \u00abSeguridad inform\u00e1tica\u00bb","block_context":{"text":"Seguridad inform\u00e1tica","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/seguridad-informatica\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2022\/03\/linux_encryption.png?fit=680%2C400&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2022\/03\/linux_encryption.png?fit=680%2C400&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2022\/03\/linux_encryption.png?fit=680%2C400&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3894,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/","url_meta":{"origin":2627,"position":5},"title":"Python Cache Poisoning &#8211; PrivEsc &#8211; Linux","author":"david","date":"enero 19, 2026","format":false,"excerpt":"Introduction Python cache poisoning is a lesser-known but powerful technique that can lead to local privilege escalation (priv\u2011esc) in misconfigured environments. It abuses how Python compiles and caches bytecode (.pyc files) to speed up execution. When an attacker can influence which bytecode is loaded\u2014or where it is loaded from\u2014they may\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?fit=1200%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?fit=1200%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?fit=1200%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?fit=1200%2C800&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?fit=1200%2C800&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?fit=2000%2C500&ssl=1","_links":{"self":[{"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/posts\/2627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/comments?post=2627"}],"version-history":[{"count":2,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/posts\/2627\/revisions"}],"predecessor-version":[{"id":2636,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/posts\/2627\/revisions\/2636"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/media\/2628"}],"wp:attachment":[{"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/media?parent=2627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/categories?post=2627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/tags?post=2627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}