Vsevolod Stakhov
e834cdb26d
[Minor] Oops, fix foldl call
hace 2 años
Vsevolod Stakhov
c6f7b897d4
[Minor] Fix some issues in URI_COUNT_ODD rule
Issue: #4037
hace 2 años
Vsevolod Stakhov
c23d728d75
[Minor] Fix rule
hace 2 años
Vsevolod Stakhov
c1b3e4821a
[Rules] Remove ancient and inefficient rules
hace 2 años
Vsevolod Stakhov
13dd78c687
[Rules] Fix old rules to stop global functions usage
hace 2 años
Andrew Lewis
b7e3440024
[Feature] JSON endpoint for querying maps
hace 2 años
Anton Yuzhaninov
98b205709f
[Minor] Skip bitcoin address check for very long words
Exclude very long words (which can be extracted e. g. from some text
attachments) from bitcoin address check to avoid excessive resource
usage.
hace 2 años
Vsevolod Stakhov
d2ca787313
[Rules] Improve zero font rule
hace 2 años
Sebastian Lipponer
44d83209e2
[Minor] Regexp: Extend upstream spam filter regexp
hace 2 años
Anton Yuzhaninov
0248bd6615
[Rules] Micro-optimize X_PHP_EVAL
Remove /i flag from regexp string "eval()'d code" is always in
lower case. While here use long string format for readability.
hace 2 años
Vsevolod Stakhov
dde092ef09
[Minor] Fix checks safety
hace 2 años
Vsevolod Stakhov
7a181b1fe6
[Minor] Add safety guards
hace 2 años
Andrew Lewis
8d22202dc9
[Fix] Fix an edge case in BITCOIN_ADDR rule
- when using PCRE
- and different address types are present
hace 3 años
Vsevolod Stakhov
f1f2f27585
[Minor] Pet luacheck
hace 3 años
Vsevolod Stakhov
ea35232b98
[Project] Rework html visibility rule
hace 3 años
Vsevolod Stakhov
3e5cc9ef2d
[Rules] Fix zerofont rule (partially)
hace 3 años
Anton Yuzhaninov
a4cfe5e270
[Rules] Extend OLD_X_MAILER
Add more old iPhone/iPad Mail versions to the regexp.
hace 3 años
Anton Yuzhaninov
7c00342f85
[Rules] Extend FORGED_X_MAILER
Match in FORGED_X_MAILER fake iPhone Mail header with a random string in
place of iOS build number, e. g. iPhone Mail (WKN0M)
hace 3 años
Vsevolod Stakhov
e40213cb54
[Rules] Fix CTYPE_MIXED_BOGUS for text attachments
Issue: #3748
hace 3 años
Vsevolod Stakhov
0b88d35b45
[Minor] Fix bit operations logic
hace 3 años
Vsevolod Stakhov
0604bcc851
[Minor] Filter urls for R_SUSPICIOUS_URL check
Suggested by: @citrin
hace 3 años
Vsevolod Stakhov
deda62a64f
[Minor] Use numeric bit and for checking flags
hace 3 años
Andrew Lewis
8a2ba3a5c3
[Minor] Fix REPLYTO_ADDR_EQ_FROM for normalised addresses
hace 3 años
Anton Yuzhaninov
8a5448883e
[Rules] Add raw addresses to MULTIPLE_FROM options
It is confusing to have MULTIPLE_FROM with a single address in options,
which happens if one of addresses is empty - usually because of
misplaces <>. While here simplify condition.
hace 3 años
Anton Yuzhaninov
b3d5173446
[Minor] Make HAS_PHPMAILER_SIG regexps more specific
Use stricter regexp to avoid false matches.
hace 3 años
Vsevolod Stakhov
01c729e15e
[Rules] Fix FPs for CTYPE_MIXED_BOGUS
hace 3 años
Vsevolod Stakhov
017d5a8d6a
[Rules] Fix HTTP_TO_HTTPS rule
hace 3 años
Vsevolod Stakhov
8e9cde0829
[Rules] Do not trigger HTML_SHORT_LINK_IMG on external images
hace 3 años
Kako, Chang
b48c6fbdbf
Fix typos in code comments
hace 3 años
Vsevolod Stakhov
c9e91f011a
[Minor] Bitcoin: Another fix for bleach32 regexp
hace 3 años
Richard Schwab
7f7d408876
[Minor] fix typo: obfusicated -> obfuscated
hace 3 años
Vsevolod Stakhov
028e4ecefe
[Rules] Another fix to HTTP_TO_HTTPS rule
hace 3 años
Vsevolod Stakhov
e2d44157b3
[Rules] Fix HTTP_TO_HTTPS rule
hace 3 años
Vsevolod Stakhov
99c27fc7be
[Rules] Reduce default weight for R_MISSING_CHARSET
hace 3 años
Vsevolod Stakhov
ba5b6773e2
[Minor] Fix OMOGRAPH_URL for the changes in the phished flag
hace 3 años
Vsevolod Stakhov
cd151c848a
[Minor] Properly use task:set_recipients
hace 3 años
Alexander Moisseev
4aebb2b5de
[Fix] Fix Mozilla Message-ID detection
The left part of the Mozilla Message-ID is a hexadecimal timestamp. The regexp was mistakenly limited to 2021-01-14.
hace 3 años
Andrew Lewis
794bb6c241
[Fix] Avoid reinitialising neural settings
hace 3 años
Vsevolod Stakhov
1daf44c4b1
[Minor] Add another bounce re
hace 3 años
Pavel Rochnyack
4ea3250be3
Fix typos in code comments
hace 3 años
Vsevolod Stakhov
2ce745e592
[Minor] Fix missing comma
hace 3 años
Anton Yuzhaninov
38d347e23e
[Minor] Add rule for forged X-Mailer: Internet Mail Service
hace 3 años
Anton Yuzhaninov
badadf5051
[Minor] Add {header} for header regexps
hace 3 años
Anton Yuzhaninov
a9e9703a89
[Minor] Use task:has_header instead of task:get_header
Use task:has_header() to check if header is exists.
hace 3 años
Anton Yuzhaninov
027453fe4a
[Minor] Remove R_SAJDING and SUSPICIOUS_OPERA_10W_MSGID
These rules are no longer relevant.
hace 3 años
Anton Yuzhaninov
689c49dd1a
[Minor] Add FORGED_X_MAILER rule for X-Mailer used by spamboots
hace 3 años
Andrew Lewis
5104d145d7
[Minor] Move http_headers to plugin
- Support multiple DKIM results
- Insert DKIM trace symbols
- Always disable callbacks if we got a header
- Make the plugin default-disabled
- Disable callbacks instead of virtual symbols
hace 3 años
Andrew Lewis
960b608d35
[Feature] Add controller endpoint for training neural
- Move neural functions to library
- Parameterise spawn_train
- neural plugin: Fix store_pool_only when autotrain is true
- neural plugin: Use cache_set instead of mempool
- Add test
hace 3 años
Anton Yuzhaninov
c31d5ddde3
[Minor] Update regexp for R_UNDISC_RCPT
Match more variations for undisclosed-recipients, but don't match when
it is used as a lame real name.
hace 3 años
Anton Yuzhaninov
5d6b526c6b
[Minor] Add rule for old MUA version
These versions are rarely used by real uses nowadays, but can be found
in spam.
hace 3 años