Skip to content

Commit

Permalink
Update mosint.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alpkeskin committed Nov 23, 2020
1 parent 6027890 commit 913329c
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions mosint.py
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
# https://github.com/alpkeskin
import json
from bs4 import BeautifulSoup
from modules.bcolors import bcolors
from insides.bcolors import bcolors
from insides.Header import Header

configfile = open('config.json', "r")
conf = json.loads(configfile.read())
for i in conf:
verifyApi = (i['verify-email.org API Key'])
socialscan = (i['Social Scan'])
leakeddb = (i['Leaked DB'])
breachedsites = (i['Breached Sites[leak-lookup.com API Key]'])
hunterApi = (i['hunter.io API Key'])
dbdata = (i['Related Phone Numbers'])
tcrwd = (i['Related Domains'])
pastebindumps = (i['Pastebin Dumps'])
googlesearch = (i['Google Search'])
dns = (i['DNS Lookup'])

from modules.Banner import Banner
from insides.Banner import Banner
Banner()

from modules.ConfigTree import ConfigTree
ConfigTree(verifyApi,socialscan,leakeddb,hunterApi,dbdata,tcrwd,pastebindumps,googlesearch,dns,_verbose=True)
ConfigTree(verifyApi,socialscan,leakeddb,breachedsites,hunterApi,dbdata,tcrwd,pastebindumps,googlesearch,dns,_verbose=True)

print("")
while True:
mail=input(f"{bcolors.OKBLUE}MAIL > {bcolors.ENDC}")
if (mail == "q"):
if (mail == "q" or mail == "Q" or mail == "exit"):
print("Thank you for using "+f"{bcolors.BOLD}MOSINT{bcolors.ENDC}.")
break
elif (mail.find("@") == -1 and mail.find(".") == -1):
Expand All @@ -34,34 +36,56 @@

if (verifyApi != ""):
from modules.VerifyMail import VerifyMail
title = "VERIFICATION SERVICE"
Header(title)
VerifyMail(verifyApi,mail,_verbose=True)

if (socialscan == "True" or socialscan == "T" or socialscan == "true"):
from modules.SocialScan import SocialScan
title = "SOCIAL SCAN"
Header(title)
SocialScan(mail,_verbose=True)

if (leakeddb == "True" or leakeddb == "T" or leakeddb == "true"):
from modules.LeakedDB import LeakedDB
title = "LEAKED DB [Password dumps]"
Header(title)
LeakedDB(mail,_verbose=True)

if (breachedsites != ""):
from modules.BreachedSites import BreachedSites
title = "BREACHED SITES"
Header(title)
BreachedSites(mail,breachedsites,_verbose=True)

if (hunterApi != ""):
from modules.Hunter import Hunter
title = "RELATED EMAILS"
Header(title)
Hunter(mail,hunterApi,_verbose=True)

if (dbdata == "True" or dbdata == "T" or dbdata == "true"):
from modules.RelatedNumbers import RelatedNumbers
title = "RELATED PHONE NUMBERS"
Header(title)
RelatedNumbers(mail,_verbose=True)

if (tcrwd == "True" or tcrwd == "T" or tcrwd == "true"):
from modules.RelatedDomains import RelatedDomains
title = "RELATED DOMAINS"
Header(title)
RelatedDomains(mail,_verbose=True)

if (pastebindumps == "True" or pastebindumps == "T" or pastebindumps == "true"):
from modules.Psbdmp import Psbdmp
title = "PASTEBIN DUMPS"
Header(title)
Psbdmp(mail,_verbose=True)

if (googlesearch == "True" or googlesearch == "T" or googlesearch == "true"):
from modules.Googling import Googling
title = "GOOGLING"
Header(title)
Googling(mail,_verbose=True)

if (dns == "True" or dns == "T" or dns == "true"):
Expand Down

0 comments on commit 913329c

Please sign in to comment.