/
githubmirror
/
nmap
Обзор
Документация
Войти
/
githubmirror
/
nmap
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
scripts/smtp-strangeport.nse
28 строк
716 B
dmiller
Update http urls for nmap.org to https
05 ноя 2015, 23:41
05 ноя 2015, 23:41
f4619ed
Код
Авторство
О чём код?
description = [[ Checks if SMTP is running on a non-standard port. This may indicate that crackers or script kiddies have set up a backdoor on the system to send spam or control the machine. ]] --- -- @output -- 22/tcp open smtp -- |_ smtp-strangeport: Mail server on unusual port: possible malware author = "Diman Todorov" license = "Same as Nmap--See https://nmap.org/book/man-legal.html" categories = {"malware", "safe"} portrule = function(host, port) return port.service == "smtp" and port.number ~= 25 and port.number ~= 465 and port.number ~= 587 and port.protocol == "tcp" and port.state == "open" end action = function() return "Mail server on unusual port: possible malware" end