aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-15 21:53:18 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-15 21:53:18 +0200
commit78c46e3e6960f4bae0e2ec1aa2f1786715f5922c (patch)
treeb2cc713852bae81330d64116602e46e43555c985
parent434942c72230289353276ba3f5ac0ddc34c6c010 (diff)
downloadrtty-78c46e3e6960f4bae0e2ec1aa2f1786715f5922c.tar.gz
Match "pass phrase" with a space
-rw-r--r--rtty.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rtty.c b/rtty.c
index 95c0065..dbb309e 100644
--- a/rtty.c
+++ b/rtty.c
@@ -166,7 +166,9 @@ main(int argc, char *argv[])
if(strstr(bo, "password")
|| strstr(bo, "Password")
|| strstr(bo, "passphrase")
- || strstr(bo, "Passphrase")){
+ || strstr(bo, "Passphrase")
+ || strstr(bo, "pass phrase")
+ || strstr(bo, "Pass phrase")){
getpw(pw);
dprintf(fdin, "%s\n", pw);
}