📁
SKYSHELL MANAGER
PHP v8.1.29
Create
Create
Path:
root
/
var
/
www
/
html
/
wxwpsite
/
fungiftdeals
/
Name
Size
Perm
Actions
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.51 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
222.php
15.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
15.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
0.4 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
license.txt
19.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.html
7.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.34 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php
3.54 KB
0666
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
5.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
3.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-login.php
50.66 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
8.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-scanner.gz
21.5 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-scanner.php
0.15 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
31.88 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-signup.php
33.94 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
5.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-ugebuild.gz
47.66 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-ugebuild.php
0.16 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-update.php
114.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
3.13 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
yyj.txt
0 KB
0000
🗑️
🏷️
⬇️
✏️
🔒
Edit: login.php
<!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags--> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Title Page--> <title>Admin</title> <link rel="icon" href="css/fav.ico" type="css/fav.ico"> <!-- Icons font CSS--> <link href="vendorfile/mdi-font/css/material-design-iconic-font.min.css" rel="stylesheet" media="all"> <link href="vendorfile/font-awesome-4.7/css/font-awesome.min.css" rel="stylesheet" media="all"> <!-- Font special for pages--> <link href="https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet"> <!-- Vendor CSS--> <link href="vendorfile/select2/select2.min.css" rel="stylesheet" media="all"> <link href="vendorfile/datepicker/daterangepicker.css" rel="stylesheet" media="all"> <!-- Main CSS--> <link href="dashcss/main.css" rel="stylesheet" media="all"> </head> <body> <div class="page-wrapper bg-gra-02 p-t-130 p-b-100 font-poppins"> <div class="wrapper wrapper--w680"> <div class="card card-4"> <div class="card-body"> <h2 class="title" style="text-align:center;">Admin Login</h2> <form action="" method="POST" enctype="multipart/form-data"> <div class="input-group"> <label class="label">Username *</label> <input class="input--style-4" type="text" name="username" placeholder="Enter Username" required> </div> <div class="input-group"> <label class="label">Password *</label> <input class="input--style-4" type="password" name="password" placeholder="Enter Password" required> </div> <div class="input-group"> <input type="submit" class="btn btn--radius-2 btn--blue" value="Login" style="width:auto;"> </div> </form> <br> <?php session_start(); // Start session if ($_SERVER["REQUEST_METHOD"] == "POST") { $username = $_POST['username'] ?? ''; $password = $_POST['password'] ?? ''; // Database connection $conn = new mysqli("localhost", "wxwordpress", "deowxwp2016", "news"); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } // Fetch user record $sql = "SELECT password FROM users WHERE username = ?"; $stmt = $conn->prepare($sql); $stmt->bind_param("s", $username); $stmt->execute(); $stmt->store_result(); if ($stmt->num_rows > 0) { $stmt->bind_result($hashedPassword); $stmt->fetch(); if (password_verify($password, $hashedPassword)) { // Set session variable $_SESSION['loggedin'] = true; $_SESSION['username'] = $username; // Redirect to the dashboard or desired page header("Location: dashboard.php"); exit(); } else { echo "Invalid password!"; } } else { echo "Invalid username!"; } $stmt->close(); $conn->close(); } ?> </div> </div> </div> </div> <script> if ( window.history.replaceState ) { window.history.replaceState( null, null, window.location.href ); } </script> <!-- Jquery JS--> <script src="vendorfile/jquery/jquery.min.js"></script> <!-- Vendor JS--> <script src="vendorfile/select2/select2.min.js"></script> <script src="vendorfile/datepicker/moment.min.js"></script> <script src="vendorfile/datepicker/daterangepicker.js"></script> <!-- Main JS--> <script src="dashjs/global.js"></script> </body> </html> <!-- end document-->
Save