Browse Source

[Minor] Use more strict regex in LEAKED_PASSWORD_SCAM

to avoid matching `passwordless`
tags/1.9.0
Alexander Moisseev 5 years ago
parent
commit
13e5863d60
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      rules/regexp/misc.lua

+ 2
- 2
rules/regexp/misc.lua View File

@@ -64,7 +64,7 @@ reconf['HAS_ONION_URI'] = {
local my_victim = [[/(?:victim|prey)/{words}]]
local your_webcam = [[/webcam/{words}]]
local your_onan = [[/(?:mast[ur]{2}bati(?:on|ng)|onanism|solitary)/{words}]]
local password_in_words = [[/^pass(?:(?:word)|(?:phrase))/i{words}]]
local password_in_words = [[/^pass(?:(?:word)|(?:phrase))$/i{words}]]
local btc_wallet_address = [[/^[13][0-9a-zA-Z]{25,34}$/{words}]]
local wallet_word = [[/^wallet$/{words}]]
local broken_unicode = [[has_flag(bad_unicode)]]
@@ -93,4 +93,4 @@ reconf['LEAKED_PASSWORD_SCAM'] = {
},
score = 7.0,
group = 'scams'
}
}

Loading…
Cancel
Save