How to use the zoomeye.zoomeye.ZoomEyeAPI.QRY.replace 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 jm33-m0 / mec / zoomeye / zoomeye.py View on Github external
put things together
    '''
    try:
        api_test()
    except (EOFError, KeyboardInterrupt, SystemExit):
        pass
    else:
        console.print_error('[-] Error with api_test')
        debug_traceback()

if __name__ == '__main__':
    try:
        ZoomEyeAPI.QRY = console.input_check(
            "[*] Your query is: ", allow_blank=False)
        ZoomEyeAPI.OUTFILE = '../data/zoomeye-{}.txt'.format(
                '-'.join(ZoomEyeAPI.QRY.replace(':', '_').split()))
        main()
    except KeyboardInterrupt:
        print('\n[*] Exiting...')
    else:
        debug_traceback()

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