VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /usr/share/nmap/nselib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/nmap/nselib/irc.lua
---
-- IRC functions.
--
-- @copyright Same as Nmap--See https://nmap.org/book/man-legal.html

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
    6667,
    6666,
    6664,
    -- other ports in the "ircu" assignment block
    6665,
    6668,
    6669,
    -- common SSL irc ports
    6679,
    6697,
    7000,
    -- other common ports
    8067,
  },
  { "irc", "ircs", "ircs-u", "ircd", "irc-serv" } -- this covers ports 194, 529, and 994
  )

return _ENV

VaKeR 2022