Http/cert
De www.metasploit-es.com.ar
El modulo "cert" es un util escaneador administrativo que te permite cubrir una subred para comprobar si existen o no certificados de servidor expirados.
msf > use auxiliary/scanner/http/cert msf auxiliary(cert) > show options Module options: Name Current Setting Required Description ---- --------------- -------- ----------- ISSUER .* yes Show a warning if the Issuer doesn't match this regex RHOSTS yes The target address range or CIDR identifier RPORT 443 yes The target port SHOWALL false no Show all certificates (issuer,time) regardless of match THREADS 1 yes The number of concurrent threads
Para ejecutar un modulo, simplemente definimos los valores RHOSTS y THREADS y los dejamos hacer lo suyo.
msf auxiliary(cert) > set RHOSTS 192.168.1.0/24 RHOSTS => 192.168.1.0/24 msf auxiliary(cert) > set THREADS 254 THREADS => 254 msf auxiliary(cert) > run [*] 192.168.1.11 - '192.168.1.11' : 'Sat Sep 25 07:16:02 UTC 2010' - 'Tue Sep 22 07:16:02 UTC 2020' [*] 192.168.1.10 - '192.168.1.10' : 'Wed Mar 10 00:13:26 UTC 2010' - 'Sat Mar 07 00:13:26 UTC 2020' [*] 192.168.1.201 - 'localhost' : 'Tue Nov 10 23:48:47 UTC 2009' - 'Fri Nov 08 23:48:47 UTC 2019' [*] Scanned 255 of 256 hosts (099% complete) [*] Scanned 256 of 256 hosts (100% complete) [*] Auxiliary module execution completed msf auxiliary(cert) >
La salida del modulo muestra el emisor del certificado, la fecha de emision, y la fecha en que expira.
© Offensive Security 2009
Original de www.offensive-security.com Traducido por cbk999