]> git.proxmox.com Git - proxmox-spamassassin.git/blame - sa-updates/25_url_shortener.cf
update SpamAssassin signatures
[proxmox-spamassassin.git] / sa-updates / 25_url_shortener.cf
CommitLineData
dfdd1e08
SI
1# SpamAssassin - URL shortener rules
2#
3# Please don't modify this file as your changes will be overwritten with
4# the next update. Use /etc/mail/spamassassin/local.cf instead.
5# See 'perldoc Mail::SpamAssassin::Conf' for details.
6#
7# <@LICENSE>
8# Licensed to the Apache Software Foundation (ASF) under one or more
9# contributor license agreements. See the NOTICE file distributed with
10# this work for additional information regarding copyright ownership.
11# The ASF licenses this file to you under the Apache License, Version 2.0
12# (the "License"); you may not use this file except in compliance with
13# the License. You may obtain a copy of the License at:
14#
15# http://www.apache.org/licenses/LICENSE-2.0
16#
17# Unless required by applicable law or agreed to in writing, software
18# distributed under the License is distributed on an "AS IS" BASIS,
19# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20# See the License for the specific language governing permissions and
21# limitations under the License.
22# </@LICENSE>
23#
24###########################################################################
25
26###
27### Note that this file contains two separate lists, url_shortener and a
28### backup regex generated from it. Both must updated and kept in sync.
29###
30### __URL_SHORTENER will always by set by either the plugin or regex
31###
32
33# SpamAssassin 4.0 version required
34if can(Mail::SpamAssassin::Plugin::DecodeShortURLs::has_short_url_redir)
35
36body __URL_SHORTENER eval:short_url()
37
38body URL_SHORTENER_CHAINED eval:short_url_chained()
39describe URL_SHORTENER_CHAINED Message contains shortened URL chained to other shorteners
40tflags URL_SHORTENER_CHAINED net
41score URL_SHORTENER_CHAINED 0.01
42
43uri URL_SHORTENER_DISABLED m,^https://(?:bitly\.com/a/blocked|tinyurl\.com/app/nospam),
44describe URL_SHORTENER_DISABLED Message contains shortened URL that has been disabled due to abuse
45tflags URL_SHORTENER_DISABLED net
46score URL_SHORTENER_DISABLED 2
47
48#
49# Please only add entries that you manually verified as actual working
50# redirectors that can have abusable custom URLs. Adding non-abusable
51# services only generates unnecessary HTTP requests.
52#
53# After any changes, also update __URL_SHORTENER regex at end of file.
54#
55
56# generic list of likely active services - cleaned up 25.05.2022
57url_shortener .ftn.app
58url_shortener .page.link
59url_shortener .short.gy
60url_shortener .shortz.me
61url_shortener 0rz.tw
62url_shortener 4sq.com
63url_shortener 4url.cc
64url_shortener afly.co
65url_shortener ai6.net
66url_shortener amzn.com
67url_shortener amzn.to
68url_shortener b.link
69url_shortener b23.ru
70url_shortener binged.it
71url_shortener bit.do
72url_shortener bit.ly
73url_shortener bitly.com
74url_shortener bizj.us
75url_shortener chilp.it
76url_shortener conta.cc
151f49fd 77url_shortener clck.ru
dfdd1e08
SI
78url_shortener crks.me
79url_shortener cutt.ly
80url_shortener cutwin.biz
81url_shortener dai.ly
82url_shortener db.tt
83url_shortener disq.us
84url_shortener dlvr.it
85url_shortener doi.org
86url_shortener doiop.com
87url_shortener eepurl.com
88url_shortener fb.me
89url_shortener fire.to
90url_shortener firsturl.de
91url_shortener firsturl.net
92url_shortener flic.kr
93url_shortener gdurl.com
94url_shortener go.ly
95url_shortener goo.gl
96url_shortener goolnk.com
97url_shortener gplinks.in
98url_shortener guest.link
99url_shortener hellotxt.com
100url_shortener hop.kz
101url_shortener hotshorturl.com
102url_shortener hub.am
103url_shortener huff.to
104url_shortener hurl.it
105url_shortener hyperurl.co
106url_shortener inx.lv
107url_shortener is.gd
108url_shortener it2.in
109url_shortener j.mp
110url_shortener kore.us
111url_shortener kurl.no
112url_shortener l.bestsellers.to
113url_shortener lnk.sk
114url_shortener lnkd.in
115url_shortener lnkiy.in
116url_shortener lru.jp
117url_shortener mrte.ch
118url_shortener n9.cl
119url_shortener ndurl.com
120url_shortener onion.com
121url_shortener ouo.io
122url_shortener ow.ly
123url_shortener owl.li
124url_shortener pduda.mobi
125url_shortener rb.gy
126url_shortener redir.ec
127url_shortener rotf.lol
128url_shortener s.apache.org
21dcadbf 129url_shortener s.free.fr
dfdd1e08
SI
130url_shortener s.id
131url_shortener shar.es
132url_shortener shorl.com
133url_shortener shortn.me
134url_shortener shorturl.at
135url_shortener simurl.net
136url_shortener slidesha.re
137url_shortener smarturl.it
138url_shortener smfu.in
139url_shortener snip.ly
140url_shortener snkr.me
141url_shortener stpmvt.com
142url_shortener t.co
143url_shortener t.ly
144url_shortener tcrn.ch
145url_shortener tgr.ph
146url_shortener tiny.cc
147url_shortener tiny.one
148url_shortener tiny.pl
149url_shortener tinylink.in
150url_shortener tinyurl.com
151url_shortener to.ly
152url_shortener trib.al
153url_shortener twixar.me
154url_shortener u.nu
155url_shortener u.to
156url_shortener url.ie
157url_shortener urlcut.com
158url_shortener urlday.cc
159url_shortener urls.im
160url_shortener urlz.at
161url_shortener urlzs.com
162url_shortener utfg.sk
163url_shortener wow.link
164url_shortener wp.me
165url_shortener x.co
166url_shortener x.hypem.com
167url_shortener xurl.es
168url_shortener yhoo.it
169url_shortener youtu.be
170url_shortener z23.ru
171url_shortener zurl.ws
172
173# www.shrunken.com - list validated 25.05.2022
174url_shortener www.shrunken.com
175url_shortener 0.gp
176url_shortener 2.gp
177url_shortener 2.ly
178url_shortener 3.ly
179url_shortener 4.gp
180url_shortener 4.ly
181url_shortener 5.gp
182url_shortener 6.gp
183url_shortener 6.ly
184url_shortener 7.ly
185url_shortener 8.ly
186url_shortener 9.ly
187url_shortener g.asia
188url_shortener p.asia
189url_shortener ur3.us
190
191# shorturl.com - list validated 25.05.2022
192url_shortener alturl.com
193url_shortener .1sta.com
194url_shortener .24ex.com
195url_shortener .2fear.com
196url_shortener .2fortune.com
197url_shortener .2freedom.com
198url_shortener .2hell.com
199url_shortener .2savvy.com
200url_shortener .2truth.com
201url_shortener .2tunes.com
202url_shortener .2ya.com
203url_shortener .alturl.com
204url_shortener .antiblog.com
205url_shortener .bigbig.com
206url_shortener .dealtap.com
207url_shortener .ebored.com
208url_shortener .echoz.com
209url_shortener .filetap.com
210url_shortener .funurl.com
211url_shortener .headplug.com
212url_shortener .hereweb.com
213url_shortener .hitart.com
214url_shortener .mirrorz.com
215url_shortener .mp3update.com
216url_shortener .shorturl.com
217url_shortener .spyw.com
218url_shortener .vze.com
219
220# iscool.net - list validated 25.05.2022
221url_shortener .arecool.net
222url_shortener .iscool.net
223url_shortener .isfun.net
224url_shortener .tux.nu
225
226# kisa.link - list validated 25.05.2022
227url_shortener kisa.link
228url_shortener www.kisa.link
229url_shortener bul.tc
230url_shortener cy.tc
231url_shortener fn.tc
232url_shortener ftp.tc
233url_shortener gr.tc
234url_shortener hbr.tc
235url_shortener heg.tc
236url_shortener ins.tc
237url_shortener ko.tc
238url_shortener kod.tc
239url_shortener lol.tc
240url_shortener m2.tc
241url_shortener ml.tc
242url_shortener mmo.tc
243url_shortener oy.tc
244url_shortener pc.tc
245url_shortener pubg.tc
246url_shortener pvp.tc
247url_shortener sro.tc
248url_shortener tek.link
249url_shortener tw.tc
250
251# grabify.link - list validated 25.05.2022
252url_shortener grabify.link
253url_shortener catsnthing.com
254url_shortener catsnthings.fun
255url_shortener cheapcinema.club
256url_shortener dateing.club
257url_shortener fortnight.space
258url_shortener fortnitechat.site
259url_shortener freegiftcards.co
260url_shortener gaming-at-my.best
261url_shortener gamingfun.me
262url_shortener headshot.monster
263url_shortener imageshare.best
264url_shortener joinmy.site
265url_shortener leancoding.co
266url_shortener locations.quest
267url_shortener lovebird.guru
268url_shortener myprivate.pics
269url_shortener noodshare.pics
270url_shortener partpicker.shop
271url_shortener progaming.monster
272url_shortener screenshare.pics
273url_shortener screenshot.best
274url_shortener shhh.lol
275url_shortener shrekis.life
276url_shortener sportshub.bar
277url_shortener stopify.co
278url_shortener trulove.guru
279url_shortener yourmy.monster
280
151f49fd
SI
281# additional url shorteners 2023
282url_shortener .app.link
283url_shortener bitly.ws
284url_shortener han.gl
285url_shortener lukora.cz
286url_shortener shorturl.asia
287url_shortener m2.do
288
dfdd1e08
SI
289# GET method required for some services, keep the same services in url_shortener also
290if can(Mail::SpamAssassin::Plugin::DecodeShortURLs::has_get)
291url_shortener_get bit.ly
292endif
293
294endif # has_short_url_redir
295
296
297###
298### Use a regex if DecodeShortURLs plugin is not loaded
299###
300
301if !can(Mail::SpamAssassin::Plugin::DecodeShortURLs::has_short_url_redir)
302
303## Generate __URL_SHORTENER with this command, to keep it in sync with url_shortener list:
304##
305## perl -pe 'while (<>) {/^\s*url_shortener\s+(\S+)/ or next;$s=quotemeta($1);$s=~s/^\\./\\w+\\./;push @a,$s} print "uri __URL_SHORTENER m,^https?://(?:".join("|",@a).")/,i\n"' < 25_url_shortener.cf
306##
307
151f49fd
SI
308uri __URL_SHORTENER m,^https?://(?:\w+\.ftn\.app|\w+\.page\.link|\w+\.short\.gy|\w+\.shortz\.me|0rz\.tw|4sq\.com|4url\.cc|afly\.co|ai6\.net|amzn\.com|amzn\.to|b\.link|b23\.ru|binged\.it|bit\.do|bit\.ly|bitly\.com|bizj\.us|chilp\.it|conta\.cc|crks\.me|cutt\.ly|cutwin\.biz|dai\.ly|db\.tt|disq\.us|dlvr\.it|doi\.org|doiop\.com|eepurl\.com|fb\.me|fire\.to|firsturl\.de|firsturl\.net|flic\.kr|gdurl\.com|go\.ly|goo\.gl|goolnk\.com|gplinks\.in|guest\.link|hellotxt\.com|hop\.kz|hotshorturl\.com|hub\.am|huff\.to|hurl\.it|hyperurl\.co|inx\.lv|is\.gd|it2\.in|j\.mp|kore\.us|kurl\.no|l\.bestsellers\.to|lnk\.sk|lnkd\.in|lnkiy\.in|lru\.jp|mrte\.ch|n9\.cl|ndurl\.com|onion\.com|ouo\.io|ow\.ly|owl\.li|pduda\.mobi|rb\.gy|redir\.ec|rotf\.lol|s\.apache\.org|s\.free\.fr|s\.id|shar\.es|shorl\.com|shortn\.me|shorturl\.at|simurl\.net|slidesha\.re|smarturl\.it|smfu\.in|snip\.ly|snkr\.me|stpmvt\.com|t\.co|t\.ly|tcrn\.ch|tgr\.ph|tiny\.cc|tiny\.one|tiny\.pl|tinylink\.in|tinyurl\.com|to\.ly|trib\.al|twixar\.me|u\.nu|u\.to|url\.ie|urlcut\.com|urlday\.cc|urls\.im|urlz\.at|urlzs\.com|utfg\.sk|wow\.link|wp\.me|x\.co|x\.hypem\.com|xurl\.es|yhoo\.it|youtu\.be|z23\.ru|zurl\.ws|www\.shrunken\.com|0\.gp|2\.gp|2\.ly|3\.ly|4\.gp|4\.ly|5\.gp|6\.gp|6\.ly|7\.ly|8\.ly|9\.ly|g\.asia|p\.asia|ur3\.us|alturl\.com|\w+\.1sta\.com|\w+\.24ex\.com|\w+\.2fear\.com|\w+\.2fortune\.com|\w+\.2freedom\.com|\w+\.2hell\.com|\w+\.2savvy\.com|\w+\.2truth\.com|\w+\.2tunes\.com|\w+\.2ya\.com|\w+\.alturl\.com|\w+\.antiblog\.com|\w+\.bigbig\.com|\w+\.dealtap\.com|\w+\.ebored\.com|\w+\.echoz\.com|\w+\.filetap\.com|\w+\.funurl\.com|\w+\.headplug\.com|\w+\.hereweb\.com|\w+\.hitart\.com|\w+\.mirrorz\.com|\w+\.mp3update\.com|\w+\.shorturl\.com|\w+\.spyw\.com|\w+\.vze\.com|\w+\.arecool\.net|\w+\.iscool\.net|\w+\.isfun\.net|\w+\.tux\.nu|kisa\.link|www\.kisa\.link|bul\.tc|cy\.tc|fn\.tc|ftp\.tc|gr\.tc|hbr\.tc|heg\.tc|ins\.tc|ko\.tc|kod\.tc|lol\.tc|m2\.tc|ml\.tc|mmo\.tc|oy\.tc|pc\.tc|pubg\.tc|pvp\.tc|sro\.tc|tek\.link|tw\.tc|grabify\.link|catsnthing\.com|catsnthings\.fun|cheapcinema\.club|dateing\.club|fortnight\.space|fortnitechat\.site|freegiftcards\.co|gaming\-at\-my\.best|gamingfun\.me|headshot\.monster|imageshare\.best|joinmy\.site|leancoding\.co|locations\.quest|lovebird\.guru|myprivate\.pics|noodshare\.pics|partpicker\.shop|progaming\.monster|screenshare\.pics|screenshot\.best|shhh\.lol|shrekis\.life|sportshub\.bar|stopify\.co|trulove\.guru|yourmy\.monster|\w+\.app\.link|bitly\.ws|han\.gl|lukora\.cz|shorturl\.asia|m2\.do)/,i
309
dfdd1e08
SI
310
311endif
312