def harvest_email_search(self, domain_name): log.console_log(G + "[*] Perfoming Email Harvest from Google Search..." + W) harvest = HarvestEmail() harvest_result = harvest.crawl_search(domain_name) log.console_log(Y + "[*] Found " + str(len(harvest_result)) + " emails on domain " + domain_name + W) log.console_log(R + '\n'.join(harvest_result) + W)
def harvest_email_search(self, domain_name): log.console_log(G + "[*] Perfoming Email Harvest from Google Search..." + W) harvest = HarvestEmail() harvest_result = harvest.crawl_search(domain_name) try: log.console_log(Y + "[*] Found " + str(len(harvest_result)) + " emails on domain " + domain_name + W) log.console_log(R + '\n'.join(harvest_result) + W) except Exception, exc: log.console_log(R + "[-] Not found or Unavailable. " + str(harvest_result) + W)
def harvest_email_pgp(self, domain_name, proxy_address): harvest = HarvestEmail() harvest_result = harvest.crawl_pgp_mit_edu(domain_name, proxy_address) try: log.console_log("{}[*] Found {} emails on domain {}{}".format( Y, str(len(harvest_result)), domain_name, W)) log.console_log("{}{}{}".format(R, '\n'.join(harvest_result), W)) except Exception, exc: log.console_log("{}[-] Not found or Unavailable. {}{}".format( R, str(harvest_result), W))
def harvest_email_pgp(self, domain_name, proxy_address): log.console_log("{}[*] Perfoming Email Harvest from PGP Server...{}".format(G, W) ) harvest = HarvestEmail() harvest_result = harvest.crawl_pgp_mit_edu(domain_name, proxy_address) try: log.console_log("{}[*] Found {} emails on domain {}{}".format(Y, str(len(harvest_result)), domain_name, W)) log.console_log("{}{}{}".format(R, '\n'.join(harvest_result), W)) self.db.update_pgp_email(self.project_id, util.clean_list_string(harvest_result)) except Exception, exc: log.console_log("{}[-] Not found or Unavailable. {}{}".format(R, str(harvest_result), W ))
def harvest_email_search(self, domain_name, proxy_address): log.console_log( "{}[*] Perfoming Email Harvest from Google Search...{}".format( G, W)) harvest = HarvestEmail() harvest_result = harvest.crawl_search(domain_name, proxy_address) try: log.console_log("{}[*] Found {} emails on domain {}{}".format( Y, str(len(harvest_result)), domain_name, W)) log.console_log("{}{}{}".format(R, '\n'.join(harvest_result), W)) except Exception, exc: log.console_log("{}[-] Not found or Unavailable. {}{}".format( R, str(harvest_result), W))