-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgoogle_phish.py
More file actions
21 lines (19 loc) · 879 Bytes
/
google_phish.py
File metadata and controls
21 lines (19 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name = input("Enter target's first name: ")
email = input("Enter target's email address: ")
invite_name = input("Enter fake name for email invite: ")
invite_email = input("Enter fake email for email invite: ")
chat_name = input("Enter fake chat name: ")
fake_link = input("Enter malicious URL to go to (format: http(s)://example.com/): ")
with open("google_invite.html", "r") as template:
content = template.read()
content = (
content.replace("${name}", name)
.replace("${email}", email)
.replace("${invite_name}", invite_name)
.replace("${invite_email}", invite_email)
.replace("${chat_name}", chat_name)
.replace("${fake_link}", fake_link)
)
with open(f"{name.lower().replace(' ', '_')}_google_invite.html", "w") as f:
f.write(content)
print("Template saved to file: {}. Have fun phishing!".format(f.name))