diff options
| author | 2007-06-06 21:30:25 +0000 | |
|---|---|---|
| committer | 2007-06-06 21:30:25 +0000 | |
| commit | 04c4d4ae0d6fdfe9e59a50e79b40047a08feefb7 (patch) | |
| tree | 3db7aa17c73151e038f08e3cd0c1b2faffc0c482 /config-default | |
| parent | 110cb874fc58ae4a214889bb8d6545201a57dd2f (diff) | |
Added files
Diffstat (limited to 'config-default')
| -rw-r--r-- | config-default/channels.xml | 148 | ||||
| -rw-r--r-- | config-default/commands.xml | 67 | ||||
| -rw-r--r-- | config-default/settings.xml | 36 | ||||
| -rw-r--r-- | config-default/users.xml | 9 |
4 files changed, 260 insertions, 0 deletions
diff --git a/config-default/channels.xml b/config-default/channels.xml new file mode 100644 index 0000000..e738bfa --- /dev/null +++ b/config-default/channels.xml @@ -0,0 +1,148 @@ +<channels> + <channel id="#wikimedia-commons" op="no"> + <hilights> + <debug>White_cat</debug> + </hilights> + <msgs> + <debug>#wikimedia-ops</debug> + </msgs> + </channel> + <channel id="##windows" op="no"> + <hilights> + <low>numist</low> + <low>quux</low> + <low>HentaiXP</low> + <low>TechSalvager</low> + <low>xyr</low> + <low>njan</low> + <low>JonathanD</low> + <low>Cpudan80</low> + </hilights> + </channel> + <channel id="##asb-meta" op="no" /> + <channel id="##asb-nexus" op="when" /> + <channel id="##asb-testing" op="when"> + <hilights> + <low>a</low> + <low>b</low> + <low>c</low> + <low>d</low> + </hilights> + <msgs> + <debug>##asb-testing</debug> + </msgs> + </channel> + <channel id="##linux" op="no"> + <hilights> + <low>WildPikachu</low> + <low>nalioth</low> + <low>xyr</low> + <low>quux</low> + <low>denny</low> + <low>Fieldy</low> + <low>numist</low> + <medium>PhilKC</medium> + </hilights> + <msgs> + <debug>##linux-ops</debug> + <low>WildPikachu</low> + </msgs> + <event id="no_ahbl" action="none" class="re" reason="placeholder" risk="debug" time="0" type="join" override="ahbl,no_ahbl">.*</event> + </channel> + <channel id="##linux-ops" op="no"> + <hilights> + <opalert>WildPikachu</opalert> + <opalert>xyr</opalert> + <opalert>quux</opalert> + <opalert>denny</opalert> + <opalert>Fieldy</opalert> + <opalert>numist</opalert> + <opalert>PhilKC</opalert> + </hilights> + <msgs> + <opalert>##linux-ops</opalert> + </msgs> + </channel> + <channel id="#baadf00d" op="yes"> + <hilights></hilights> + <msgs></msgs> + </channel> + <channel id="#wikipedia-en-roads-us" op="yes"> + <hilights> + <debug>vishwin60</debug> + </hilights> + <msgs> + <debug>#wikimedia-ops</debug> + </msgs> + </channel> + <channel id="#religion" op="yes"> + <hilights> + <debug>Shadow_mil</debug> + <debug>newmanbe</debug> + </hilights> + </channel> + <channel id="#wikimedia-ops" op="no"> + <hilights></hilights> + <msgs></msgs> + </channel> + <channel id="#wikipedia" op="when"> + <hilights> + <low>AppleBoy</low> + <low>xyr</low> + <low>Fabexplosive</low> + <low>Crazytales2</low> + </hilights> + <msgs> + <debug>#wikimedia-ops</debug> + </msgs> + <event id="autorem_2" action="fmod_wiki" class="re" reason="on chanserv autoremove" risk="info" time="0" type="raw" override="autoremove">^mode \S+ \+b (.*)$</event> + <event id="part_fags" action="ban" class="re" reason="parted with 'Fags!'" risk="low" time="0" type="part">.*Fags! Fags! Fags!.*</event> + </channel> + <channel id="#wikipedia-en" op="no"> + <hilights> + <low>AppleBoy</low> + <low>Soms</low> + <low>xyr</low> + <debug>White_Cat</debug> + </hilights> + <msgs> + <debug>#wikimedia-ops</debug> + </msgs> + </channel> + <channel id="default" op="yes"> + <event id="flood-15to45" action="none" class="floodqueue" reason="flooding 15 to 45" risk="low" time="0" type="public">15:45</event> + </channel> + <channel id="master"> + <event id="ahbl" action="ban" class="dnsbl" reason="in ircbl.ahbl.org" risk="info" time="0" type="join">ircbl.ahbl.org</event> + <event id="autoremove" action="none" class="re" reason="on chanserv autoremove" risk="info" time="0" type="part">requested by ChanServ</event> + <event id="badurl1" action="ban" class="re" reason="sending spam url" risk="medium" time="0" type="public">tinyurl\.com/ypvk4n</event> + <event id="ctcp-dcc" action="ban" class="re" reason="ctcp-dcc" risk="high" time="0" type="cdcc">.*</event> + <event id="dcc" action="ban" class="re" override="dcc-medium" reason="using the DC.C SE.ND exploit" risk="high" time="0" type="public">^DCC SEND |\bDCC SEND "?[A-Za-z0-9]+"? \d+ \d+ \d+</event> + <event id="dcc-medium" action="ban" class="re" reason="using the DC.C SE.ND exploit" risk="medium" time="0" type="public">DCC SEND </event> + <event id="dcc-topic" action="ban" class="re" reason="setting a bad topic" risk="medium" time="0" type="topic">\bDCC SEND </event> + <event id="dosrequest" action="none" class="re" reason="requesting a DoS" risk="medium" time="0" type="public">via paypal if you DoS somone for</event> + <event id="exoticforum" action="ban" class="re" reason="link spam" risk="low" time="0" type="public">http://exotics\.ezbbforum\.com</event> + <event id="flood-10to30" action="none" class="floodqueue" reason="flooding (10 messages per 30 seconds)" risk="low" time="0" type="public">10:30</event> + <event id="flood-5to3" action="quiet" class="floodqueue" reason="flooding (5 messages per 3 seconds)" risk="low" time="10" type="public">5:3</event> + <event id="massflood" action="ban" class="splitflood" reason="distributed flooding" risk="medium" time="0" type="public,part,caction">5:3</event> + <event id="genspam1" action="none" class="re" reason="generic spamming" risk="debug" time="0" type="public">([^ ]{4,} +)\1{5,}</event> + <event id="joinflood-3to20" action="none" class="floodqueue" reason="join flood (3 joins in 20 seconds)" risk="medium" time="0" type="join">3:20</event> + <event id="keylogger" action="ban" class="re" override="keylogger-medium" reason="using the norton start-key-logger exploit" risk="high" time="0" type="public">^startkeylogger$|^stopkeylogger$</event> + <event id="keylogger-medium" action="ban" class="re" reason="using the norton start-key-logger exploit" risk="medium" time="0" type="public">\bstartkeylogger\b|\bstopkeylogger\b</event> + <event id="last_measure_regex" action="kban" class="re" reason="posting what appears to be a last measure link" risk="medium" time="0" type="public">http://\S+\.on\.nimp\.org</event> + <event id="lesbian" action="ban" class="re" reason="bad nick match (lesbian..)" risk="medium" time="0" type="join">^lesbian..$</event> + <event id="nick_cupid" action="ban" class="re" reason="bad nick match (cupid..)" risk="medium" time="0" type="join">^cupid..$</event> + <event id="nick_mudkip" action="ban" class="re" reason="bad nick match (mudkip..)" risk="medium" time="0" type="join">MUDKIP..</event> + <event id="nickspam" action="ban" class="nickspam" reason="nickspamming" risk="high" time="0" type="public">150:20</event> + <event id="notice" action="ban" class="re" reason="sending a notice to the channel" risk="high" time="0" type="notice">.*</event> + <event id="sms_spam" action="none" class="re" reason="spam link / virus" risk="low" time="0" type="public">\.com/sms.exe</event> + <event id="dronebl" action="ban" class="dnsbl" reason="in dnsbl.dronebl.org" risk="info" time="0" type="join" override="ahbl">dnsbl.dronebl.org</event> + <event id="redarmyoflol" action="ban" class="re" reason="parting with 'red army of lol'" risk="low" time="0" type="part">RED ARMY OF LOL</event> + <hilights> + <debug>AfterDeath</debug> + </hilights> + <msgs> + <debug>##asb-nexus</debug> + </msgs> + </channel> +</channels> diff --git a/config-default/commands.xml b/config-default/commands.xml new file mode 100644 index 0000000..4d543c9 --- /dev/null +++ b/config-default/commands.xml @@ -0,0 +1,67 @@ +<commands> + <command cmd="^;join (.*)" flag="a"> + <![CDATA[ + $conn->join($1); + ]]> + </command> + <command cmd="^;part (.*)" flag="a"> + <![CDATA[ + $conn->part($1); + ]]> + </command> + <command cmd="^;sl (.*)" flag="d"> + <![CDATA[ + $conn->sl($1); + ]]> + </command> + <command cmd="^;quit ?(.*)" flag="a"> + <![CDATA[ + $conn->quit($1); + ]]> + </command> + <command cmd="^;ev (.*)" flag="d"> + <![CDATA[ + eval $1; warn $@ if $@; + ]]> + </command> + <command cmd="^;rehash$" flag="a"> + <![CDATA[ + readXML(); + $conn->privmsg($event->{to}->[0], 'config files were re-read'); + ]]> + </command> + <command cmd="^;say (.*)" flag="t"> + <![CDATA[ + $conn->privmsg($event->{to}->[0], $1); + ]]> + </command> + <command cmd="^;do (.*)" flag="t"> + <![CDATA[ + $conn->me($event->{to}->[0], $1); + ]]> + </command> + <command cmd="^;exempt (.*)" flag="o"> + <![CDATA[ + push(@::eline, $1); + "$1\n" >> io 'exempt.txt'; + $conn->privmsg($event->{to}->[0], "$1 exempted"); + ]]> + </command> + <command cmd="^\!ops *(.*)"> + <![CDATA[ + my $hilite=commaAndify(getAlert($event->{to}->[0], 'opalert', 'hilights')); + $conn->privmsg($_, "$hilite: $event->{nick} wants your attention ($1) ") foreach getAlert($event->{to}->[0], 'opalert', 'msgs'); + ]]> + </command> + <command cmd="^;re(load|hash) exempts" flag="a"> + <![CDATA[ + @eline=io('exempt.txt')->getlines; + chomp @eline; + ]]> + </command> + <command cmd="^;remove (.*)$" flag="o"> + <![CDATA[ + $conn->sl("remove $event->{to}->[0] $1"); + ]]> + </command> +</commands> diff --git a/config-default/settings.xml b/config-default/settings.xml new file mode 100644 index 0000000..c7e693f --- /dev/null +++ b/config-default/settings.xml @@ -0,0 +1,36 @@ +<settings> + <altnicks> + <altnick>AntiSpamMeta_</altnick> + <altnick>AntiSpamMeta2</altnick> + </altnicks> + <autojoins> + <autojoin>##asb-nexus</autojoin> + <autojoin>##asb-testing</autojoin> + <autojoin>##asb-meta</autojoin> + <autojoin>#baadf00d</autojoin> + <autojoin>##linux</autojoin> + <autojoin>##linux-ops</autojoin> + <autojoin>#wikipedia</autojoin> + <autojoin>#wikimedia-ops</autojoin> + <autojoin>#wikipedia-en</autojoin> + <autojoin>#religion</autojoin> + <autojoin>#wikipedia-en-roads-us</autojoin> + <autojoin>##windows</autojoin> + <autojoin>#wikimedia-commons</autojoin> + </autojoins> + <log> + <dir>logs/$chan</dir> + <filefmt>$chan-%m-%d-%Y.log</filefmt> + <timefmt>%B %d %T </timefmt> + <zone>GMT</zone> + </log> + <nick>AntiSpamMeta</nick> + <pass></pass> + <port>6667</port> + <realname>I am a new AntiSpamBot in the making.</realname> + <server> + <host>irc.freenode.net</host> + </server> + <username>MetaBot</username> + <lookupexpire>2419200</lookupexpire> +</settings> diff --git a/config-default/users.xml b/config-default/users.xml new file mode 100644 index 0000000..7fcdd3b --- /dev/null +++ b/config-default/users.xml @@ -0,0 +1,9 @@ +<people> + <person id="afterdeath" flags="oda" host="atheme/troll/about.linux.afterdeath" /> + <person id="bumm13" flags="o" host="IDENTIFY" /> + <person id="filiated" flags="oda" host="IDENTIFY" /> + <person id="ocee" host="unaffiliated/ocee" /> + <person id="wildpikachu" host="about/linux/staff/wildpikachu" /> + <person id="slowking_man" host="IDENTIFY" flags="o" /> + <person id="crazytales2" host="IDENTIFY" flags="oda" /> +</people> |
