forked from chenjj/espoofer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
29 lines (23 loc) · 992 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
config = {
"attacker_site": b"attack.com", # attack.com
"legitimate_site_address": b"[email protected]", # From header address displayed to the end-user
"victim_address": b"[email protected]", # RCPT TO and message.To header address,
"case_id": b"server_a1", # You can find all case_id using -l option.
# The following fields are optional
"server_mode":{
"recv_mail_server": "", # If no value, espoofer will query the victim_address to get the mail server ip
"recv_mail_server_port": 25,
"starttls": False,
},
"client_mode": {
"sending_server": ("smtp.gmail.com", 587),
"username": b"[email protected]",
"password": b"",
},
# Optional. You can leave them empty or customize the email message header or body here
"subject_header": b"", # Subject: Test espoofer\r\n
"to_header": b"", # To: <[email protected]>\r\n
"body": b"", # Test Body.
# Optional. Set the raw email message you want to sent. It's usually used for replay attacks
"raw_email": b"",
}