Review Article
Phishing Detection: Analysis of Visual Similarity Based Approaches
Algorithm 1
Algorithm to compare CSS between two pages (suspicious and legitimate) [
69].
(1) Fetch style sheet from suspicious website | (2) Fetch style sheet of legitimate website | (3) for each elements of suspicious website | (4) for each element legitimate website | (5) for each | (6) If () then tag++ | (7) If () then class++ | (8) If () then id++ | (9) If () then other++ | (10) Selector = , | (11) end for | (12) end for | (13) end for | (14) | (15) if () then “URL is phishing” | (16) else “URL is Innocent” | (17) end if |
|