-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
56 lines (50 loc) · 1.28 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>sql obfuscator</title>
<script src="bundle.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-42985946-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-42985946-1');
</script>
<style type="text/css">
#input {
width: 100%;
min-height: 50vh;
font-family: monospace;
resize: none;
}
button#submit {
width: 100%;
background-color: bisque;
padding: 1em;
cursor: pointer;
}
#translation {
width: 100%;
min-height: 5em;
background-color: bisque;
border-radius: 5px;
border: 1px solid #ccc;
font-family: monospace;
}
</style>
</head>
<body>
<h1 style="text-align: center">SQL Obfuscator</h1>
<textarea id="input">
SELECT height, weight, color
FROM tableA INNER JOIN tableB ON tableA.id=tableB.foo
WHERE height=10
</textarea>
<button id="submit" type="submit">Obfuscate</button>
<h2>Result</h2>
<p id="translation"></p>
<p>Reach me on <a href="https://github.com/morenoh149/sql-obfuscator">github</a>.</p>
</body>
</html>