mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +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:
|
except UnicodeDecodeError:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if line.startswith('[sudo] password'):
|
||||||
|
continue
|
||||||
|
|
||||||
output.write(line)
|
output.write(line)
|
||||||
|
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
|
|||||||
Reference in New Issue
Block a user