adcar / zoomeye-search Goto Github PK
View Code? Open in Web Editor NEWA standalone, lightweight Python script for fetching IPs (or URLs) from ZoomEye search results.
License: GNU General Public License v3.0
A standalone, lightweight Python script for fetching IPs (or URLs) from ZoomEye search results.
License: GNU General Public License v3.0
Hi!
I'm a big fan of this tool, I would like to thank you for sharing this with the community :) I was wondering if it would be possible to add an option for saving the 'domains' or 'hostnames' instead of IPs in results.txt ?
Thank you for your time
zoomeye +country is empty
Hi,
Since only today, I'm getting the following error msg when performing a search:
Traceback (most recent call last): File "zoomeye.py", line 120, in <module> getResult() File "zoomeye.py", line 80, in getResult response = json.loads(SEARCH.text) File "/usr/lib/python3.6/json/__init__.py", line 354, in loads return _default_decoder.decode(s) File "/usr/lib/python3.6/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I've used the same tools the last few days without issue, can you confirm if this is an issue with ZoomEye API and which one exactly would it be? I can contact them with the technical details to fix it.
Thank you for your time !
There's an issue, I'm experiencing with the script.
Sometimes it works fine and I get the search results properly saved in a file, but, many times, the file is empty, despite the message, that X ip's are saved to the file.
Thanks for your work, this is the only properly working zoomeye script, I could find on github.
Small feature request, is to add the port string to the results, so, if possible, the result for the search will look like:
ip:port
xx.xxx.xx.x:xx
Thanks again!
Have been running the script for months, with no issues, now getting an error.
Upgraded the script to the latest, but didn't help.
Thanks.
File "zoomeye.py", line 112
print(BLUE + "[*] Parsing page: " + str(page), end='\r')
^
SyntaxError: invalid syntax
Hi!
Thanks for adding the domain option so quickly :) I tried it with the following syntax:
python3 zoomeye.py -p 10 --email my@email --password my-password -s --domain "wordpress"
all the results i got was only IPs, no domains
Thank you for your time
sirius@blackb0x:~/ZoomEye/test/zoomeye-search$ python3 zoomeye.py -p 10 --email [email protected] --password my_pass -q "'Tomcat' +port:8080" -s tomcat_test.txt
[] You have enabled save. All IPs will be saved to tomcat_test.txt
[] Logging in as [email protected]
Traceback (most recent call last):
File "zoomeye.py", line 229, in
main()
File "zoomeye.py", line 218, in main
getResult()
File "zoomeye.py", line 164, in getResult
TOKEN = "JWT " + getToken()
File "zoomeye.py", line 81, in getToken
ACCESS_TOKEN = AUTH_REQUEST.json()['access_token']
File "/usr/lib/python3/dist-packages/requests/models.py", line 740, in json
return json.loads(self.content.decode(encoding), **kwargs)
File "/usr/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Hello, I'm trying to use the script but it is not working anymore. could you take a look and see if you can fix it?
Hi!
I'm getting this error msg since only today. In the last few days everything was working fine.
sirius@blackb0x:~/ZoomEye/zoomeye-search$ python zoomeye.py -p 1000 --email [email protected] --password my-pass -s "'app:weblogic' +port:7001"
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:334: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:132: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Traceback (most recent call last):
File "zoomeye.py", line 33, in
AUTH_REQUEST = requests.post(API_URL + '/user/login', data=USER_DATA)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 110, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 497, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: hostname 'api.zoomeye.org' doesn't match 'api.zoomeye.org.cn'
Any help would be very appreciated.
Thanks.
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.