Skip to content

Commit

Permalink
Update mosint.py
Browse files Browse the repository at this point in the history
v1.1
  • Loading branch information
alpkeskin authored Oct 1, 2020
1 parent cd26ecd commit 13f3de6
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions mosint.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class bcolors:
| | | \ \_/ /\__/ /_| |_| |\ | | |
\_| |_/\___/\____/ \___/\_| \_/ \_/
###
v1.0
v1.1
github.com/alpkeskin
###
Expand Down Expand Up @@ -84,6 +84,7 @@ def remo():
verifyurl = "https://app.verify-email.org/api/v1/"+setapi+"/verify/"
pwnedurl = "https://dehashed.com/search?query="
creditsurl = "https://app.verify-email.org/api/v1/"+setapi+"/credits"
leakedpassurl = ("https://scylla.sh/search?q=email:")
response = requests.get(creditsurl)
html = response.content
soup=BeautifulSoup(html,"html.parser")
Expand Down Expand Up @@ -112,7 +113,21 @@ def remo():
print(f"{bcolors.BOLD}{result.platform}:{bcolors.ENDC}{bcolors.WARNING} {result.message} (Success: {result.success}, Available: {result.available}){bcolors.ENDC}")
print("")
print("------------------------")
print("")
print("")
headers = {
"Accept": "application/json"
}
u = (leakedpassurl+mail)
response3 = requests.get(u,headers=headers)
html3 = response3.content
lp = json.loads(html3)
for s in range(len(lp)):
print(f"{bcolors.WARNING}!{bcolors.ENDC}"+"Domain : "+lp[s]["fields"]["domain"])
print(f"{bcolors.WARNING}!{bcolors.ENDC}"+"Target email : "+lp[s]["fields"]["email"])
print(f"{bcolors.FAIL}!!!{bcolors.ENDC}"+"Leaked password : "+lp[s]["fields"]["password"])
print("")
print("------------------------")
print("")
response2 = requests.get(pwnedurl+str(mail))
html2 = response2.content
soup2=BeautifulSoup(html2,"html.parser")
Expand Down

0 comments on commit 13f3de6

Please sign in to comment.