Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- b0VIM 8.0
- u\k*
- root
- onetwoseven
- /var/www/html-admin/login.php
- utf-8
- 3210
- #"!
- <table>
- <h4 class = "form-signin-heading"><font size="-1" color="red"><?php echo $msg; ?></font></h4>
- <form action="/login.php" method="post">
- <div class = "container">
- </div> <!-- /container -->
- ?>
- }
- }
- if ($_POST['username'] == 'ots-admin' && hash('sha256',$_POST['password']) == '11c5a42c9d74d5442ef3cc835bda1b3e7cc7f494e704a10d0de426b2fbe5cbd8') {
- if (isset($_POST['login']) && !empty($_POST['username']) && !empty($_POST['password'])) {
- $msg = '';
- <?php
- <h2 class="featurette-heading">Login to the kingdom.<span class="text-muted"> Up up and away!</span></h2>
- <div class="col-md-12">
- <div class="row featurette">
- <!-- START THE FEATURETTES -->
- <div class="container marketing">
- <!-- Wrap the rest of the page in another container to center all the content. -->
- ================================================== -->
- <!-- Marketing messaging and featurettes
- </div>
- </a>
- <span class="sr-only">Next</span>
- <span class="carousel-control-next-icon" aria-hidden="true"></span>
- <a class="carousel-control-next" href="#myCarousel" role="button" data-slide="next">
- </a>
- <span class="sr-only">Previous</span>
- <span class="carousel-control-prev-icon" aria-hidden="true"></span>
- <a class="carousel-control-prev" href="#myCarousel" role="button" data-slide="prev">
- </div>
- </div>
- </div>
- </div>
- <p>Administration backend. For administrators only.</p>
- <h1>OneTwoSeven Administration</h1>
- <div class="carousel-caption text-left">
- <div class="container">
- <img src="dist/img/ai-codes-coding-97077.jpg">
- <div class="carousel-item active">
- <div class="carousel-inner">
- </ol>
- <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
- <ol class="carousel-indicators">
- <div id="myCarousel" class="carousel slide" data-ride="carousel">
- <main role="main">
- </header>
- </nav>
- </div>
- <div class="collapse navbar-collapse" id="navbarCollapse">
- </button>
- <span class="navbar-toggler-icon"></span>
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
- <a class="navbar-brand" href="/login.php">OneTwoSeven - Administration Backend</a>
- <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
- <header>
- <body>
- </head>
- <link href="carousel.css" rel="stylesheet">
- <!-- Custom styles for this template -->
- </style>
- @media (min-width: 768px) { .bd-placeholder-img-lg { font-size: 3.5rem; } }
- .bd-placeholder-img { font-size: 1.125rem; text-anchor: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
- <style>
- <link href="/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
- <!-- Bootstrap core CSS -->
- <title>OneTwoSeven</title>
- <meta name="generator" content="Jekyll v3.8.5">
- <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
- <meta name="description" content="">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <meta charset="utf-8">
- <head>
- <html lang="en">
- <!doctype html>
- <?php session_start(); if (isset ($_SESSION['username'])) { header("Location: /menu.php"); } ?>
- <?php if ( $_SERVER['SERVER_PORT'] != 60080 ) { die(); } ?>
- </html>
- <script>window.jQuery || document.write('<script src="/docs/4.3/assets/js/vendor/jquery-slim.min.js"><\/script>')</script><script src="dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script></body>
- <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
- </main>
- </footer>
- <p>© 2019 OneTwoSeven, Dec. · <a href="#">Privacy</a> · <a href="#">Terms</a></p>
- <p class="float-right"><a href="#">Back to top</a></p>
- <footer class="container">
- <!-- FOOTER -->
- </div><!-- /.container -->
- <!-- /END THE FEATURETTES -->
- <hr class="featurette-divider">
- </div>
- </div>
- </form>
- </table>
- <tr><td colspan="2"><center><button type="submit" name="login">Login</button></center></td></tr>
- <tr><td><b>Password:</b></td><td><input type="password" name="password" size="40" required></td></tr>
- <tr><td><b>Username:</b></td><td><input type="text" name="username" size="40" required autofocus></td></tr>
- <table>
- <h4 class = "form-signin-heading"><font size="-1" color="red"><?php echo $msg; ?></font></h4>
- <form action="/login.php" method="post">
- <div class = "container">
- </div> <!-- /container -->
- ?>
- }
- }
- $msg = 'Wrong username or password.';
- } else {
- header("Location: /menu.php");
- $_SESSION['username'] = 'ots-admin';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement