mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 11:55:27 +00:00
Add NSEdoc for irc.lua
This commit is contained in:
parent
75a873840c
commit
95bab11f92
1 changed files with 8 additions and 0 deletions
|
|
@ -6,6 +6,14 @@
|
|||
local stdnse = require "stdnse"
|
||||
_ENV = stdnse.module("irc", stdnse.seeall)
|
||||
|
||||
--- Portrule for matching IRC services
|
||||
--
|
||||
-- @usage portrule = irc.portrule
|
||||
--
|
||||
-- @param host
|
||||
-- @param port
|
||||
-- @return Boolean true if the port is likely to be IRC
|
||||
-- @class function
|
||||
portrule = (require "shortport").port_or_service(
|
||||
{
|
||||
-- Shodan.io top 3 IRC ports
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue