mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-25 15:03:01 +08:00
Added verbosity and made it so things are properly sorted and unique.
This commit is contained in:
parent
dcb849de59
commit
d0b49f87e2
1 changed files with 3 additions and 3 deletions
|
@ -596,8 +596,8 @@ def start(argv):
|
||||||
print("\033[1;33;40m \n[+] IP addresses found in search engines:")
|
print("\033[1;33;40m \n[+] IP addresses found in search engines:")
|
||||||
print("------------------------------------")
|
print("------------------------------------")
|
||||||
print("Total IP addresses: " + str(len(all_ip)) + "\n")
|
print("Total IP addresses: " + str(len(all_ip)) + "\n")
|
||||||
for i in all_ip:
|
for ip in sorted(list(set(all_ip))):
|
||||||
print(i)
|
print(ip)
|
||||||
print("\n\n[+] Emails found:")
|
print("\n\n[+] Emails found:")
|
||||||
print("------------------")
|
print("------------------")
|
||||||
|
|
||||||
|
@ -626,7 +626,7 @@ def start(argv):
|
||||||
else:
|
else:
|
||||||
total = len(all_hosts)
|
total = len(all_hosts)
|
||||||
print(("\nTotal hosts: " + str(total) + "\n"))
|
print(("\nTotal hosts: " + str(total) + "\n"))
|
||||||
all_hosts = sorted(set(all_hosts))
|
all_hosts = sorted(list(set(all_hosts)))
|
||||||
for host in all_hosts:
|
for host in all_hosts:
|
||||||
print(host)
|
print(host)
|
||||||
print("\033[94m[-] Resolving hostnames IPs...\033[1;33;40m \n ")
|
print("\033[94m[-] Resolving hostnames IPs...\033[1;33;40m \n ")
|
||||||
|
|
Loading…
Reference in a new issue