Hi GNUser
Quote from
https://github.com/ii8/havoc/issues/50#issuecomment-1783907710In havoc, ls | sort and all other pipelines work fine. Strangely, the problem seems limited to pipelines containing yes command. ...
Nothing strange about it:
yes "password" | bcrypt somefile
yes starts writing "password"s to the pipe (FIFO).
bcrypt reads the first "password" and then the second one to confirm.
bcrypt encrypts the file and then exits.
When bcrypt exits, the pipe gets destroyed.
When yes attempts the next write, it encounters a write error and terminates.
The way to stop yes is to terminate it with Ctrl-C, kill, break the pipe, etc.
The broken pipe is the normal way to terminate yes , not an error in this case.