Nmap Development mailing list archives

Re: [NSE Script] SMTP Servername


From: Diman Todorov <diman.todorov () chello at>
Date: Tue, 5 Sep 2006 17:26:14 +0200


This is a really simple script that obtains the smtp servername  
from the HELO response.

Actually, the Open Relay script I'm about to finish uses that code.  
So, while testing if the script
worked, I just took the servername grabbing code, and put it into a  
new script.

Not necessarily useful, but it uses the gsub lua function to obtain  
the servername using patterns.


I believe there are several scripts of this kind provided with the
NSE release candidate. For day to day tasks I would rather use nmap
version detection to determine the smtp server name...

cheers
Diman

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: