phisher

Phishing detection gem

Usage

To import phisher simply

gem install phisher

To check if a url is phishy simply call

phisher.verify("www.google.com") # => :safe
phisher.verify("faizbook.nz") # => :phishy
phisher.verify("someunknownsite.com") # => :unknown

Black and White lists

Phisher can be trained to reject any url in a blacklist and verify any url in a whitelist.

phisher = Phisher.new

# A list of urls, can optionaly contain wildards i.e. myblog.blogger.com/*
phisher.blacklist = blacklisted_links

# A list of whitelisted domains. Can also contain wildcards
phisher.whitelist = whitelisted_domains

Training a Phisher

Black/White lists are great but they do have drawbacks, namely they are not easily extensible. To improve Phisher you should train it to detect phishing.

Contributing to phisher

Copyright © 2014 fhur. See LICENSE.txt for further details.