-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
201 lines (167 loc) · 7.16 KB
/
Copy pathindex.html
File metadata and controls
201 lines (167 loc) · 7.16 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Stego Tool</title>
<link rel="stylesheet" href="style.css" />
<!-- Open Graph / link preview -->
<meta property="og:title" content="Steganography Tool" />
<meta property="og:description" content="Utilitarian stego utility. Steganography lets you hide and encrypt files inside of images" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://mcneds.github.io/YOURREPO/" />
<meta property="og:image" content="https://mcneds.github.io/YOURREPO/preview.png" />
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Steganography Tool" />
<meta name="twitter:description" content="Utilitarian stego utility. Steganography lets you hide and encrypt files inside of images, the original " />
<meta name="twitter:image" content="https://mcneds.github.io/YOURREPO/preview.png" />
</head>
<body>
<div class="window">
<div class="titlebar">
<div class="title">Steganography Tool</div>
<div class="subtitle">2-LSB RGB • PNG output • Steganography lets you hide and encrypt files and phrases inside of images</div>
</div>
<div class="tabs">
<button id="tab-embed" class="tab tab-active" type="button">Embed</button>
<button id="tab-extract" class="tab" type="button">Extract</button>
<div class="spacer"></div>
<button id="btn-clear-log" class="btn" type="button">Clear Log</button>
</div>
<div id="panel-embed" class="panel panel-active">
<fieldset class="group">
<legend>Input</legend>
<div class="row">
<label class="lbl">File to embed</label>
<input id="file-payload" class="inp" type="file" />
</div>
<div class="row">
<label class="lbl">Carrier images (lossless)</label>
<input id="files-carriers" class="inp" type="file" accept="image/*" multiple />
</div>
<div class="row">
<label class="lbl">Encryption key (optional)</label>
<input id="enc-key" class="inp" type="text" placeholder="base64 key (or leave blank)" />
<button id="btn-gen-key" class="btn" type="button">Generate Key</button>
</div>
<div class="row">
<label class="lbl">Key file (any type)</label>
<input id="enc-key-anyfile" class="inp" type="file" />
</div>
<div class="row">
<label class="lbl">Key salt (optional)</label>
<input id="enc-key-salt" class="inp" type="text" placeholder="optional extra phrase" />
<div id="enc-key-fp" class="status">Fingerprint: —</div>
</div>
<div class="row">
<label class="lbl">Passphrase (less secure)</label>
<input id="enc-pass" class="inp" type="password" placeholder="type passphrase" />
</div>
<div class="row">
<label class="lbl">Salt (recommended)</label>
<input id="enc-salt" class="inp" type="text" value="stego-tool" />
<div id="enc-key-fp" class="status">Fingerprint: —</div>
</div>
<div class="row">
<label class="lbl">Output prefix</label>
<input id="out-prefix" class="inp" type="text" value="encoded_" />
</div>
<div class="row">
<label class="lbl">Notes</label>
<div class="note">
• Output is always PNG (lossless). Avoid JPEG carriers if you care about quality.<br>
• This embeds 2 bits into each RGB channel byte (alpha untouched).<br>
• Large files may take a bit to process in-browser.
</div>
</div>
</fieldset>
<fieldset class="group">
<legend>Capacity</legend>
<div class="row">
<label class="lbl">Carrier capacity</label>
<div id="cap-carriers" class="status">No images selected.</div>
</div>
<div class="row">
<label class="lbl">Header overhead</label>
<div id="cap-overhead" class="status">—</div>
</div>
<div class="row">
<label class="lbl">Usable payload</label>
<div id="cap-usable" class="status">—</div>
</div>
<div class="row">
<label class="lbl">Payload size</label>
<div id="cap-payload" class="status">—</div>
</div>
<div class="row">
<label class="lbl">Verdict</label>
<div id="cap-verdict" class="status">—</div>
</div>
</fieldset>
<fieldset class="group">
<legend>Actions</legend>
<div class="row">
<button id="btn-embed" class="btn primary" type="button">Embed → Create Encoded Images</button>
<div id="embed-summary" class="status"></div>
</div>
<div class="row">
<label class="lbl">Downloads</label>
<div id="embed-downloads" class="downloads"></div>
</div>
</fieldset>
</div>
<div id="panel-extract" class="panel">
<fieldset class="group">
<legend>Input</legend>
<div class="row">
<label class="lbl">Encoded images</label>
<input id="files-encoded" class="inp" type="file" accept="image/*" multiple />
</div>
<div class="row">
<label class="lbl">Encryption key (if needed)</label>
<input id="dec-key" class="inp" type="text" placeholder="base64 key (must match embed key)" />
</div>
<div class="row">
<label class="lbl">Key file (any type)</label>
<input id="dec-key-anyfile" class="inp" type="file" />
</div>
<div class="row">
<label class="lbl">Key salt (optional)</label>
<input id="dec-key-salt" class="inp" type="text" placeholder="must match embed salt" />
<div id="dec-key-fp" class="status">Fingerprint: —</div>
</div>
<div class="row">
<label class="lbl">Passphrase</label>
<input id="dec-pass" class="inp" type="password" placeholder="same passphrase" />
</div>
<div class="row">
<label class="lbl">Salt</label>
<input id="dec-salt" class="inp" type="text" value="stego-tool" />
<div id="dec-key-fp" class="status">Fingerprint: —</div>
</div>
<div class="row">
<label class="lbl">Output filename</label>
<input id="out-filename" class="inp" type="text" value="extracted.bin" />
</div>
</fieldset>
<fieldset class="group">
<legend>Actions</legend>
<div class="row">
<button id="btn-extract" class="btn primary" type="button">Extract → Download File</button>
<div id="extract-summary" class="status"></div>
</div>
<div class="row">
<label class="lbl">Download</label>
<div id="extract-download" class="downloads"></div>
</div>
</fieldset>
</div>
<fieldset class="group">
<legend>Log</legend>
<pre id="log" class="log" aria-live="polite"></pre>
</fieldset>
</div>
<script src="app.js"></script>
</body>
</html>