stratosphereips / whois-similarity-distance

This python scripts can calculate the WHOIS Similarity Distance between two given domains.
MIT License
30 stars 7 forks source link

WHOIS Similarity Distance

This algorithm allows you to determine a numeric distance between two given domains, using their WHOIS information. This work is part of my master thesis and the soonest possible I going to add more theoric information and the experiments have been carried out for this algorithm.

Authors

Getting started

git clone git@github.com:stratosphereips/whois-similarity-distance.git
pip install -r requirements.txt
python ./wsd_domains.py google.com cisco.com

Using pip

You can find whois_similarity_distance in Pypi

pip install whois_similarity_distance 

Optional

WSD scripts works with pythonwhois library to get the WHOIS information of the domains. However, it is possible to use passivetotal library. It is the official library provided by the RiskIQ community. For using passivetotal to get WHOIS information, you must have a account in RiskIQ and follow the next instructions:

git clone git@github.com:stratosphereips/whois-similarity-distance.git
pip install -r requirements.txt
pt-config setup <USER-EMAIL> <USER-API-KEY>
python ./wsd_domains.py google.com cisco.com -wl pt