informatica:linux:nmap
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| informatica:linux:nmap [2009/11/05 07:47] – editor externo 127.0.0.1 | informatica:linux:nmap [2026/03/01 14:24] (current) – jose | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | 1. Descargar desde http://insecure.org/nmap/download.html | + | Escaneo de IPs con descripción de MAC: |
| + | < | ||
| + | nmap -sn 192.168.1.0/24 | awk ' | ||
| + | /Nmap scan report/ { | ||
| + | ip=$NF | ||
| + | gsub(/ | ||
| + | } | ||
| + | /MAC Address/ { | ||
| + | match($0, /\((.*)\)/, m) | ||
| + | if (ip != "" | ||
| + | }' | ||
| + | </ | ||
| + | En una línea | ||
| + | | ||
| - | En este caso descargo la versión 4.11 | + | * Listar puertos abiertos: |
| - | 2. tar xvfj nmap-4.11.tar.bz2 | + | |
| - | 3. cp -R nmap-4.11 /usr/local | + | * Mirar puerto abierto UDP: |
| + | # nmap -p < | ||
| - | 4. cd /usr/local/nmap-4.11 | + | Ejemplo: |
| + | # | ||
| - | 5. | + | Starting Nmap 5.00 ( http:// |
| + | Interesting ports on 10.139.56.4: | ||
| + | PORT | ||
| + | 5060/udp open|filtered sip | ||
| + | |||
| + | |||
| + | * Manual para ver conexiones rechazadas: | ||
| + | |||
| + | http:// | ||
| + | |||
| + | * Host discovery: | ||
| + | |||
| + | nmap -sn 192.168.1.0/ | ||
| + | |||
| + | < | ||
| + | Starting Nmap 6.00 ( http:// | ||
| + | Nmap scan report for 192.168.1.1 | ||
| + | Host is up (0.028s latency). | ||
| + | Nmap scan report for 192.168.1.199 | ||
| + | Host is up (0.00031s latency). | ||
| + | Nmap done: 256 IP addresses (2 hosts up) scanned in 4.48 seconds | ||
| + | </ | ||
informatica/linux/nmap.1257407274.txt.gz · Last modified: (external edit)
