How to use the zoomeye.ZoomEye function in zoomeye

To help you get started, we’ve selected a few zoomeye examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github knownsec / ZoomEye / zoomeye.py View on Github external
def zoomeye_api_test():
    zoomeye = ZoomEye()
    zoomeye.username = raw_input('ZoomEye Username: ')
    zoomeye.password = getpass.getpass(prompt='ZoomEye Password: ')
    zoomeye.login()
    print(zoomeye.resources_info())

    data = zoomeye.dork_search('solr')
    show_site_ip(data)

    data = zoomeye.dork_search('country:cn')
    show_site_ip(data)

    data = zoomeye.dork_search('solr country:cn')
    show_site_ip(data)

    data = zoomeye.dork_search('solr country:cn', resource='host')
    show_ip_port(data)
github SuperBuker / CamHell / processmodel.py View on Github external
def __init__(self, tID, q):
        """ZoomEyeProc init function, defines id and feeding queue"""

        FeederBase.__init__(self, tID, 'ZoomEyeProc', q)
        self.api = zoomeye.ZoomEye()
        self.api.username = Zoom_CREDS[0]
        self.api.password = Zoom_CREDS[1]
        self.api.login()

zoomeye

Python library and command-line tool for ZoomEye (https://www.zoomeye.org/doc)

GPL-2.0
Latest version published 2 years ago

Package Health Score

48 / 100
Full package analysis