khast3x / h8mail

Email OSINT & Password breach hunting tool, locally or using premium services. Supports chasing down related email
Other
4.14k stars 518 forks source link

Hide worker output during local search #124

Open tigre-bleu opened 3 years ago

tigre-bleu commented 3 years ago

Env

Description

When searching in a local breach with -lb a lot of output is sent to stdout with the worker status.

[~] Worker [21300] is searching for targets in /var/leaks/Collection 1/Collection  #1_Monetary combos/10.txt (3 MB)                 
[~] Worker [21301] is searching for targets in /var/leaks/Collection 1/Collection  #1_Monetary combos/25.txt (3 MB)                 
[~] Worker [21302] is searching for targets in /var/leaks/Collection 1/Collection  #1_Monetary combos/29.txt (3 MB)                 
[~] Worker [21299] is searching for targets in /var/leaks/Collection 1/Collection  #1_Monetary combos/19.txt (3 MB)                 
[~] Worker [21301] is searching for targets in /var/leaks/Collection 1/Collection  #1_Monetary combos/26.txt (3 MB)                 
[~] Worker [21302] is searching for targets in /var/leaks/Collection 1/Collection  #1_Monetary combos/23.txt (3 MB)                 
[~] Worker [21300] is searching for targets in /var/leaks/Collection 1/Collection  #1_Monetary combos/41.txt (3 MB)                 
[~] Worker [21299] is searching for targets in /var/leaks/Collection 1/Collection  #1_Monetary combos/65.txt (3 MB)                 
[~] Worker [21300] is searching for targets in /var/leaks/Collection 1/Collection  #1_Monetary combos/4.txt (3 MB)                  
[~] Worker [21302] is searching for targets in /var/leaks/Collection 1/Collection  #1_Monetary combos/18.txt (3 MB)    

In most case it is useless and clutters the terminal display.

Either this output shall be disabled by default and only shown with the verbose flag, or an option shall exist to hide it.