Harun Mansor
  • ⭕About ME
  • Writeups
    • 3108 CTF (2024)
  • Projects
    • SSH Architecure using IDS, IPS, Port Knocking and SIEM System
    • Active Directory Attack SImulation Lab
    • THM - Shellcode
    • Script - Gather Emails
    • Script - Nmap Scans
    • Script - Bash
  • NOTES
    • Docker Guides
    • Web Security Under-the-hoods
Powered by GitBook
On this page
  1. Projects

Script - Gather Emails

Simple python script to generate google dorks to gather employees' emails

PreviousTHM - ShellcodeNextScript - Nmap Scans

Last updated 8 months ago

Was this helpful?

CtrlK

Was this helpful?

email_domain = input("Email domain : ")

print(f"""The domain of the email is {email_domain}
Google dorks for gathering emails :
	""")

def google_dorks(domain):
    dorks = 

f
"""
filetype:pdf "{domain}"
filetype:xls "{domain}"
filetype:docx "{domain}"
intitle:"index of" "{domain}"
"""
return dorks
result = google_dorks(email_domain)
print(result)