patator
patator copied to clipboard
fix: progress display is shown when it should not
Patator spams status messages when the standard input is redirected, for instance when it runs in a bash loop. Below is a video capturing the issue. This fix disables the interactive features when the standard input is not a tty. Another solution would be to change the status command from "<Enter>" to some other letter.
The bug happens for example when running like this:
./patator.py ssh_login host=127.0.0.1 port=2222 user=user password=password </dev/null
https://github.com/lanjelot/patator/assets/23148601/6a085816-be6e-4fcc-812e-d68a12a3d0fa
Hello, is there any progress on this issue?