From 96554418e30780f230b27a2fbbce88a59574d866 Mon Sep 17 00:00:00 2001 From: Thomas Defise Date: Mon, 17 Dec 2018 14:29:48 +0100 Subject: [PATCH 1/2] test --- theHarvester.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/theHarvester.py b/theHarvester.py index 50d221aa..dd643a7c 100755 --- a/theHarvester.py +++ b/theHarvester.py @@ -12,7 +12,7 @@ except: print("Requests library not found, please install it before proceeding\n") sys.exit() - + try: import bs4 except: @@ -157,7 +157,7 @@ def start(argv): all_emails = [] db=stash.stash_manager() db.store_all(word,all_hosts,'host','netcraft') - + if engineitem == "google-certificates": print ("[-] Searching in Google Certificate transparency report..") search = googlecertificates.search_googlecertificates(word, limit, start) @@ -175,7 +175,7 @@ def start(argv): all_emails = [] db=stash.stash_manager() db.store_all(word,all_hosts,'host','threatcrowd') - + if engineitem == "virustotal": print("[-] Searching in Virustotal:") search = virustotal.search_virustotal(word) @@ -184,7 +184,7 @@ def start(argv): all_emails = [] db=stash.stash_manager() db.store_all(word,all_hosts,'host','virustotal') - + if engineitem == "crtsh": print("[-] Searching in CRT.sh:") search = crtsh.search_crtsh(word) From 24ed98e373d315813fd637d5a9062c3ab193d444 Mon Sep 17 00:00:00 2001 From: Thomas Defise Date: Mon, 17 Dec 2018 17:05:11 +0100 Subject: [PATCH 2/2] Change hunterio to hunter --- theHarvester.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theHarvester.py b/theHarvester.py index dd643a7c..72c96b26 100755 --- a/theHarvester.py +++ b/theHarvester.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python import sys import os @@ -48,7 +48,7 @@ def usage(): print(" -d: Domain to search or company name") print(""" -b: data source: baidu, bing, bingapi, cenysy, crtsh, dogpile, google, google-certificates, googleCSE, googleplus, google-profiles, - hunterio, linkedin, netcraft, pgp, threatcrowd, + hunter, linkedin, netcraft, pgp, threatcrowd, twitter, vhost, virustotal, yahoo, all""") print(" -g: use google dorking instead of normal google search") print(" -s: start in result number X (default: 0)")