Portscan/tcp
De www.metasploit-es.com.ar
El modulo escaneador "tcp" realiza un escaneo de puertos "full-open" contra un rango de hosts.
msf > use auxiliary/scanner/portscan/tcp msf auxiliary(tcp) > show options Module options (auxiliary/scanner/portscan/tcp): Name Current Setting Required Description ---- --------------- -------- ----------- CONCURRENCY 10 yes The number of concurrent ports to check per host FILTER no The filter string for capturing traffic INTERFACE no The name of the interface PCAPFILE no The name of the PCAP capture file to process PORTS 1-10000 yes Ports to scan (e.g. 22-25,80,110-900) RHOSTS yes The target address range or CIDR identifier SNAPLEN 65535 yes The number of bytes to capture THREADS 1 yes The number of concurrent threads TIMEOUT 1000 yes The socket connect timeout in milliseconds VERBOSE false no Display verbose output
Para configurar el modulo, definimos RHOSTS, THREADS y un pequeño subconjunto de PORTS, y lanzamos el modulo.
msf auxiliary(tcp) > set RHOSTS 192.168.1.200-211 RHOSTS => 192.168.1.200-211 msf auxiliary(tcp) > set THREADS 11 THREADS => 11 msf auxiliary(tcp) > set PORTS 22,80,137,445 PORTS => 22,80,137,445 msf auxiliary(tcp) > run [*] 192.168.1.201:80 - TCP OPEN [*] 192.168.1.200:80 - TCP OPEN [*] 192.168.1.200:22 - TCP OPEN [*] 192.168.1.201:445 - TCP OPEN [*] 192.168.1.200:445 - TCP OPEN [*] 192.168.1.205:80 - TCP OPEN [*] Scanned 02 of 12 hosts (016% complete) [*] 192.168.1.203:445 - TCP OPEN [*] 192.168.1.205:445 - TCP OPEN [*] 192.168.1.207:445 - TCP OPEN [*] 192.168.1.206:445 - TCP OPEN [*] 192.168.1.208:445 - TCP OPEN [*] Scanned 08 of 12 hosts (066% complete) [*] Scanned 09 of 12 hosts (075% complete) [*] Scanned 10 of 12 hosts (083% complete) [*] Scanned 11 of 12 hosts (091% complete) [*] Scanned 12 of 12 hosts (100% complete) [*] Auxiliary module execution completed msf auxiliary(tcp) >
© Offensive Security 2009
Original de www.offensive-security.com Traducido por cbk999