Vsevolod Stakhov
d2ca787313
[Rules] Improve zero font rule
2 years ago
Vsevolod Stakhov
dde092ef09
[Minor] Fix checks safety
2 years ago
Vsevolod Stakhov
7a181b1fe6
[Minor] Add safety guards
2 years ago
Vsevolod Stakhov
f1f2f27585
[Minor] Pet luacheck
3 years ago
Vsevolod Stakhov
ea35232b98
[Project] Rework html visibility rule
3 years ago
Vsevolod Stakhov
3e5cc9ef2d
[Rules] Fix zerofont rule (partially)
3 years ago
Vsevolod Stakhov
017d5a8d6a
[Rules] Fix HTTP_TO_HTTPS rule
3 years ago
Vsevolod Stakhov
8e9cde0829
[Rules] Do not trigger HTML_SHORT_LINK_IMG on external images
3 years ago
Vsevolod Stakhov
028e4ecefe
[Rules] Another fix to HTTP_TO_HTTPS rule
3 years ago
Vsevolod Stakhov
e2d44157b3
[Rules] Fix HTTP_TO_HTTPS rule
3 years ago
Vsevolod Stakhov
663a156d5c
[Fix] Fix white on white rule and add is_leaf flag
4 years ago
Vsevolod Stakhov
90fb3cc286
[Fix] Fix embedded images linking logic
4 years ago
Vsevolod Stakhov
2ded1a6c45
[Rules] Improve html images detection logic
5 years ago
Vsevolod Stakhov
d31f486d55
[Fix] Fix groups mess
5 years ago
Vsevolod Stakhov
d4271e0a88
[Feature] Improve WHITE_ON_WHITE rule
6 years ago
Vsevolod Stakhov
d36a02d833
[Minor] Temporarily reset scores of new symbols unless tested
6 years ago
Vsevolod Stakhov
3311d34901
[Feature] Address ZeroFont exploit
6 years ago
Vsevolod Stakhov
48a8489567
[Fix] Cleanup mess with groups
6 years ago
Vsevolod Stakhov
e287d09848
[Fix] Fix enormous scores for R_WHITE_ON_WHITE
MFH: 1.6
6 years ago
Andrew Lewis
b51ce98889
[Minor] Fix tests
6 years ago
Andrew Lewis
76a60e836e
[Minor] WHITE_ON_WHITE: Use per-part transparency length
7 years ago
Andrew Lewis
74dfbe1912
[Fix] WHITE_ON_WHITE: Ensure score is matched to part that fired the rule
7 years ago
Steve Freegard
5ff5ec0a9f
Fix HTTP_TO_IP in the same way as HTTP_TO_HTTPS
7 years ago
Steve Freegard
77f3cfc710
Fix HTTP_TO_HTTPS where message is_html but get_html returns nil
7 years ago
Steve Freegard
9aa169e092
New rules
7 years ago
Vsevolod Stakhov
0ab83056ad
[Feature] Add EXT_CSS rule
7 years ago
Andrew Lewis
f63fa491d1
[Minor] Reduce scoring on some rules
7 years ago
Andrew Lewis
3590c28e73
[Minor] Lint Lua plugins & global functions
7 years ago
Andrew Lewis
c45aaab61f
[Minor] Some linting for rules
7 years ago
Vsevolod Stakhov
7a820f15c1
[Feature] Track visibility of HTML elements
7 years ago
Vsevolod Stakhov
f809803e8e
[Feature] Consider more tags when doing WHITE_ON_WHITE rule
7 years ago
Andrew Lewis
28866f6063
[Minor] Finish reworking rules
7 years ago
Vsevolod Stakhov
fd24c961ae
[Fix] Further fixes for white on white rule
7 years ago
Vsevolod Stakhov
d4dd679a8c
[Fix] Fix length calculations in white on white rule
7 years ago
Vsevolod Stakhov
b8132cfbab
[Fix] Some more fixes for low contrast fonts detector
7 years ago
Vsevolod Stakhov
842f6c31ca
[Feature] Try to avoid FP for low contrast fonts detection
7 years ago
Vsevolod Stakhov
ad36a88b58
[Feature] Properly implement R_WHITE_ON_WHITE rule
7 years ago
Vsevolod Stakhov
37b9edfcf5
[Fix] Trigger HTML_SHORT_LINK_IMG on any external image
7 years ago
Alexander Moisseev
029d2f4fa1
Don't trigger R_EMPTY_IMAGE on image links
as they covered with `HTML_SHORT_LINK_IMG_1` rule.
It should be safe for legitimate emails with images attached since `R_EMPTY_IMAGE` and `HTML_SHORT_LINK_IMG_1` won't be triggered at the same time any more.
8 years ago
Alexander Moisseev
af66bcae90
Don't trigger HTML_SHORT_LINK_IMG on small images
It's common for legitimate emails to have small image links (buttons, social networks junk e.t.c.)
8 years ago
Vsevolod Stakhov
bd9428b149
Fix html images rules to reduce FP rates
Suggested by: @moisseev
Issue: #525
8 years ago
Vsevolod Stakhov
b775598428
More sanity checks
8 years ago
Vsevolod Stakhov
94f5e3dcf6
Add safety guard for rule
8 years ago
Vsevolod Stakhov
c4bc17b845
SUSPICIOUS_IMAGES now trigger merely for embedded images
8 years ago
Vsevolod Stakhov
af1be71be0
Improve empty image rule.
8 years ago
Vsevolod Stakhov
0ea784ef25
Add `R_SUSPICIOUS_IMAGES` rule.
8 years ago
Vsevolod Stakhov
2e549cbde6
Rework HTML rules.
8 years ago
Vsevolod Stakhov
4135a3b422
Move lua rules to rules dir.
8 years ago
Vsevolod Stakhov
52833b8ca4
Make R_EMPTY_IMAGE tutorial function.
9 years ago
Vsevolod Stakhov
54fd0d2afb
Tune R_EMPTY_IMAGE to avoid false positives.
9 years ago