{"id":19199765,"url":"https://github.com/gwen001/favicon-hashtrick","last_synced_at":"2025-05-09T01:24:01.464Z","repository":{"id":96950054,"uuid":"563436634","full_name":"gwen001/favicon-hashtrick","owner":"gwen001","description":"Python script implementing the favicon hash trick to find subdomains.","archived":false,"fork":false,"pushed_at":"2023-03-28T15:47:46.000Z","size":805,"stargazers_count":30,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-20T11:32:13.750Z","etag":null,"topics":["bugbounty","favicon","pentesting","python","security-tools","shodan"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gwen001.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["gwen001"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-11-08T15:57:32.000Z","updated_at":"2025-03-25T12:05:50.000Z","dependencies_parsed_at":"2023-12-14T19:15:55.847Z","dependency_job_id":null,"html_url":"https://github.com/gwen001/favicon-hashtrick","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2Ffavicon-hashtrick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2Ffavicon-hashtrick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2Ffavicon-hashtrick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2Ffavicon-hashtrick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gwen001","download_url":"https://codeload.github.com/gwen001/favicon-hashtrick/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253172373,"owners_count":21865506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bugbounty","favicon","pentesting","python","security-tools","shodan"],"created_at":"2024-11-09T12:28:53.718Z","updated_at":"2025-05-09T01:24:01.440Z","avatar_url":"https://github.com/gwen001.png","language":"Python","funding_links":["https://github.com/sponsors/gwen001"],"categories":["Python"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003efavicon-hashtrick\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eReturns the hash of a given favicon file and performs search on Shodan to discover IPs and subdomains.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/python-v3-blue\" alt=\"python badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-green\" alt=\"MIT license badge\"\u003e\n    \u003ca href=\"https://twitter.com/intent/tweet?text=https%3a%2f%2fgithub.com%2fgwen001%2ffavicon-hashtrick%2f\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Fgithub.com%2Fgwen001%2Ffavicon-hashtrick\" alt=\"twitter badge\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003c!-- \u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/gwen001/favicon-hashtrickr?style=social\" alt=\"github stars badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/watchers/gwen001/favicon-hashtrick?style=social\" alt=\"github watchers badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/gwen001/favicon-hashtrick?style=social\" alt=\"github forks badge\"\u003e\n\u003c/p\u003e --\u003e\n\n---\n\n## Description\n\nThis Python tool calculates the hash of a given image (a favicon file or url) and then performs a search on Shodan to find webapps that use the same favicon.\nThis is very useful to find subdomains during the recon process.\n\n## Install\n\n```\ngit clone https://github.com/gwen001/favicon-hashtrick\ncd favicon-hashtrick\npip3 install -r requirements.txt\n```\n\n## Usage\n\n```\n$ python3 favicon-hashtrick.py -f \u003cfavicon_file\u003e\n$ python3 favicon-hashtrick.py -k xxxxxxxxxxxxxxxxxxxxx -v ip_str,hostnames -u \u003cfavicon_url\u003e\n```\n\n```\nusage: favicon-hashtrick.py [-h] [-b FAVFILE64] [-f FAVFILE] [-u FAVURL] [-k SHOKEY] [-v VALUES] [-s]\n\noptions:\n  -h, --help            show this help message and exit\n  -b FAVFILE64, --favfile64 FAVFILE64\n                        favicon source file (base64 format)\n  -f FAVFILE, --favfile FAVFILE\n                        favicon source file\n  -u FAVURL, --favurl FAVURL\n                        favicon source url\n  -k SHOKEY, --shokey SHOKEY\n                        Shodan API key\n  -v VALUES, --values VALUES\n                        values you want separated by comma, default: ip _str, can by: ip_str,http,data,domains,hash,ssl,timestamp,asn,_shodan,transport,os,isp,port,org,ip,tags,hostnames,location\n  -s, --silent          silent mode, only results displayed\n```\n\n---\n\n\u003cimg src=\"https://raw.githubusercontent.com/gwen001/favicon-hashtrick/main/preview.png\" /\u003e\n\n---\n\nFeel free to [open an issue](/../../issues/) if you have any problem with the script.  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgwen001%2Ffavicon-hashtrick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgwen001%2Ffavicon-hashtrick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgwen001%2Ffavicon-hashtrick/lists"}