1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-03 12:06:35 +00:00

Check more common IRC ports by default. Send SSL probes to ircs ports. See #941

This commit is contained in:
dmiller
2017-07-27 18:21:12 +00:00
parent 9d90970c61
commit 1c79000aeb
7 changed files with 44 additions and 11 deletions

View File

@@ -3,7 +3,7 @@ local brute = require "brute"
local comm = require "comm"
local creds = require "creds"
local sasl = require "sasl"
local shortport = require "shortport"
local irc = require "irc"
local stdnse = require "stdnse"
local string = require "string"
local table = require "table"
@@ -40,7 +40,7 @@ author = "Piotr Olma"
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
categories={"brute","intrusive"}
portrule = shortport.port_or_service({6666,6667,6697,6679},{"irc","ircs"})
portrule = irc.portrule
local dbg = stdnse.debug