GRAYBYTE WORDPRESS FILE MANAGER5652

Server IP : 68.65.123.43 / Your IP : 216.73.216.160
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /var/lib/spamassassin/3.004006/updates_spamassassin_org/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /var/lib/spamassassin/3.004006/updates_spamassassin_org//20_imageinfo.cf
# SpamAssassin rules file: Image information tests
#
# Please don't modify this file as your changes will be overwritten with
# the next update. Use /etc/mail/spamassassin/local.cf instead.
# See 'perldoc Mail::SpamAssassin::Conf' for details.
#
# <@LICENSE>
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to you under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# </@LICENSE>
#
###########################################################################

ifplugin Mail::SpamAssassin::Plugin::ImageInfo

## # you can match by image name
## body		DC_IMAGE001_GIF		eval:image_named('image001.gif')
## describe	DC_IMAGE001_GIF		Contains image named image001.gif

## # you can do exact image size matches
## body	 	DC_GIF_264_127  	eval:image_size_exact('gif','264','127')
## describe 	DC_GIF_264_127  	Found 264x127 pixel gif, possible pillz

# you can do image to text, or image to html ratios
rawbody		__DC_IMG_HTML_RATIO	eval:image_to_text_ratio('all', '0.000', '0.015')
describe	__DC_IMG_HTML_RATIO	Low rawbody to pixel area ratio

body		__DC_IMG_TEXT_RATIO	eval:image_to_text_ratio('all', '0.000', '0.008')
describe	__DC_IMG_TEXT_RATIO	Low body to pixel area ratio

# body		DC_GIF_TEXT_RATIO	eval:image_to_text_ratio('gif',0.000, 0.008)
# describe	DC_GIF_TEXT_RATIO	Low body to GIF pixel area ratio

# rawbody	DC_GIF_HTML_RATIO	eval:image_to_text_ratio('gif',0.000, 0.008)
# describe	DC_GIF_HTML_RATIO	Low rawbody to GIF pixel area ratio

# using exact size match to identify things like screenshots
# body	 	__SCREEN_640x480  	eval:image_size_exact('all',800,600)
# body	 	__SCREEN_800x600 	eval:image_size_exact('all',800,600)
# body	 	__SCREEN_1024x768 	eval:image_size_exact('all',1024,768)
# body	 	__SCREEN_1280x1024  	eval:image_size_exact('all',1280,1024)
# meta		DC_SCREENSHOT_JPG	( __SCREEN_640x480 || __SCREEN_800x600 || __SCREEN_1024x768 || __SCREEN_1280x1024 )
# describe	DC_SCREENSHOT_JPG	Contains image matching common screen resolution
# score		DC_SCREENSHOT_JPG	-0.01

# you can do minimum demension matches
# body	 	DC_GIF_300		eval:image_size_range('gif',300,300)
# describe	DC_GIF_300		Contains a 300x300 pixels gif or larger
# score		DC_GIF_300		0.01

# you can do ranged demension matches
# body	 	DC_JPEG_200_300		eval:image_size_range('gif', 200, 300, 250, 350)
# describe	DC_JPEG_200_300		Contains jpeg 200-250 (high) x 300-350 (wide)
# score		DC_JPEG_200_300 	0.01

# you can count the number of images (all or by image type)
body	 	__GIF_ATTACH_1		eval:image_count('gif','1','1')
body  		__GIF_ATTACH_2P		eval:image_count('gif','2')

body		__PNG_ATTACH_1		eval:image_count('png','1','1')
body  	 	__PNG_ATTACH_2P		eval:image_count('png','2')

body		__JPEG_ATTACH_1		eval:image_count('jpeg',1,1)
body		__JPEG_ATTACH_2P	eval:image_count('jpeg',2)

# you can determine pixel coverage (all or by image type)
body		__GIF_AREA_180K		eval:pixel_coverage('gif','180000','475000')
body		__PNG_AREA_180K		eval:pixel_coverage('png','180000','475000')
# body		__JPEG_AREA_180K	eval:pixel_coverage('jpeg',180000,475000)

# meta together something useful
meta	 	DC_GIF_UNO_LARGO	( __GIF_ATTACH_1 && __GIF_AREA_180K )
describe 	DC_GIF_UNO_LARGO  	Message contains a single large gif image

meta		__DC_GIF_MULTI_LARGO 	( __GIF_ATTACH_2P && __GIF_AREA_180K )
describe	__DC_GIF_MULTI_LARGO  	Message has 2+ inline gif covering lots of area

meta	 	DC_PNG_UNO_LARGO	( __PNG_ATTACH_1 && __PNG_AREA_180K )
describe 	DC_PNG_UNO_LARGO	Message contains a single large png image

meta	 	__DC_PNG_MULTI_LARGO 	( __PNG_ATTACH_2P && __PNG_AREA_180K )
describe	__DC_PNG_MULTI_LARGO  	Message has 2+ png images covering lots of area

# meta	 	DC_JPEG_UNO_LARGO 	( __JPEG_ATTACH_1 && __JPEG_AREA_180K )
# describe	DC_JPEG_UNO_LARGO  	Message hash single large jpeg image

# meta	 	DC_JPEG_MULTI_LARGO 	( __JPEG_ATTACH_2P && __JPEG_AREA_180K )
# describe	DC_JPEG_MULTI_LARGO  	Message has 2+ jpeg images covering lots of area

meta		DC_IMAGE_SPAM_TEXT		( !__HAS_URI && __DC_IMG_TEXT_RATIO && ( DC_GIF_UNO_LARGO || DC_PNG_UNO_LARGO || __DC_GIF_MULTI_LARGO || __DC_PNG_MULTI_LARGO ))
describe	DC_IMAGE_SPAM_TEXT		Possible Image-only spam with little text

# meta the stock rules together for HTML_IMAGE_ONLY_*
meta		__HTML_IMG_ONLY			( HTML_IMAGE_ONLY_04 || HTML_IMAGE_ONLY_08 || HTML_IMAGE_ONLY_12 || HTML_IMAGE_ONLY_16 || HTML_IMAGE_ONLY_20 || HTML_IMAGE_ONLY_24 || HTML_IMAGE_ONLY_28 )

meta		DC_IMAGE_SPAM_HTML		(!__HAS_URI && ( __HTML_IMG_ONLY  || __DC_IMG_HTML_RATIO ) && ( DC_GIF_UNO_LARGO || DC_PNG_UNO_LARGO || __DC_GIF_MULTI_LARGO || __DC_PNG_MULTI_LARGO ))
describe	DC_IMAGE_SPAM_HTML		Possible Image-only spam

endif

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
April 22 2025 07:03:57
root / root
0755
10_default_prefs.cf
8.563 KB
April 22 2025 07:03:57
root / root
0644
10_hasbase.cf
2.395 KB
April 22 2025 07:03:57
root / root
0644
20_advance_fee.cf
7.434 KB
April 22 2025 07:03:57
root / root
0644
20_aux_tlds.cf
39.325 KB
April 22 2025 07:03:57
root / root
0644
20_body_tests.cf
7.012 KB
April 22 2025 07:03:57
root / root
0644
20_compensate.cf
1.89 KB
April 22 2025 07:03:57
root / root
0644
20_dnsbl_tests.cf
10.297 KB
April 22 2025 07:03:57
root / root
0644
20_drugs.cf
15.161 KB
April 22 2025 07:03:57
root / root
0644
20_dynrdns.cf
11.119 KB
April 22 2025 07:03:57
root / root
0644
20_fake_helo_tests.cf
9.068 KB
April 22 2025 07:03:57
root / root
0644
20_freemail.cf
2.988 KB
April 22 2025 07:03:57
root / root
0644
20_freemail_domains.cf
40.364 KB
April 22 2025 07:03:57
root / root
0644
20_freemail_mailcom_domains.cf
4.316 KB
April 22 2025 07:03:57
root / root
0644
20_head_tests.cf
26.833 KB
April 22 2025 07:03:57
root / root
0644
20_html_tests.cf
10.486 KB
April 22 2025 07:03:57
root / root
0644
20_imageinfo.cf
5.178 KB
April 22 2025 07:03:57
root / root
0644
20_mailspike.cf
2.862 KB
April 22 2025 07:03:57
root / root
0644
20_meta_tests.cf
3.422 KB
April 22 2025 07:03:57
root / root
0644
20_net_tests.cf
1.836 KB
April 22 2025 07:03:57
root / root
0644
20_pdfinfo.cf
15.526 KB
April 22 2025 07:03:57
root / root
0644
20_phrases.cf
7.964 KB
April 22 2025 07:03:57
root / root
0644
20_porn.cf
2.014 KB
April 22 2025 07:03:57
root / root
0644
20_ratware.cf
16.476 KB
April 22 2025 07:03:57
root / root
0644
20_uri_tests.cf
5.868 KB
April 22 2025 07:03:57
root / root
0644
20_vbounce.cf
20.279 KB
April 22 2025 07:03:57
root / root
0644
23_bayes.cf
2.938 KB
April 22 2025 07:03:57
root / root
0644
25_accessdb.cf
1.511 KB
April 22 2025 07:03:57
root / root
0644
25_antivirus.cf
1.503 KB
April 22 2025 07:03:57
root / root
0644
25_asn.cf
1.929 KB
April 22 2025 07:03:57
root / root
0644
25_dcc.cf
2.888 KB
April 22 2025 07:03:57
root / root
0644
25_dkim.cf
5.577 KB
April 22 2025 07:03:57
root / root
0644
25_dmarc.cf
2.029 KB
April 22 2025 07:03:57
root / root
0644
25_dnswl.cf
2.991 KB
April 22 2025 07:03:57
root / root
0644
25_pyzor.cf
1.486 KB
April 22 2025 07:03:57
root / root
0644
25_razor2.cf
3.09 KB
April 22 2025 07:03:57
root / root
0644
25_replace.cf
20.981 KB
April 22 2025 07:03:57
root / root
0644
25_spf.cf
4.297 KB
April 22 2025 07:03:57
root / root
0644
25_textcat.cf
1.729 KB
April 22 2025 07:03:57
root / root
0644
25_uribl.cf
19.534 KB
April 22 2025 07:03:57
root / root
0644
25_url_shortener.cf
10.662 KB
April 22 2025 07:03:57
root / root
0644
30_text_de.cf
25.688 KB
April 22 2025 07:03:57
root / root
0644
30_text_fr.cf
19.339 KB
April 22 2025 07:03:57
root / root
0644
30_text_it.cf
1.817 KB
April 22 2025 07:03:57
root / root
0644
30_text_nl.cf
20.147 KB
April 22 2025 07:03:57
root / root
0644
30_text_pl.cf
16.851 KB
April 22 2025 07:03:57
root / root
0644
30_text_pt_br.cf
41.928 KB
April 22 2025 07:03:57
root / root
0644
50_scores.cf
37.14 KB
April 22 2025 07:03:57
root / root
0644
60_adsp_override_dkim.cf
9.121 KB
April 22 2025 07:03:57
root / root
0644
60_awl.cf
1.479 KB
April 22 2025 07:03:57
root / root
0644
60_bayes_stopwords.cf
14.731 KB
April 22 2025 07:03:57
root / root
0644
60_shortcircuit.cf
2.36 KB
April 22 2025 07:03:57
root / root
0644
60_txrep.cf
1.311 KB
April 22 2025 07:03:57
root / root
0644
60_welcomelist.cf
11.342 KB
April 22 2025 07:03:57
root / root
0644
60_welcomelist_auth.cf
74.763 KB
April 22 2025 07:03:57
root / root
0644
60_welcomelist_dkim.cf
10.835 KB
April 22 2025 07:03:57
root / root
0644
60_welcomelist_spf.cf
6.104 KB
April 22 2025 07:03:57
root / root
0644
60_welcomelist_subject.cf
3.821 KB
April 22 2025 07:03:57
root / root
0644
72_active.cf
522.844 KB
April 22 2025 07:03:57
root / root
0644
72_scores.cf
29.705 KB
April 22 2025 07:03:57
root / root
0644
73_sandbox_manual_scores.cf
4.118 KB
April 22 2025 07:03:57
root / root
0644
MIRRORED.BY
1.055 KB
April 22 2025 07:03:53
root / root
0644
STATISTICS-set0-72_scores.cf.txt
1.462 KB
April 22 2025 07:03:57
root / root
0644
STATISTICS-set1-72_scores.cf.txt
1.463 KB
April 22 2025 07:03:57
root / root
0644
STATISTICS-set2-72_scores.cf.txt
0 KB
April 22 2025 07:03:57
root / root
0644
STATISTICS-set3-72_scores.cf.txt
0 KB
April 22 2025 07:03:57
root / root
0644
languages
130.469 KB
April 22 2025 07:03:57
root / root
0644
local.cf
3.143 KB
April 22 2025 07:03:57
root / root
0644
regression_tests.cf
2.706 KB
April 22 2025 07:03:57
root / root
0644
sa-update-pubkey.txt
4.665 KB
April 22 2025 07:03:57
root / root
0644
user_prefs.template
1.867 KB
April 22 2025 07:03:57
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF