mirror of
https://github.com/nmap/nmap.git
synced 2025-12-30 11:29:01 +00:00
Let imap-capabilities.nse run for imaps (port 993) as well.
$ ./nmap -Pn --script imap-capabilities imap.gmail.com -p imaps PORT STATE SERVICE 993/tcp open imaps |_imap-capabilities: all she XYZZY QUOTA X-GM-EXT-1 ID XLIST CHILDREN UNSELECT m1mb423345642pdn wrote SASL-IR IMAP4rev1 Thats NAMESPACE OK AUTH=PLAIN-CLIENTTOKEN AUTH=XOAUTH2 AUTH=PLAIN IDLE AUTH=XOAUTHA0001
This commit is contained in:
@@ -23,7 +23,7 @@ license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
|
||||
categories = {"default", "safe"}
|
||||
|
||||
|
||||
portrule = shortport.port_or_service({143}, "imap")
|
||||
portrule = shortport.port_or_service({143, 993}, {"imap", "imaps"})
|
||||
|
||||
action = function(host, port)
|
||||
local helper = imap.Helper:new(host, port)
|
||||
|
||||
Reference in New Issue
Block a user