4 ms·
Here, let me simplify that code: def has_user_been_pwned(email): return True There. It's nearly impossible to be on the Internet at all without having
by kstrauser 5y ago
Here, let me simplify that code:
def has_user_been_pwned(email):
return True
There. It's nearly impossible to be on the Internet at all without having some account or another be involved in an exploit at some point. You could rename the endpoint `user_had_a_facebook_or_twitter_or_linked_account_or_has_a_credit_score()`. This is a worthless thing to query because it tells you absolutely nothing about the owner of the address.
- Extigy 5y agoI think it’s genius, but evil. Like you say, real email addresses have all been pwned so this is a way to test for bogus or typo’d email addresses. What a way to ruin a wonderful thing! Abusing the haveibeenpawned service in this way has worried me enough that I’ve now gone and removed my data from the publicly searchable database. I’ll use the notification service instead.