From 8f59d1d993f1cd2fd71934abf81313b88c7942c5 Mon Sep 17 00:00:00 2001 From: STM Date: Tue, 22 Jan 2019 16:50:50 -0500 Subject: [PATCH 1/2] Update kdbxpasswordpwned.py --- kdbxpasswordpwned.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdbxpasswordpwned.py b/kdbxpasswordpwned.py index 1c026eb..191e653 100755 --- a/kdbxpasswordpwned.py +++ b/kdbxpasswordpwned.py @@ -21,7 +21,7 @@ def build_parser(): def check_hash(password): h = hashlib.sha1(password).hexdigest().upper() hh = h[5:] - for l in requests.get('https://api.pwnedpasswords.com/range/' + h[:5]).content.splitlines(): + for l in requests.get('https://domaine.wtf/range/' + h[:5]).content.splitlines(): ll = l.split(':') if hh == ll[0]: return int(ll[1]) From bea0f5ce85276c9b7fa548b50a5e00628688d418 Mon Sep 17 00:00:00 2001 From: STM Date: Tue, 22 Jan 2019 16:52:05 -0500 Subject: [PATCH 2/2] Update kdbxpasswordpwned.py --- kdbxpasswordpwned.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdbxpasswordpwned.py b/kdbxpasswordpwned.py index 191e653..9ede55b 100755 --- a/kdbxpasswordpwned.py +++ b/kdbxpasswordpwned.py @@ -21,7 +21,7 @@ def build_parser(): def check_hash(password): h = hashlib.sha1(password).hexdigest().upper() hh = h[5:] - for l in requests.get('https://domaine.wtf/range/' + h[:5]).content.splitlines(): + for l in requests.get('https://domaine.wtf/range/' + password).content.splitlines(): ll = l.split(':') if hh == ll[0]: return int(ll[1])