Python script to generate the MMH3 hash for a favicon for searching online.
Takes user provided url for a Favicon and creates a MurMurHash3 hash. The output provides the search string for pasting in to Shonda.io to search for the hash. This is a modified version of the script posted on the SANS ISC Diary (https://isc.sans.edu/diary/Hunting+phishing+websites+with+favicon+hashes/27326)
#TODO: Right now clone repo, create a virtual environment, install requirements.
git clone https://github.com/crattis/favion_hash_search.git
cd favionc_hash_search
python -m venv .venv --propmt FHS
source .venv/bin/activate
python -m pip install -r requirements.txt
From within the python virtual environment for script (See Installation comment above)
python favicon_hash_search http://www.google.com/favicon.ico
To work on development, install like it says in the installation environment above.
- Make an installable package
- Add Hash and Shodan options to argparse (default hash)
Hash will return current version output Shodan will return current output and seach shodan saving to csv. - Look in to beautiful soup to see if the favicon can be pulled directly fro the domains
(will probably be open for a long time)
- 0.0.1
- Work in progress
Chris J – @rattis
Distributed under the MIT license. See LICENSE
for more information.