This commit is contained in:
plane000
2018-08-09 21:14:10 +01:00
parent a0f946d62e
commit c18d9afaa5
29 changed files with 14057 additions and 248 deletions

View File

@@ -0,0 +1,9 @@
{
"spellright.language": "en",
"spellright.documentTypes": [
"markdown",
"latex",
"plaintext",
"html"
]
}

View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Professional data safe</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<script>
x = () => {
return false;
}
</script>
<script>
check = (a) => {
localStorage.content = "pwwd24ctf189HIhi"
k = document.getElementById("keyhole");
a = document.getElementById("access");
if (!x(k.value)) return a.innerHTML = "access denied"
a.innerHTML = "access granted"
password = Array.from(k.value).map(c => c.charCodeAt());
encrypted = localStorage.content || '';
content = encrypted.map((c, x) => c ^ password[i % k.value.length]).map(String.fromCharCode).join('');
}
</script>
password: <input id="keyhole" type="text" autofocus onchange="check()" placeholder="🔑">
<div id="access"></div>
</body>
</html>