3 ms·
It's interesting, but what's the use case? I'm concerned about leaking secrets, since all command output is logged, and I'm concerned about denial of service, s
by CGamesPlay 5y ago
It's interesting, but what's the use case? I'm concerned about leaking secrets, since all command output is logged, and I'm concerned about denial of service, since it's easy to generate arbitrary amounts of output which would then be persisted (and I assume I could run bash within bash 10 times to 10x multiply my log output).
- strang1ato 5y ago> but what's the use case? I am often in a situation where bash/zsh history is not enough and I need to retrieve some command executed in the past with its output, or I need to retrieve set of commands which were executed in certain directory and in certain time period etc. > I'm concerned about leaking secrets, since all command output is logged Normally bash does not save commands which start with space, I plan to implement this feature to nhi as well, namely nhi will ignore all commands that starts with space. Thanks for the comment, I will try to address the denial of service issue in the future.