Command: scan#
Summary#
Command | Default Level | Global Only? |
---|---|---|
scan | 1 | no |
Description#
- Scans a client or value against
whitelist
orblacklist
, DNSBLs, and port scanner.
Usage#
- Channel parameter is optional. If not given, the bot will default to the originating channel, the channel the user has the most access in, or lastly, the default Armour channel.
- If a
nick
is given, the host and IP will be derived, performing all scans. - If a
mask
(hostmask) is given, it will be scanned againstwhitelist
andblacklist
entries of typehost
- If an
account
is given, it will be scanned againstwhitelist
andblacklist
entries of typexuser
(network account)
-
Network Accounts
Network accounts are only supported on networks usingircu
such as Undernet or Quakenet.
- If an
asn
(Autonomous System Number is given, it will be scanned againstwhitelist
andblacklist
entries of typeasn
Examples#
Find against entries matching *foo*
:
@Empus | y scan #newchan *!foo@*.isp.com
@yolk | list match: whitelist user: *!foo@*.cablemodem.com (id: 82 chan: #newchan action: accept hits: 0 flags: silent added: 0 days, 17:38:42 ago by: Empus!empus@172.16.164.1 reason: Friend)
@yolk | list match: blacklist host: *!foo@*.isp.com (id: 94 chan: #newchan action: kickban hits: 0 added: 0 days, 00:11:36 ago by: Empus!empus@172.16.164.1 reason: abuse)
@yolk | scan complete (results: 2 -- runtime: 0.007 sec)
Match entries against nick MrBob
:
@Empus | y scan empfoo
@yolk | list match: whitelist user: * (id: 82 chan: #newchan action: accept hits: 0 flags: silent added: 0 days, 17:42:04 ago by: Empus!empus@172.16.164.1 reason: Authenticated user)
@yolk | scan complete (results: 1 -- runtime: 0.0 sec)
Match entries against IP address 217.243.231.202
:
@Empus | y scan #newchan 217.243.231.202
@yolk | dnsbl match: rbl.ircbl.org desc: IRCBL (ip: 217.243.231.202 score: 1 info: 1)
@yolk | scan complete (results: 1 -- runtime: 0.14 sec)
Related Commands#
Command | Description |
---|---|
add | Add a whitelist or blacklist entry to database |
cmds | List commands available to user |
help | View the help for a given command |
chanscan | Scans the entire channel and acts upon matches |
mod | Modifies the settings of a list entry |
rem | Remove a list entry |
search | Search for whitelist & blacklist entries |
view | View an existing list entry |