mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[commons] improvement: not displaying any output related to '[sudo] password'
This commit is contained in:
@@ -195,6 +195,9 @@ class ProcessHandler:
|
||||
except UnicodeDecodeError:
|
||||
continue
|
||||
|
||||
if line.startswith('[sudo] password'):
|
||||
continue
|
||||
|
||||
output.write(line)
|
||||
|
||||
line = line.strip()
|
||||
|
||||
Reference in New Issue
Block a user