V1rus Private
User / IP
:
216.73.217.26
Host / Server
:
103.138.189.202 / chaitanyalaw.com
System
:
Linux s1325.sgp1.mysecurecloudhost.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC 2023 x86_64
Cmd
|
Upload
|
Mass Deface
|
Create
|
Sym
:
/
home
/
chaitany
/
public_html
/
CMS
/
Viewing: index.php
<?php include('layouts/db.php'); include('layouts/validate.php'); session_start(); if (isset($_POST['submit'])) { $uname = validate_script(mysqli_real_escape_string($conn, $_POST['uname'])); $pass = md5(validate_script(mysqli_real_escape_string($conn, $_POST['pass']))); $sql = "SELECT * FROM user WHERE uname ='$uname' AND pass = '$pass' "; $res = mysqli_query($conn, $sql); if (mysqli_num_rows($res) > 0) { header("location: ./notice/shownotice.php"); $_SESSION['uname'] = $uname; } else { echo "Username Or Password does not matched"; } } ?> <!doctype html> <html lang="en"> <head> <title>Login Page</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script> <script src='https://kit.fontawesome.com/a076d05399.js' crossorigin='anonymous'></script> <style> .login, .image { min-height: 100vh; } </style> </head> <body> <div class="container-fluid bg-dark"> <div class="row no-gutter"> <center> <div class="col-md-6 bg-light center-text"> <div class="login d-flex align-items-center py-5"> <div class="container text-center"> <div class="row"> <div class="col-lg-10 col-xl-7 mx-auto"> <h3 class="display-4">Welcome!</h3> <p class="text-muted mb-4">Please Enter You Username And Password</p> <form method="post" action=""> <div class="form-group mb-3"> <input type="email" id="inputEmail" placeholder="Email address" required="" autofocus="" class="form-control rounded-pill border-0 shadow-sm px-4" name="uname"> </div> <div class="form-group mb-3"> <input type="password" id="inputPassword" placeholder="Password" required="" class="form-control rounded-pill border-0 shadow-sm px-4 text-primary" name="pass"> </div> <button type="submit" class="btn btn-primary btn-block text-uppercase mb-2 rounded-pill shadow-sm" name="submit">Sign in</button> </form> </div> </div> </div> </center> </div> </div> </div> </div> </body> </html>
Coded With 💗 by
HanzOFC