diff --git a/holehe/modules/Reddit.py b/holehe/modules/Reddit.py new file mode 100644 index 00000000..82f68cbb --- /dev/null +++ b/holehe/modules/Reddit.py @@ -0,0 +1,10 @@ +import requests + +def reddit(email, client, out): + r = client.post( + "https://www.reddit.com/account/recovery", + data={"email": email}, + headers={"User-Agent": "Mozilla/5.0"} + ) + if "sent an email" in r.text.lower(): + out["exists"] = True diff --git a/holehe/modules/github.py b/holehe/modules/github.py new file mode 100644 index 00000000..93c2e89e --- /dev/null +++ b/holehe/modules/github.py @@ -0,0 +1,7 @@ +def github(email, client, out): + r = client.post( + "https://github.com/password_reset", + data={"email": email} + ) + if r.status_code == 200: + out["exists"] = True diff --git a/holehe/modules/pinterest.py b/holehe/modules/pinterest.py new file mode 100644 index 00000000..14ca3d7a --- /dev/null +++ b/holehe/modules/pinterest.py @@ -0,0 +1,7 @@ +def pinterest(email, client, out): + r = client.post( + "https://www.pinterest.com/password/reset/", + data={"email": email} + ) + if "email has been sent" in r.text.lower(): + out["exists"] = True diff --git a/holehe/modules/social_media/github.py b/holehe/modules/social_media/github.py new file mode 100644 index 00000000..93c2e89e --- /dev/null +++ b/holehe/modules/social_media/github.py @@ -0,0 +1,7 @@ +def github(email, client, out): + r = client.post( + "https://github.com/password_reset", + data={"email": email} + ) + if r.status_code == 200: + out["exists"] = True