Class: HomographicSpoofing::Detector::Rule::Idn::Digits
- Inherits:
-
Base
- Object
- Base
- HomographicSpoofing::Detector::Rule::Idn::Digits
- Defined in:
- lib/homographic_spoofing/detector/rule/idn/digits.rb
Overview
-
of Google Chrome IDN policy
Instance Method Summary collapse
Instance Method Details
#attack_detected? ⇒ Boolean
3 4 5 |
# File 'lib/homographic_spoofing/detector/rule/idn/digits.rb', line 3 def attack_detected? contains_digit_lookalike? && contains_only_digits_or_digit_lookalike? end |