forked from lucaslealdev/CSSTrackr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-example.php
297 lines (289 loc) · 5.34 KB
/
config-example.php
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
<?php
declare(strict_types=1);
/*
=================
Here you need to setup your DB connection.
=================
*/
define('DB_HOSTNAME','localhost');
define('DB_USERNAME','root');
define('DB_PASSWORD','');
define('DB_DATABASE','trackr');
/*
=================
Here you need to setup your trackers.
=================
*/
$actions = array(
'click'=>array(
'button#subscribe'=>'User has subscribed',
'button#unsub'=>'User has unsubscribed',
'.modalclose'=>'User has closed a modal element',
'a.modal'=>'User has opened a modal window',
),
'hover'=>array(
'img'=>'User has hovered an image element',
),
'check'=>array(
'input[type="checkbox"]'=>'User has checked a checkbox',
),
'hoverhold'=>array(
'img'=>'User has hovered for', /*will suffix from 1 to 10 seconds*/
)
);
/*
=================
If you don't know what
these two lines below means,
don't change them.
=================
*/
define('DB_PREFIX','');
define('S','csstrackr'); /*session key*/
/*
=================
Only change those configurations below if
you know what you are doing with your life
=================
*/
$banned_ips = array(
'45.55.201.83',
'66.*',
'64.233.*',
'5.158.176.90',
'5.158.*',
);
$banned_agents = array(
'abachobot',
'acoon',
'aesop_com_spiderman',
'ah-ha.com crawler',
'ah-ha',
'appie',
'arachnoidea',
'architextspider',
'atomz',
'deepindex',
'esismartspider',
'ezresult',
'fast-webcrawler',
'fido',
'fluffy the spider',
'googlebot',
'gigabot',
'gulliver',
'gulper',
'henrythemiragorobot',
'ia_archiver',
'kit-fireball/2.0',
'lnspiderguy',
'lycos_spider_(t-rex)',
'mantraagent',
'msn',
'nationaldirectory-superspider',
'nazilla',
'openbot',
'openfind piranha,shark',
'scooter',
'scrubby',
'slurp.so/1.0',
'slurp/2.0j',
'slurp/2.0',
'slurp/3.0',
'tarantula',
'teoma_agent1',
'uk searcher spider',
'webcrawler',
'winona',
'whatuseek',
'zyborg',
'almaden',
'cyveillance',
'dtsearch',
'girafa.com',
'indy library',
'linkwalker',
'markwatch',
'nameprotect',
'robozilla',
'teradex mapper',
'tracerlock',
'tracerlock.com',
'w3c_validator',
'wdg_validator',
'wdg',
'zealbot',
'008',
'abachobot',
'accoona-ai-agent',
'addsugarspiderbot',
'anyapexbot',
'arachmo',
'b-l-i-t-z-b-o-t',
'baiduspider',
'becomebot',
'beslistbot',
'billybobbot',
'bimbot',
'bingbot',
'blitzbot',
'boitho.com-dc',
'boitho.com-robot',
'btbot',
'catchbot',
'cerberian drtrs',
'charlotte',
'converacrawler',
'cosmos',
'covario ids',
'dataparksearch',
'diamondbot',
'discobot',
'dotbot',
'earthcom.info',
'emeraldshield.com webbot',
'envolk[its]spider',
'esperanzabot',
'exabot',
'fast enterprise crawler',
'fast-webcrawler',
'fdse robot',
'findlinks',
'furlbot',
'fyberspider',
'g2crawler',
'gaisbot',
'galaxybot',
'geniebot',
'gigabot',
'girafabot',
'googlebot',
'googlebot-image',
'gurujibot',
'happyfunbot',
'hl_ftien_spider',
'holmes',
'htdig',
'iaskspider',
'ia_archiver',
'iccrawler',
'ichiro',
'igdespyder',
'irlbot',
'issuecrawler',
'jaxified bot',
'jyxobot',
'koepabot',
'l.webis',
'lapozzbot',
'larbin',
'ldspider',
'lexxebot',
'linguee bot',
'linkwalker',
'lmspider',
'lwp-trivial',
'mabontland',
'magpie-crawler',
'mediapartners-google',
'mj12bot',
'mlbot',
'mnogosearch',
'mogimogi',
'mojeekbot',
'moreoverbot',
'morning paper',
'msnbot',
'msrbot',
'mvaclient',
'mxbot',
'netresearchserver',
'netseer crawler',
'newsgator',
'ng-search',
'nicebot',
'noxtrumbot',
'nusearch spider',
'nutchcvs',
'nymesis',
'obot',
'oegp',
'omgilibot',
'omniexplorer_bot',
'oozbot',
'orbiter',
'pagebiteshyperbot',
'peew',
'polybot',
'pompos',
'postpost',
'psbot',
'pycurl',
'qseero',
'radian6',
'rampybot',
'rufusbot',
'sandcrawler',
'sbider',
'scoutjet',
'scrubby',
'searchsight',
'seekbot',
'semanticdiscovery',
'sensis web crawler',
'seochat::bot',
'seznambot',
'shim-crawler',
'shopwiki',
'shoula robot',
'silk',
'sitebot',
'snappy',
'sogou spider',
'sosospider',
'speedy spider',
'sqworm',
'stackrambler',
'suggybot',
'surveybot',
'synoobot',
'teoma',
'terrawizbot',
'thesubot',
'thumbnail.cz robot',
'tineye',
'truwogps',
'turnitinbot',
'tweetedtimes bot',
'twengabot',
'updated',
'urlfilebot',
'vagabondo',
'voilabot',
'vortex',
'voyager',
'vyu2',
'webcollage',
'websquash.com',
'wf84',
'wofindeich robot',
'womlpefactory',
'xaldon_webspider',
'yacy',
'yahoo! slurp',
'yahoo! slurp china',
'yahooseeker',
'yahooseeker-testing',
'yandexbot',
'yandeximages',
'yandexmetrika',
'yasaklibot',
'yeti',
'yodaobot',
'yooglifetchagent',
'youdaobot',
'zao',
'zealbot',
'zspider',
'zyborg',
);