forked from greshake/greshake.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.html
40 lines (35 loc) · 1.3 KB
/
page.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
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html data-theme="dark" class=" jxaaxbo idc0_346" lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Prompt Injections are bad, mkay?</title>
<meta name="description" content="">
<link rel="stylesheet" href="resources/pico.min.css">
<link rel="stylesheet" href="resources/custom.css">
<body>
<main class="container">
<div class="container">
<h1>Attackers could have stolen this information:</h1>
<h2 id="content"></h2>
</div>
<article class="grid">
<div>
<button class="contrast" onclick="redirect_example()">Another Random Example (requires Bing Chat)</button>
<button onclick="window.location.href='https://github.com/greshake/llm-security';" >
GitHub</button>
<button onclick="window.location.href='https://arxiv.org/abs/2302.12173';">Paper</button>
</div>
<div>
<img src="resources/paper-overview.png" alt="">
</div>
</article>
</main>
</body>
<script>
data = window.location.href.split("#")[1];
// reverse the string
data = data.split("").reverse().join("");
document.getElementById("content").innerHTML = data;
</script>
</html>