-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathResetPassword.eml
108 lines (89 loc) · 4.81 KB
/
ResetPassword.eml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
From: GitLab <{SENDER_EMAIL}>
Reply-To: {SENDER_EMAIL}
To: admin@example.com, {ATTACKER_EMAIL}
Subject: Reset password instructions
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_65a8f4cdb8ef4_6973ba608845e";
charset=UTF-8
Content-Transfer-Encoding: 7bit
----==_mimepart_65a8f4cdb8ef4_6973ba608845e
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Hello, Administrator!
Someone, hopefully you, has requested to reset the password for your GitLab account on {GITLAB_URL}.
If you did not perform this request, you can safely ignore this email.
Otherwise, click the link below to complete the process:
{GITLAB_URL}/users/password/edit?reset_password_token={HACKER_TOKEN}
----==_mimepart_65a8f4cdb8ef4_6973ba608845e
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
<title>Reset password instructions</title>
<style data-premailer="ignore" type="text/css">
body,table,td,a{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}table,td{mso-table-lspace:0pt;mso-table-rspace:0pt}img{-ms-interpolation-mode:bicubic}.hidden{display:none !important;visibility:hidden !important}a[x-apple-data-detectors]{color:inherit !important;text-decoration:none !important;font-size:inherit !important;font-family:inherit !important;font-weight:inherit !important;line-height:inherit !important}div[style*='margin: 16px 0']{margin:0 !important}@media only screen and (max-width: 639px){body,#body{min-width:320px !important}table.wrapper{width:100% !important;min-width:320px !important}table.wrapper td.wrapper-cell{border-left:0 !important;border-right:0 !important;border-radius:0 !important;padding-left:10px !important;padding-right:10px !important}}
</style>
<style>body {
margin: 0 !important; background-color: #fafafa; padding: 0; text-align: center; min-width: 640px; width: 100%; height: 100%; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
</style></head>
<body style="text-align: center; min-width: 640px; width: 100%; height: 100%; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; margin: 0; padding: 0;" bgcolor="#fafafa">
<table border="0" cellpadding="0" cellspacing="0" id="body" style="text-align: center; min-width: 640px; width: 100%; margin: 0; padding: 0;" bgcolor="#fafafa">
<tbody>
<tr class="line">
<td style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; height: 4px; font-size: 4px; line-height: 4px;" bgcolor="#6b4fbb"></td>
</tr>
<tr class="header">
<td style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; color: #5c5c5c; padding: 25px 0;">
<img alt="GitLab" src="{GITLAB_URL}{GITLAB_LOG_PATH}" width="55" height="55" />
</td>
</tr>
<tr>
<td style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">
<table border="0" cellpadding="0" cellspacing="0" class="wrapper" style="width: 640px; border-collapse: separate; border-spacing: 0; margin: 0 auto;">
<tbody>
<tr>
<td class="wrapper-cell" style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; border-radius: 3px; overflow: hidden; padding: 18px 25px; border: 1px solid #ededed;" align="left" bgcolor="#fff">
<table border="0" cellpadding="0" cellspacing="0" class="content" style="width: 100%; border-collapse: separate; border-spacing: 0;">
<tbody>
<tr>
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; color: #333333; font-size: 15px; font-weight: 400; line-height: 1.4; padding: 15px 5px;" align="center">
<h1 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; color: #333333; font-size: 18px; font-weight: 400; line-height: 1.4; margin: 0; padding: 0;" align="center">Hello, Administrator!</h1>
<p>
Someone, hopefully you, has requested to reset the password for your GitLab account on ${GITLAB_URL}.
</p>
<p>
If you did not perform this request, you can safely ignore this email.
</p>
<p>
Otherwise, click the link below to complete the process.
</p>
<div id="cta">
<a href="{GITLAB_URL}/users/password/edit?reset_password_token={HACKER_TOKEN}" style="color: #3777b0; text-decoration: none;">Reset password</a>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td class="footer-message" style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; color: #5c5c5c; padding: 25px 0;">
</td>
</tr>
</tbody>
</table>
</body>
</html>
----==_mimepart_65a8f4cdb8ef4_6973ba608845e--