first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
19
nginx/insecure-configuration/www/index.html
Normal file
19
nginx/insecure-configuration/www/index.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Welcome to nginx!</title>
|
||||
<link rel="stylesheet" href="static/app.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Welcome to nginx!</h1>
|
||||
<p>If you see this page, the nginx web server is successfully installed and
|
||||
working. Further configuration is required.</p>
|
||||
|
||||
<p>For online documentation and support please refer to
|
||||
<a href="http://nginx.org/">nginx.org</a>.<br/>
|
||||
Commercial support is available at
|
||||
<a href="http://nginx.com/">nginx.com</a>.</p>
|
||||
|
||||
<p><em>Thank you for using nginx.</em></p>
|
||||
</body>
|
||||
</html>
|
5
nginx/insecure-configuration/www/static/app.css
Normal file
5
nginx/insecure-configuration/www/static/app.css
Normal file
@@ -0,0 +1,5 @@
|
||||
body {
|
||||
width: 35em;
|
||||
margin: 0 auto;
|
||||
font-family: Tahoma, Verdana, Arial, sans-serif;
|
||||
}
|
4
nginx/insecure-configuration/www/static/app.js
Normal file
4
nginx/insecure-configuration/www/static/app.js
Normal file
@@ -0,0 +1,4 @@
|
||||
window.onload = function() {
|
||||
var m = document.getElementById('m');
|
||||
m.innerHTML = location.hash.substr(1);
|
||||
}
|
10
nginx/insecure-configuration/www/xss.html
Normal file
10
nginx/insecure-configuration/www/xss.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>XSS Vulnerability</title>
|
||||
<script src="static/app.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<p id="m"></p>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user