-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
334 lines (272 loc) · 10.5 KB
/
Copy pathtest.html
File metadata and controls
334 lines (272 loc) · 10.5 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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
<!DOCTYPE html>
<html>
<title>W3.CSS Template</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3-theme-black.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css">
<body>
<!-- Header -->
<header class="w3-container w3-theme w3-padding-large" id="myHeader">
<div class="w3-center">
<h4 class="w3-padding-large">A THESIS BY ERIN STEIN:</h4>
<h1 class="w3-xxxlarge w3-animate-bottom">INTRO TO APPLICATION SECURITY</h1>
<div class="w3-padding-16">
<button class="w3-btn w3-xlarge w3-dark-grey w3-hover-light-grey" onclick="document.getElementById('id01').style.display='block'" style="font-weight:900;">LEARN W3.CSS</button>
</div>
</div>
</header>
<!---->
<!-- Modal -->
<div id="id01" class="w3-modal">
<div class="w3-modal-content w3-card-4 w3-animate-top">
<header class="w3-container w3-theme-l1">
<span onclick="document.getElementById('id01').style.display='none'"
class="w3-button w3-display-topright">×</span>
<h4>Oh snap! We just showed you a modal..</h4>
<h5>Because we can <i class="fa fa-smile-o"></i></h5>
</header>
<div class="w3-padding">
<p>Cool huh? Ok, enough teasing around..</p>
<p>Go to our <a class="w3-btn" href="/w3css/default.asp">W3.CSS Tutorial</a> to learn more!</p>
</div>
<footer class="w3-container w3-theme-l1">
<p>Modal footer</p>
</footer>
</div>
</div>
<!-- Navigation Bar -->
<div class="w3-bar w3-theme" >
<a href="#home" class="w3-bar-item w3-button w3-padding-16">Home</a>
<a href="#news" class="w3-bar-item w3-button w3-padding-16">About</a>
<div class="w3-dropdown-hover">
<button class="w3-button w3-padding-16">
OWASP Top 10 <i class="fa fa-caret-down"></i>
</button>
<div class="w3-dropdown-content w3-card-4 w3-bar-block">
<a href="Injection.html" class="w3-bar-item w3-button">Injection</a>
<a href="BrokenAuth.html" class="w3-bar-item w3-button">Broken Authentication</a>
<a href="SensitiveDataExp.html" class="w3-bar-item w3-button">Sensitive Data Exposure</a>
<a href="XEE.html" class="w3-bar-item w3-button">XML External Entities (XEE)</a>
<a href="BrokenAccessCont.html" class="w3-bar-item w3-button">Broken Access Control</a>
<a href="SecMisconfig.html" class="w3-bar-item w3-button">Security Misconfiguration</a>
<a href="XSS.html" class="w3-bar-item w3-button">Cross-Site Scripting (XSS)</a>
<a href="InsecureDeserialization.html" class="w3-bar-item w3-button">Insecure Desserialization</a>
<a href="UsingBadComponents.html" class="w3-bar-item w3-button">Using Components With Known Vulnerabilities</a>
<a href="InsuffLog&Monitor.html" class="w3-bar-item w3-button">Insufficient Logging and Monitoring </a>
</div>
</div>
</div>
<hr>
<!---->
<!--BODY INFO-->
<div class="w3-container">
<h2> Learn all about hacking </h2>
<p> Here you will learn all about OWASP Top Ten Web Application vulnerabilities.
These vulnerabilities include Injection, Broken Authentication, Sensitive Data Exposure, XML External
Entities, Broken Access Control, Security Misconfiguration, Cross-Site Scripting, Insecure
Deserialization, Using Components With Known Vulnerabilities, and Insufficient Logging an Monitoring. </p>
</body>
</div>
<hr>
<!---->
<!--Input Form-->
<div class="w3-row-padding">
<div class="w3-half">
<form class="w3-container w3-card-4">
<h2>Input Form</h2>
<div class="w3-section">
<input class="w3-input" type="text" required>
<label>Username</label>
</div>
<div class="w3-section">
<input class="w3-input" type="text" required>
<label>Password</label>
</div>
<div>
<button class="w3-btn w3-theme" type="submit">Login</button> <br>
<hr>
</div>
<div class="w3-row">
<div class="w3-half">
</div>
<div class="w3-half">
</div>
</div>
</form>
</div>
</div>
<!---->
<hr>
<div class="w3-container">
<hr>
<h2 class="w3-center">Accordions</h2>
<button onclick="myAccFunc('Demo1')" class="w3-padding-16 w3-theme w3-button w3-block w3-left-align">Open Section 1</button>
<div id="Demo1" class="w3-hide">
<div class="w3-container">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</div>
</div>
<button onclick="myAccFunc('Demo2')" class="w3-padding-16 w3-theme w3-button w3-block w3-left-align">Open Section 2</button>
<div id="Demo2" class="w3-hide">
<a href="#" class="w3-button w3-block w3-left-align">Link 1</a>
<a href="#" class="w3-button w3-block w3-left-align">Link 2</a>
<a href="#" class="w3-button w3-block w3-left-align">Link 3</a>
</div>
<button onclick="myAccFunc('Demo3')" class="w3-padding-16 w3-theme w3-button w3-block w3-left-align">Open Section 3</button>
<div id="Demo3" class="w3-hide w3-black">
<div class="w3-container">
<p>Accordion with Images:</p>
<img src="img_snowtops.jpg" style="width:30%;" class="w3-animate-zoom">
<p>French Alps</p>
</div>
</div>
<hr>
<h2 class="w3-center">Tabs</h2>
<div class="w3-border">
<div class="w3-bar w3-theme">
<button class="w3-bar-item w3-button testbtn w3-padding-16" onclick="openCity(event,'London')">London</button>
<button class="w3-bar-item w3-button testbtn w3-padding-16" onclick="openCity(event,'Paris')">Paris</button>
<button class="w3-bar-item w3-button testbtn w3-padding-16" onclick="openCity(event,'Tokyo')">Tokyo</button>
</div>
<div id="London" class="w3-container city w3-animate-opacity">
<h2>London</h2>
<p>London is the capital city of England.</p>
<p>It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.</p>
</div>
<div id="Paris" class="w3-container city w3-animate-opacity">
<h2>Paris</h2>
<p>Paris is the capital of France.</p>
<p>The Paris area is one of the largest population centers in Europe, with more than 12 million inhabitants.</p>
</div>
<div id="Tokyo" class="w3-container city w3-animate-opacity">
<h2>Tokyo</h2>
<p>Tokyo is the capital of Japan.</p>
<p>It is the center of the Greater Tokyo Area, and the most populous metropolitan area in the world.</p>
</div>
</div>
<hr>
<h2 class="w3-center">Buttons</h2>
<div class="w3-center">
<br>
<a class="w3-button w3-theme">Button</a>
<a class="w3-button w3-theme">Button</a>
<a class="w3-button w3-theme-d3 w3-disabled">Button</a>
<br><br>
<a class="w3-button w3-circle w3-large w3-black"><i class="fa fa-plus"></i></a>
<a class="w3-button w3-circle w3-large w3-theme"><i class="fa fa-plus"></i></a>
<a class="w3-button w3-circle w3-large w3-card-4"><i class="fa fa-plus"></i></a>
</div>
<br>
<div class="w3-center">
<div class="w3-dropdown-hover">
<button class="w3-button w3-theme">Dropdown <i class="fa fa-caret-down"></i></button>
<div class="w3-dropdown-content w3-bar-block w3-border">
<a href="#" class="w3-bar-item w3-button">Link 1</a>
<a href="#" class="w3-bar-item w3-button">Link 2</a>
<a href="#" class="w3-bar-item w3-button">Link 3</a>
</div>
</div>
</div>
</div>
<hr>
<div class="w3-center">
<h2>Pagination</h2>
<!-- Pagination -->
<div class="w3-center w3-padding-32">
<div class="w3-bar">
<a href="#" class="w3-bar-item w3-button w3-hover-theme">«</a>
<a href="#" class="w3-bar-item w3-button w3-theme w3-hover-theme">1</a>
<a href="#" class="w3-bar-item w3-button w3-hover-theme">2</a>
<a href="#" class="w3-bar-item w3-button w3-hover-theme">3</a>
<a href="#" class="w3-bar-item w3-button w3-hover-theme">4</a>
<a href="#" class="w3-bar-item w3-button w3-hover-theme">5</a>
<a href="#" class="w3-bar-item w3-button w3-hover-theme">»</a>
</div>
</div>
</div>
<br>
<!-- Footer -->
<footer class="w3-container w3-theme-dark w3-padding-16">
<h3>Footer</h3>
<p>Powered by <a href="https://www.w3schools.com/w3css/default.asp" target="_blank">w3.css</a></p>
<div style="position:relative;bottom:55px;" class="w3-tooltip w3-right">
<span class="w3-text w3-theme-light w3-padding">Go To Top</span>
<a class="w3-text-white" href="#myHeader"><span class="w3-xlarge">
<i class="fa fa-chevron-circle-up"></i></span></a>
</div>
<p>Remember to check out our <a href="w3css_references.asp" class="w3-btn w3-theme-light" target="_blank">W3.CSS Reference</a></p>
</footer>
<!-- Script for Sidebar, Tabs, Accordions, Progress bars and slideshows -->
<script>
// Side navigation
function w3_open() {
var x = document.getElementById("mySidebar");
x.style.width = "100%";
x.style.fontSize = "40px";
x.style.paddingTop = "10%";
x.style.display = "block";
}
function w3_close() {
document.getElementById("mySidebar").style.display = "none";
}
// Tabs
function openCity(evt, cityName) {
var i;
var x = document.getElementsByClassName("city");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
var activebtn = document.getElementsByClassName("testbtn");
for (i = 0; i < x.length; i++) {
activebtn[i].className = activebtn[i].className.replace(" w3-dark-grey", "");
}
document.getElementById(cityName).style.display = "block";
evt.currentTarget.className += " w3-dark-grey";
}
var mybtn = document.getElementsByClassName("testbtn")[0];
mybtn.click();
// Accordions
function myAccFunc(id) {
var x = document.getElementById(id);
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
// Slideshows
var slideIndex = 1;
function plusDivs(n) {
slideIndex = slideIndex + n;
showDivs(slideIndex);
}
function showDivs(n) {
var x = document.getElementsByClassName("mySlides");
if (n > x.length) {slideIndex = 1}
if (n < 1) {slideIndex = x.length} ;
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
x[slideIndex-1].style.display = "block";
}
showDivs(1);
// Progress Bars
function move() {
var elem = document.getElementById("myBar");
var width = 5;
var id = setInterval(frame, 10);
function frame() {
if (width == 100) {
clearInterval(id);
} else {
width++;
elem.style.width = width + '%';
elem.innerHTML = width * 1 + '%';
}
}
}
</script>
</body>
</html>