ZoomEye is a search engine for cyberspace that lets the user find specific network components(ip, services, etc.).
Project description
ZoomEye is a search engine for cyberspace that lets the user find specific network components(ip, services, etc.).
ZoomEye API is a web service that provides convenient access to ZoomEye features, data, information over HTTPS. The platform API empowers developers to automate, extend and connected with ZoomEye. You can use the ZoomEye platform API to programmatically create apps, provision some add-ons and perform some automate tasks. Just imagine that what you could do amazing stuff with ZoomEye.
How to install ZoomEye SDK
$ sudo easy_install zoomeye-SDK
or
$ sudo pip install git+https://github.com/knownsec/ZoomEye.git
How to use ZoomEye SDK
locate zoomeye.py, and try to execute it as follow:
# use API-KEY $ python zoomeye.py ZoomEye API-KEY(If you don't use API-KEY , Press Enter): 3******f-b**9-a***c-3**5-28******fd8 ZoomEye Username: ZoomEye Password: {'plan': 'developer', 'resources': {'search': 9360, 'stats': 100, 'interval': 'month'}} ec2-1*7-**-***-116.compute-1.amazonaws.com ['1*7.**.***.116'] myh****life.com ['**.35.*.5'] ... 113.**.**.161 1611 113.**.***.63 1611
or
# use username and password to login $ python zoomeye.py ZoomEye API-KEY(If you don't use API-KEY , Press Enter): ZoomEye Username: username@zoomeye.org ZoomEye Password: {'plan': 'developer', 'resources': {'search': 9280, 'stats': 100, 'interval': 'month'}} ec2-1*7-**-***-116.compute-1.amazonaws.com ['1*7.**.***.116'] myh****life.com ['**.35.*.5'] ... 113.***.*.35 1611 113.***.**.162 1611
zoomeye.py can be also a library. You can choose to log in with your account Username and Password or use API-KEY to search. API-KEY can be found https://www.zoomeye.org/profile. ex:
>>> print(zoomeye.ZoomEye(username=username, password=password).login()) or >>> zm = zoomeye.ZoomEye(api_key="3******f-b**9-a***c-3**5-28******fd8")
$ python3 Python 3.8.5 (default, Aug 19 2020, 14:11:20) [Clang 11.0.3 (clang-1103.0.32.62)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import zoomeye >>> dir(zoomeye) ['ZoomEye', '__author__', '__builtins__', '__cached__', '__classes__', '__description__', '__doc__', '__file__', '__funcs__', '__license__', '__loader__', '__name__', '__package__', '__spec__', '__version__', 'getpass', 'raw_input', 'requests', 'show_ip_port', 'show_site_ip', 'sys', 'zoomeye_api_test'] >>> # Use username and password to login >>> zm = zoomeye.ZoomEye() >>> zm.username = 'username@zoomeye.org' >>> zm.password = 'password' >>> print(zm.login()) ....JIUzI1NiIsInR5cCI6IkpXVCJ9..... >>> data = zm.dork_search('apache country:cn') >>> zoomeye.show_site_ip(data) 213.***.***.46.rev.vo***one.pt ['46.***.***.213'] me*****on.o****e.net.pg ['203.***.***.114'] soft********63221110.b***c.net ['126.***.***.110'] soft********26216022.b***c.net ['126.***.***.22'] soft********5084068.b***c.net ['126.***.***.68'] soft********11180040.b***c.net ['126.***.***.40'] >>> # Use API-KEY >>> zm = zoomeye.ZoomEye(api_key="3******f-b**9-a***c-3**5-28******fd8") >>> data = zm.dork_search('apache country:cn') >>> zoomeye.show_site_ip(data) 213.***.***.46.rev.vo***one.pt ['46.***.***.213'] me*****on.o****e.net.pg ['203.***.***.114'] soft********63221110.b***c.net ['126.***.***.110'] soft********26216022.b***c.net ['126.***.***.22'] soft********5084068.b***c.net ['126.***.***.68'] soft********11180040.b***c.net ['126.***.***.40']
How to use ZoomEye API
1) Authenticate If a valid ZoomEye credential (username and password), please use the credential for authentication.
curl -XPOST https://api.zoomeye.org/user/login -d '{ "username": "foo@bar.com", "password": "foobar" }'
2) ZoomEye Dorks When everything goes ok, you can try to search ZoomEye Dorks with ZoomEye API Token.
curl -X GET https://api.zoomeye.org/host/search?query="port:21"&page=1&facet=app,os \ -H "Authorization: JWT eyJhbGciOiJIUzI1NiIsInR5..."
If you want more, please access ZoomEye API References.
Change Log
v1.0.6(10 Nov 2020):Add API-KEY usage;Change default search resource type to “host”
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file zoomeye-sdk-1.0.6.tar.gz
.
File metadata
- Download URL: zoomeye-sdk-1.0.6.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a34ce0e79637c83b55496673df8f085e36996ca2015b39dca3f877fce770e968 |
|
MD5 | 68fed6a85ffff67caeda97f14b4a3e0b |
|
BLAKE2b-256 | 5329574ed03560f0ca835e65e30c83e21eeb4da99af76118ea3f3dfd2f14a7e3 |