From 21651affe94e5e877991a16a30f7512b49e8ddd5 Mon Sep 17 00:00:00 2001 From: koksnuss Date: Sun, 12 May 2019 15:07:03 +0200 Subject: [PATCH] Add auto reask functionality when using the password prompt --- have_I_b33n_pwned.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/have_I_b33n_pwned.py b/have_I_b33n_pwned.py index 1d9ab52..bad0932 100755 --- a/have_I_b33n_pwned.py +++ b/have_I_b33n_pwned.py @@ -52,6 +52,9 @@ def query(password): print(ROW.format(password, hash_searched, password_hash)) stdout.write(RESET) + if HIDDEN: + prompt_password() + if __name__ == '__main__': if len(argv) < 2: