Browse Source

[Minor] Phishing: Small safety check

tags/3.0
Vsevolod Stakhov 3 years ago
parent
commit
6c1217f0eb
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/plugins/lua/phishing.lua

+ 3
- 1
src/plugins/lua/phishing.lua View File

@@ -186,7 +186,9 @@ local function phishing_cb(task)
local dsym = task:get_symbol('DMARC_POLICY_ALLOW')
if dsym then
dsym = dsym[1] -- legacy stuff, need to take the first element
dmarc_dom = dsym.options[1]
if dsym.options then
dmarc_dom = dsym.options[1]
end
end

local urls = task:get_urls() or {}

Loading…
Cancel
Save