-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdecode.html
57 lines (46 loc) · 2.29 KB
/
decode.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>They Live Steganography - Decode Image</title>
<link rel="stylesheet" href="css/decode.css">
</head>
<body>
<h1>Decode an Image</h1>
<p>Use this page to decode an image hidden inside another image (typically a .png file) using <a href="index.html">They Live Steganography</a>. A <a href="https://github.com/cherdt/they-live">Chrome extension</a> is also available to decode images directly on web pages.</p>
<div id="controls">
<div id="keyContainer">
<div id="keyDrop"
ondragenter="document.getElementById('keyDrop').textContent = ''; event.stopPropagation(); event.preventDefault();"
ondragover="event.stopPropagation(); event.preventDefault();"
ondrop="event.stopPropagation(); event.preventDefault();
THEYLIVE.processDrop(event);">
</div>
<div id="keyData"></div>
</div>
<div id="inputContainer">
<div id="inputDrop"
ondragenter="document.getElementById('inputDrop').textContent = ''; event.stopPropagation(); event.preventDefault();"
ondragover="event.stopPropagation(); event.preventDefault();"
ondrop="event.stopPropagation(); event.preventDefault();
THEYLIVE.processDrop(event);">
</div>
<div id="inputData"></div>
</div>
</div>
<h2>Drop and drag an image</h2>
<p>Drop an image file from your desktop (Finder on a Mac or Explorer on Windows) onto the <strong>VUR (Very Ugly Robot)</strong>. We'll display the hidden image, if any exists.</p>
<p>If your file does not contain a hidden image, the result will be a black and white image that probably won't look like anything!</p>
<p>If you have a custom key image, drag that onto the key icon. Otherwise, the robot will use the default key to decode your image.</p>
<script src="js/decode.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-19082249-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>