pielco11 / fav-up Goto Github PK
View Code? Open in Web Editor NEWIP lookup by favicon using Shodan
License: MIT License
IP lookup by favicon using Shodan
License: MIT License
shodan generates a different hash than the tool does and also the modems doesn't use the fav.icon direct url but
a custom one like images/banner.ico
or even gifs
so what's the work around ?
It is giving me,
Mask-IP: 104.26.15.225
Mask-ISP: CLOUDFLARENET
Favicon Hash: -1690082520
Traceback (most recent call last):
File "main.py", line 47, in <module>
shodanSearch(favhash)
File "main.py", line 31, in shodanSearch
results = shodan.search(f"http.favicon.hash:{favhash}")
File "/home/runner/.local/share/virtualenvs/python3/lib/python3.7/site-packages/shodan/client.py", line 498, in search
return self._request('/shodan/host/search', args)
File "/home/runner/.local/share/virtualenvs/python3/lib/python3.7/site-packages/shodan/client.py", line 321, in _request
raise APIError(error)
shodan.exception.APIError: Please upgrade your API plan to use filters or paging.
I don't have any paid membership
Do I need a paid membership in order to use this?
Hi Francesco,
fav-up returns this error on line 131
File "favUp.py", line 131
self._iterator.set_description(f'[+] Using Favicon Hash as parameter')
^
SyntaxError: invalid syntax
command run: python3 favUp.py –favicon-url http://www.EXAMPLE.com/favicon.ico
root@dsfsf7:/home/mohammed_sec2010/fav-up# python3 favUp.py --favicon-url https://www.zxzxzxzx.com/assets/favicon.ico
Mask-IP: xx.xxx.x.x.x
Mask-ISP: CLOUDFLARENET
Favicon Hash: 1ccccccccccc
Traceback (most recent call last):
File "favUp.py", line 51, in
Traceback (most recent call last):
File "favUp.py", line 51, in
shodanSearch(favhash)
File "favUp.py", line 28, in shodanSearch
results = shodan.search(f"http.favicon.hash:{favhash}")
File "/usr/local/lib/python3.7/site-packages/shodan/client.py", line 498, in search
return self._request('/shodan/host/search', args)
File "/usr/local/lib/python3.7/site-packages/shodan/client.py", line 321, in _request
raise APIError(error)
shodan.exception.APIError: Invalid API key
Under section Credits
The link given in this line is broken,
stanley_HAL told me how Shodan calculates the favicon hash. @pielco11 @aancw
For those who are wondering, yes that's ToS compliant
I'm getting following error
python favUp.py
Traceback (most recent call last):
File "/root/Tools/fav-up/favUp.py", line 299, in <module>
FavUpApp = FavUp(show=True)
File "/root/Tools/fav-up/favUp.py", line 43, in __init__
self.ua = UserAgent(use_external_data=True, cache_path=self.ua_json_location)
TypeError: FakeUserAgent.__init__() got an unexpected keyword argument 'use_external_data'
all from requirements folder is installed and using Python 3.10.12
Sometimes the target is blocked by cloudflare captcha when doing scraping.
https://www.criminalip.io/ - Criminal IP is a specialized Cyber Threat Intelligence (CTI) search engine that allows users to search for various security-related information such as malicious IP addresses, domains, banners, etc. It can be widely integrated
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.