Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Nessus-Users
[Top] [All Lists]

Re: Can't get Nessus to scan single port only

Subject: Re: Can't get Nessus to scan single port only
Date: Fri, 19 May 2006 11:37:01 -0400
I want to scan for port 443 and get the certificate info

Sometimes nessus is not the appropriate tool. Simple tools work better for simple tasks.


I'd use nmap to scan for the open port and then lwp-request (or something similar) to probe the system and retrieve the SSL headers.

[11:34am dominic] nmap -p443 -oM - <SomeIPRange> | grep open
Host: 129.97.108.150 (ist.uwaterloo.ca) Ports: 443/open/tcp//https///

Get the list of IPs and then for each do

[11:35am dominic] lwp-request -e https://<SomeIPNumber> | grep '^Client-SSL'
Client-SSL-Cert-Issuer: /C=ZA/ST=Western Cape/L=Cape Town/O=Thawte Consulting cc/OU=Certification Services Division/CN=Thawte Premium Server CA/emailAddress=premium-server@thawte.com
Client-SSL-Cert-Subject: /C=CA/ST=Ontario/L=Waterloo Region/O=The University of Waterloo/CN=ist.uwaterloo.ca
Client-SSL-Cipher: AES256-SHA
Client-SSL-Warning: Peer certificate not verified


_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus

<Prev in Thread] Current Thread [Next in Thread>