mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +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:
parent
ea495ddecd
commit
2e43cb2326
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue