FavXHasher is a simple command-line tool designed to calculate the hash value of a favicon from a given URL. This tool can be particularly useful for detecting potential phishing websites by leveraging Shodan's search capabilities.
python FavXHasher.py -u http://example.com/favicon.ico
____ __ ____ ___ .___________. __ ______ .__ __.
\ \ / \ / / / \ | || | / __ \ | \ | |
\ \/ \/ / / ^ \ `---| |----`| | | | | | | \| |
\ / / /_\ \ | | | | | | | | | . ` |
\ /\ / / _____ \ | | | | | `--' | | |\ |
\__/ \__/ /__/ \__\ |__| |__| \______/ |__| \__|
FavXHasher v1.0
[+] Favicon Hash is: -1264334574
[!] Use http.favicon.hash:-1264334574 on Shodan to detect potential phishing websites.
- Python 3.7 or later
pip
package manager
- Clone this repository:
git clone https://github.com/TheWation/FavXHasher.git
cd FavXHasher
- Install the required dependencies:
pip install -r requirements.txt
To use FavXHasher, simply run the script with the -u
or --url
option followed by the URL of the favicon you want to generate the hash for. For example:
python FavXHasher.py -u http://example.com/favicon.ico
After executing the command, FavXHasher will fetch the favicon from the provided URL, calculate its hash value, and display the result along with a tip on how to use it with Shodan to detect potential phishing sites.
FavXHasher is provided for educational and informational purposes only. The authors do not condone or support any illegal activities that may be carried out using this tool. It is the responsibility of the user to ensure that they have appropriate authorization before using this tool on any website.
FavXHasher
is made with โฅ by Wation and it's released under the MIT
license.