This repository has been archived by the owner on Jul 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
darkmage.conf.default
336 lines (330 loc) · 8.74 KB
/
darkmage.conf.default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
#! /home/USERNAME/REPLACEME/eggdrop
# $Arch: darkmage.conf.default,v 1.006 2018/11/28 10:33:10 kyau Exp $
#
# ▄▄▄ ▄▄▄▄ ▄▄▄▄ ▄▄ ▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄ ▄▄▄▄▄ ▄▄▄▄
# ██ █ ██ █ ██ █ ██ █ ██ ██ █ █ ██ █ ██ ██ ▀
# ██ █ ██▄█ ██▄▀ ██▄▀ ██ ██ █ █ ██▄█ ██ ▄▄ ██▀
# ██ █ ██ █ ██ █ ██ █ ▀▀ ██ █ █ ██ █ ██ ▀█ ██ █
# ▀▀▀▀ ▀▀ ▀ ▀▀ ▀ ▀▀ ▀ ▀▀ ▀▀ ▀ ▀ ▀▀ ▀ ▀▀▀▀▀ ▀▀▀▀
#
# dark!mage - tcl botpack for eggdrop
# Copyright (C) 2018 KYAU Labs (https://kyaulabs.com)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# This next line checks if eggdrop is being executed from the source directory
if {[file exists aclocal.m4]} { die {You are attempting to run Eggdrop from the source directory. Please finish installing Eggdrop by running "make install" and run it from the install location.} }
# BASIC SETTINGS {{{
set username "REPLACEME"
set admin "OWNERNAME"
set network "MYNETWORK"
set timezone "PST"
set offset "7"
set vhost4 "1.2.3.4"
#set vhost6 "my.ipv6.host.com"
set listen-addr "1.2.3.4"
set prefer-ipv6 0
#addlang "english"
# }}}
# LOG FILES {{{
set max-logs 20
set max-logsize 0
set quick-logs 0
set raw-log 0
logfile smco * "logs/REPLACEME.log"
set log-time 1
set timestamp-format {[%H:%M:%S]}
set keep-all-logs 0
set logfile-suffix ".%d%b%Y"
set switch-logfiles-at 600
set quiet-save 3
# }}}
# CONSOLE {{{
set console "mkcobxs"
# }}}
# FILES AND DIRECTORIES {{{
set userfile "MYNETWORK.user"
set pidfile "pid.REPLACEME"
set help-path "help/"
set text-path "text/"
set motd "text/motd"
set telnet-banner "text/banner"
set userfile-perm 0600
# }}}
# BOTNET/DCC/TELNET {{{
set botnet-nick "REPLACEME"
listen +9900 all
listen 9901 all
set remote-boots 2
set share-unlinks 1
set protect-telnet 1
set dcc-sanitycheck 1
set ident-timeout 5
set require-p 1
set open-telnets 0
set stealth-telnets 1
set use-telnet-banner 1
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 7
# }}}
# SSL SETTINGS {{{
set ssl-privatekey "REPLACEME.key"
set ssl-certificate "REPLACEME.crt"
#set ssl-verify-depth 9
set ssl-capath "/etc/ssl/"
#set ssl-cafile ""
set ssl-ciphers "ALL"
#set ssl-cert-auth 0
# You can control SSL certificate verification using the following variables.
# All of them are flag-based. You can set them by adding together the numbers
# for all exceptions you want to enable. By default certificate verification
# is disabled and all certificates are assumed to be valid. The numbers are
# the following:
#
# Enable certificate verification - 1
# Allow self-signed certificates - 2
# Don't check peer common or alt names - 4
# Allow expired certificates - 8
# Allow certificates which are not valid yet - 16
# Allow revoked certificates - 32
# A value of 0 disables verification.
# Control certificate verification for DCC chats (only /dcc chat botnick)
#set ssl-verify-dcc 0
# Control certificate verification for linking to hubs
#set ssl-verify-bots 0
# Control cerfificate verification for SSL listening ports. This includes
# leaf bots connecting, users telneting in and /ctcp bot chat.
#set ssl-verify-clients 0
# }}}
# MORE ADVANCED SETTINGS {{{
set reserved-portrange 5000:5050
set ignore-time 15
set hourly-updates 42
set owner "OWNERNAME"
set notify-newusers "$owner"
set default-flags "h"
set whois-fields "github twitter website"
set must-be-owner 1
unbind dcc n simul *dcc:simul
unbind dcc n set *dcc:set
#unbind dcc n tcl *dcc:tcl
set max-socks 100
set allow-dk-cmds 1
set dupwait-timeout 5
set strict-host 1
set cidr-support 0
# }}}
# MODULES {{{
set mod-path "modules/"
# }}}
# BLOWFISH MODULE {{{
loadmodule blowfish
set blowfish-use-mode cbc
# }}}
# DNS MODULE {{{
loadmodule dns
#set dns-servers "1.1.1.1"
#set dns-servers "8.8.8.8 8.8.4.4"
set dns-cache 86400
set dns-negcache 600
set dns-maxsends 4
set dns-retrydelay 3
# }}}
# CHANNELS MODULE {{{
loadmodule channels
set chanfile "MYNETWORK.chan"
set force-expire 0
set share-greet 0
set use-info 1
set allow-ps 0
set default-flood-chan 0:0
set default-flood-deop 3:10
set default-flood-kick 3:10
set default-flood-join 5:60
set default-flood-ctcp 3:60
set default-flood-nick 5:60
set default-aop-delay 0
set default-idle-kick 0
set default-chanmode "nt"
set default-stopnethack-mode 0
set default-revenge-mode 0
set default-ban-type 3
set default-ban-time 120
set default-exempt-time 60
set default-invite-time 60
set default-chanset {
-autoop -autovoice
-bitch +cycle
+dontkickops +dynamicbans
+dynamicexempts +dynamicinvites
-enforcebans +greet
-inactive -nodesynch
-protectfriends +protectops
-revenge -revengebot
-secret -seen
+shared -statuslog
+userbans +userexempts
+userinvites -protecthalfops
-autohalfop -static
}
# }}}
# SERVER MODULE {{{
loadmodule server
# Control certificate verification for irc servers. For a description of the
# possible values, look at the SSL SETTINGS section above.
set ssl-verify-server 0
set net-type 0
set nick "REPLACEME"
set altnick "REPLACEME_"
set realname "MYNETWORK"
# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server
proc evnt:init_server {type} {
global botnick
putquick "MODE $botnick +i-ws"
}
set default-port 6667
# north america
# irc.servercentral.net:+9999 # Chicago, IL
# irc.mzima.net:+9999 # Los Angeles, CA / IPv6
# irc.choopa.net:+9999 # New York, NY / IPv6
# irc.colosolutions.net:+9999 # Orlando, FL
# irc.Prison.NET:6667 # San Francisco, CA
# irc2.choopa.net:+9999 # New York, NY / IPv6
# europe
# efnet.port80.se:+9999 # Stockholm, Sweden / IPv6
# irc.inet.tele.dk:+9999 # Aarhus, Denmark / IPv6
# irc.underworld.no:+9999 # Oslo, Norway / IPv6
# efnet.portlane.se:+9999 # Stockholm, Sweden / IPv6
# irc.efnet.nl:+9999 # Netherlands
# irc.homelien.no:6667 # Oslo, Norway / IPv6
# irc.nordunet.se:+9999 # Stockholm, Sweden / IPv6
# irc.du.se:+6697 # Borlange, Sweden
set servers {
irc.servercentral.net:+9999
irc.mzima.net:+9999
irc.choopa.net:+9999
irc.colosolutions.net:+9999
irc2.choopa.net:+9999
efnet.port80.se:+9999
irc.inet.tele.dk:+9999
irc.underworld.no:+9999
efnet.portlane.se:+9999
irc.efnet.nl:+9999
irc.nordunet.se:+9999
irc.du.se:+6697
}
set msg-rate 2
set keep-nick 1
set quiet-reject 1
set lowercase-ctcp 1
set answer-ctcp 3
set flood-msg 5:60
set flood-ctcp 3:60
set server-cycle-wait 10
set server-timeout 60
set check-stoned 1
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set exclusive-binds 0
set double-mode 1
set double-server 1
set double-help 1
set optimize-kicks 1
set stack-limit 4
# }}}
# CTCP MODULE {{{
loadmodule ctcp
set ctcp-mode 0
# }}}
# IRC MODULE {{{
loadmodule irc
set bounce-bans 1
set bounce-exempts 0
set bounce-invites 0
set bounce-modes 0
set max-bans 100
set max-exempts 20
set max-invites 20
set max-modes 100
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
set opchars "@"
set no-chanrec-info 0
# }}}
# TRANSFER MODULE {{{
loadmodule transfer
set max-dloads 3
set dcc-block 0
set copy-to-tmp 1
set xfer-timeout 30
# }}}
# SHARE MODULE {{{
loadmodule share
set allow-resync 0
set private-user 1
# SLAVE (optional)
#set override-bots 1
# }}}
# COMPRESS MODULE {{{
loadmodule compress
set share-compressed 1
set compress-level 9
# }}}
# NOTES MODULE {{{
loadmodule notes
set notefile "MYNETWORK.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1
# }}}
# CONSOLE MODULE {{{
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0
# }}}
# SCRIPTS {{{
# eggdrop defaults
source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/dccwhois.tcl
# eggdrop defaults - network specific
if {[info exists net-type]} {
switch -- ${net-type} {
"0" {
# EFnet (Anti-Drone)
source scripts/quotepong.tcl
}
"2" {
# Undernet
source scripts/quotepass.tcl
}
}
}
# dark!mage
source scripts/darkmage.tcl
# }}}
# vim: ft=tcl ts=4 sw=4 noet: