Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Update kdbxpasswordpwned.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SlivTaMere authored Jan 22, 2019
1 parent 84e3ccb commit 8f59d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kdbxpasswordpwned.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 8f59d1d

Please sign in to comment.