-
Notifications
You must be signed in to change notification settings - Fork 0
/
v1.5.hta
272 lines (239 loc) · 13.1 KB
/
v1.5.hta
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<html>
<head>
<title>The MCT - PWS 2018</title>
<meta http-equiv="x-ua-compatible" content="IE=9"/>
<HTA:APPLICATION
APPLICATIONNAME="The MCT"
ID="The MCT - Sebastiaan, Taseen en Yassir"
VERSION="1.5"
MAXIMIZEBUTTON="yes"
SCROLL="no"/>
</head>
<!-- Dit beslist de style van de textforms, tekst, body en die coole lijntjes -->
<style>
td {
color: black;
}
font {
color: white;
}
caption {
color: white;
}
body {
width:100%;
font-family: Arial;
background-color: white;
color: #242323;
}
input {
background-color: black;
color: white;
}
textarea {
background-color: black;
color: white;
}
img {
display: block;
margin: 0 auto;
}
</style>
<body bgcolor="white">
<input type="hidden" id="akey"> <span title="">
<table align="center" width="400">
<!-- dit is de titel dus niet de header, remember dit is 1 image-->
<hr color="black">
<img id="title" alt="font1" src="data:image/png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70TQntZ6FcUeoFMiV1oUp2G6yVl9a71naXZ6E+G6HX5VKbrVEd1dWz6uZnxev4P4/a0DrHQK0gLjwSx0CshLQhd+/7
05dUqr2fPYW9IaS8LvQGhF4iG4jURLZsRfw4t35qd6GWM0vN/PtuO1iEWegVp4ZEgFnolpAWht04TXyxheyz0hoQeIRoi1yptOk/5cBnZpej2WkFOx7KvfsKXvSEWegV
p4ZEgFnolxEKfxkLfkTnPgzQp9AjRUPoroOejnrUmrqknr23XSnJlBEj/a3U3rdGuVeE0lK+lZJs6jrwWYqFXkBYaY4wxpi/SQmOMMcb0RVpojDHGmL5IC40xxhjTF2m
hMcYYY/oiLTTGGGNMX6SFxhhjjOmLtNAYY4wxfZEWGmOMMaYv0kJjjDHG9EVaaIwxxpie+Pk3/wUE+dZjU+HoCQAAAABJRU5ErkJggg==">
<hr color="black">
<!-- Tekstvak groot-->
<tr>
<td align="center">
<span title="Enter your Full message here">
<textarea id="tamsg" cols="80" rows="15" ></textarea>
</span>
</td>
</tr>
<!-- Tekstvak klein, voor het wachtwoord-->
<td color="black" align="center" style="font-family: Book Antiqua; font-size:18;">
<hr color="black"> Wachtwoord:
<span title="">
<br>
<input type="password" id="pass" placeholder="Vul hier uw wachtwoord in">
<br>
<input type="checkbox" onclick="myFunction()">Laat wachtwoord zien
<script>
function myFunction() {
var x = document.getElementById("pass");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}
</script>
</span>
<br><br><br>
<!-- Klik hier om te encrypten -->
<span align="center" title="Click Here to Encrypt your Message">
<input align="center" style="width: 170px; height:35px;
color: white; background-color: black;
font-family:Book Antiqua; font-size:17px;" type="button"
Value="Encrypt" id="btnenc" onClick="Validate('Encrypt')"
onmouseover="btnenc.style.background='#102030'"
onmouseout="btnenc.style.background='black'">
</span>
<br><br><br>
<!-- Klik hier om te decrypten -->
<span align="center" title="Click Here to Decrypt your Message">
<input align="center" style="width: 170px; height:35px; color: white;
background-color: black; font-family: Book Antiqua;
font-size:17px;" type="button" Value="Decrypt" id="btndec"
onClick="Validate('Decrypt')" onmouseover="btndec.style.background='#102030'"
onmouseout="btndec.style.background='black'">
</span>
</td>
<!-- De footer -->
<tr>
<td align="center"><hr color="black">
<span title="PWS 2018" style="font-size: 13px; font-family:Book Antiqua;">© Taseen, Sebastiaan en Yassir - 2018 PWS </span>
</td>
</tr>
</table>
</body>
<!-- Dit is de maincipher, worth the research... -->
<script language="VBScript">
'Dit Creërt de application'
Sub Window_OnLoad
Dim width,height
width=900
height=720
self.ResizeTo width,height
'Dit checkt of alles is ingevuld'
End Sub
Function Validate(ID)
On Error Resume Next
Key = Int(pass.value)
If (pass.value = "") Then
X = MsgBox("You have to enter your password..!", 48, "Error")
Else If (tamsg.value = "") Then
X = MsgBox("Enter the text to encrypt or decrypt!", 48, "ERROR!")
Else
Junk = SetTimeOut(KEYS(ID), 1)
End If
End If
End Function
Function KEYS(ID)
text = pass.value
code = 0
Do Until text = ""
code = ((Asc(Left(text, 1)))+code)
text = Replace(text, Left(text, 1), "", "1", "1")
Loop
code = code Mod 255
akey.value = code
Junk = SetTimeOut(ID, 1)
End Function
'Dit zorgt voor de encryptie'
Function Encrypt
Alpha = Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")
text = tamsg.value
code = ""
key = Int(akey.value)
Do Until text = ""
cnum = Asc(Left(text, 1))
cnum = (cnum+key) Mod 255
num = cnum Mod 26
count = 0
tst = num
Do Until tst = cnum
tst = tst+26
count = count+1
Loop
code = code & Alpha(num) & count
text = Replace(text, Left(text, 1), "", "1", "1")
Loop
tamsg.value = code
End Function
'Dit zorgt voor de decryptie'
Function Decrypt
Alpha = Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")
text = tamsg.value
code = ""
key = Int(akey.value)
Do Until text = ""
lttr = Left(text, 2)
num = Asc(Left(lttr, 1))-65
chk = Right(lttr, 1)
count = 0
'Dit zorgt voor de foutmelding wanneer je teveel decrypt'
Do Until count = Int(chk)
num = num+26
count = count+1
Loop
num = num-key
Do While num <= 0
num = num+255
Loop
Code = code & Chr(num)
text = Replace(text, Left(text, 2), "", "1", "1")
Loop
tamsg.value = code
End Function
</script>
<!-- K5Z5H5V6Y3J7L6D7D7T6C7Y3U6T6U6Y3G7F7T6W6P6Y3V6W6Z6Z6E7K7L6V6A5R4F3C3 -->
</html>