
Listado de subdominios sobre un dominio principal
Listando subdominios de un dominio principal utilizando la técnica llamada Hacking con motores de búsqueda.
Puedes descargar la última versión de N4xD0rk clonando el repositorio de GitHub:
git clone https://github.com/n4xh4ck5/N4xD0rk.git
Instala las dependencias mediante pip:
pip install -r requirements.txt
Para instalar correctamente phantomJS sigue los siguientes pasos:
Linux (Debian, Ubuntu, Kali) apt-get update && apt-get install phantomjs Linux (otras distribuciones) Obtén la última versión del programa phantomjs. La versión actual era 2.1.1 al momento de escribir este tutorial. http://phantomjs.org/download.html https://bitbucket.org/ariya/phantomjs/downloads Descárgalo en tu sistema (elige 32 o 64 bits) y descomprímelo donde quieras, por ejemplo /opt $ cd /opt $ wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 $ tar xvf phantomjs-2.1.1-linux-x86_64.tar.bz2 Crea un enlace simbólico al binario de phantomjs en tu directorio /usr/local/bin $ ln -s /opt/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs Ejecuta el binario con la opción -v para comprobar que todo funciona $ phantomjs -v 2.1.1
usage: n4xd0rk.py [-h] -t TARGET -n NUMBER [-e EXPORT] [-l LANGUAGE]
[-c CAPTURE]
This script searchs the subdomains about a domain using the results indexed of Google and Bing search.
optional arguments:
-h, --help show this help message and exit
-t TARGET, --target TARGET
The domain or IP which wants to search.
-n NUMBER, --number NUMBER
Indicate the number of the search which you want to do.
-e EXPORT, --export EXPORT
Export the results to a json file (Y/N)
Format available:
1.json
2.xlsx
-l LANGUAGE, --language LANGUAGE
Indicate the language of the search
(es)-Spanish(default)
-c CAPTURE, --capture CAPTURE
Indicate if you want to take a screenshot of each web (y/n)
python n4xd0rk.py -t apple.com -n 1
_ _ _ _ _____ ___ _
| \ | | || | | __ \ / _ \ | |
| \| | || |___ _| | | | | | |_ __| | __
| . ` |__ _\ \/ / | | | | | | '__| |/ /
| |\ | | | > <| |__| | |_| | | | <
|_| \_| |_| /_/\_\_____/ \___/|_| |_|\_\
** Tool to search the subdomains about a domain using the results indexed of Google and Bing search
** Author: Ignacio Brihuega Rodriguez a.k.a N4xh4ck5
** DISCLAMER This tool was developed for educational goals.
** The author is not responsible for using to others goals.
** A high power, carries a high responsibility!
** Version 2.1
This script obtains the IP associated a domain
Example of usage: python n4xd0rk.py -t apple.com -n 5
Looking domains and subdomains of target apple.com
Domains and subdomains of apple.com are:
- www.apple.com [23.XXX.XX.83]
- communities.apple.com [23.XXX.XXX.242]
- selfsolve.apple.com [88.XXX.XXX.168]
- checkcoverage.apple.com [88.XXX.XXX.168]
- support.apple.com [104.XXX.XXX.98]
- itunes.apple.com [23.XXX.XXX.95]
- araes.apple.com [17.XXX.XXX.53]
Ignacio Brihuega Rodríguez aka n4xh4ck5
Twitter: @n4xh4ck5
Web: fwhibbit.es
El uso de esta herramienta es de tu responsabilidad. Por la presente me eximo de cualquier responsabilidad por acciones realizadas con esta herramienta.