Closed vikas-kundu closed 3 years ago
Can I work on this module. Where domain would be necessarily required to see if its been a part of a data breach and email part is optional?
Does it need an API key? We do not support sources that need an API key.
Unfortunately it does. I am looking for any free resource if available. Otherwise should I try scraping from haveibeenpwned ?
I'm afraid. But it isn't good. You can work on the Github Search module if you want to contribute. We need a Github search module, which interacts with Github by user cookie.
@saeeddhqan i thought @ktg-123 already is done with it? iirc, it was assigned to me. Waiting for the new core and the PRs merged. I will add them :)
@saeeddhqan So, interestingly while researching for the same, i found their xmlHttp request API. So managed to put together a script which can check emails from data breaches using their API via python's cloudscraper. This is the script . So, should I work on a module for the same?
Yes, you can. but don't use cloudscraper.
@saeeddhqan actually this endpoint is present within the haveibeenpwned website. So, cloudscraper is necessary because it is protected by Cloudflare like the rest of the website.
Did cloudscraper successfully bypass the check? I ran it last week, it said Cloudflare changed it's check params again
I wrote this script only a few hours ago. Was able to scrap successfully for me.
@saeeddhqan i have complete the email_pwned module. Should i issue a pull request ?
yes, please
Emails enumerated while scanning can be checked from haveibeenpwned.com. Their API can be used for this purpose same. Reference: https://haveibeenpwned.com/API/v2