Class: HomographicSpoofing::Detector::Rule::MixedScripts

Inherits:
Base
  • Object
show all
Defined in:
lib/homographic_spoofing/detector/rule/mixed_scripts.rb

Overview

  1. of Google Chrome IDN policy See www.unicode.org/reports/tr39/#highly_restrictive

Instance Method Summary collapse

Instance Method Details

#attack_detected?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/homographic_spoofing/detector/rule/mixed_scripts.rb', line 3

def attack_detected?
  !highly_restrictive_scripts_combination?
end