print('\n\n') cmseek.info("CMSeeK Version: " + cmseek.cmseek_version) cmseek.bye() if args.user_agent is not None: cua = args.user_agent elif args.random_agent is not None: cua = cmseek.randomua('random') else: cua = None if args.googlebot: cua = 'Googlebot/2.1 (+http://www.google.com/bot.html)' if args.url is not None: s = args.url target = cmseek.process_url(s) if target != '0': if cua == None: cua = cmseek.randomua() core.main_proc(target, cua) cmseek.handle_quit() elif args.list is not None: sites = args.list cmseek.clearscreen() cmseek.banner("CMS Detection And Deep Scan") sites_list = [] try: ot = open(sites, 'r') file_contents = ot.read().replace('\n', '') sites_list = file_contents.split(',') except FileNotFoundError:
def cmseekapi(target, cua=None): target = cmseek.process_url(target) if cua == None: cua = cmseek.randomua() core.main_proc(target, cua)