summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortslil clingman <>2020-11-15 22:38:21 -0500
committertslil clingman <>2020-11-15 22:38:21 -0500
commitfba0ecc4a5b9cfcc703d34bd173f9a7aa91404e4 (patch)
tree190cd6bf5c0e32dcbbd388a8a747d5de74c2057f
parent5478fbed90714b019073273ad9234dd71bd0cac2 (diff)
Slow down password entry
-rwxr-xr-xbadpass4
1 files changed, 2 insertions, 2 deletions
diff --git a/badpass b/badpass
index afb49d5..4d03eb9 100755
--- a/badpass
+++ b/badpass
@@ -25,9 +25,9 @@ echo
USEKEYCHAIN () {
expect - <<EOF
spawn keychain --nogui --quiet $1
-set send_slow {1 0.001}
+set send_slow {1 0.01}
expect {
- "Enter passphrase for $HOME/.ssh/$1:"; { send -s "$2\n"; }
+ "Enter passphrase for $HOME/.ssh/$1:"; { send -s "$2\n"; echo DONE; }
}
EOF
echo