mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Add NSEdoc for irc.lua
This commit is contained in:
@@ -6,6 +6,14 @@
|
|||||||
local stdnse = require "stdnse"
|
local stdnse = require "stdnse"
|
||||||
_ENV = stdnse.module("irc", stdnse.seeall)
|
_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(
|
portrule = (require "shortport").port_or_service(
|
||||||
{
|
{
|
||||||
-- Shodan.io top 3 IRC ports
|
-- Shodan.io top 3 IRC ports
|
||||||
|
|||||||
Reference in New Issue
Block a user