forked from artemkin/cisco-password-decoder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex_old.html
30 lines (26 loc) · 1.01 KB
/
index_old.html
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
<html>
<head>
<title>Cisco VPN Client Password Decoder</title>
<script src="https://cdn.rawgit.com/artemkin/cisco-password-decoder/gh-pages/forge.min.js" type="text/javascript"></script>
<script src="https://cdn.rawgit.com/artemkin/cisco-password-decoder/gh-pages/cisco-decrypt.js" type="text/javascript"></script>
<script>
var encrypted = "";
function lookForEncryptedChange() {
var newEncrypted = document.getElementById("encrypted").value.trim();
if (newEncrypted != encrypted) {
encrypted = newEncrypted;
var decrypted = decryptPassword(encrypted);
document.getElementById("decrypted").innerHTML = decrypted;
}
}
setInterval(lookForEncryptedChange, 100);
</script>
</head>
<body>
<p>Cisco VPN Client Password Decoder</p>
<form action="javascript:void(0);">
Encrypted Group Password <input type="text" id="encrypted" name="encrypted"/>
</form>
<p id="decrypted"></p>
</body>
</html>