Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions holehe/modules/Reddit.py
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions holehe/modules/github.py
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions holehe/modules/pinterest.py
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions holehe/modules/social_media/github.py
Original file line number Diff line number Diff line change
@@ -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