config root man

Current Path : /usr/local/share/nmap/scripts/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/share/nmap/scripts/strangeSMTPport.nse

--- Checks if SMTP is running on a non-standard port. This usually indicates
-- crackers or script kiddies have set up a backdoor on the system
-- to send spam or control your machine.
--@output
-- 22/tcp  open   ssh\n
-- |_ Warning: smtp is running on a strange port.\n

id = "Unexpected SMTP"

description = "\
If smtp is running on a strange port\
there be a backdoor set up by crackers to send spam\
or even control your machine."

author = "Diman Todorov <diman.todorov@gmail.com>"

license = "Same as Nmap--See http://nmap.org/book/man-legal.html"

categories = {"malware"}

portrule = function(host, port) 
	if 
		(	port.number ~= 25
			and
			port.number ~= 465
			and
			port.number ~= 587
			and 
			port.service == "smtp" )
		and port.protocol == "tcp" 
		and port.state == "open"
	then
		return true
	else
		return false
	end
end

action = function()
	return "Warning: smtp is running on a strange port"
end


Man Man