Tn Jones Shell Bypass
:
18.225.54.199
:
160.187.54.56 / upgov.net
:
Linux 160-187-54-56.cprapid.com 4.18.0-553.22.1.lve.1.el7h.x86_64 #1 SMP Tue Oct 8 14:36:03 UTC 2024 x86_64
:
/
home
/
upgov
/
www
/
gnvs
/
Upload File:
files >> /home/upgov/www/gnvs/index.php
<?php include("connection.php"); session_start(); // Starting Session $error=''; // Variable To Store Error Message if(isset($_POST['btn'])) { if(empty($_POST['username']) || empty($_POST['password'])) { $error = "invalid Field"; } else { $a=$_REQUEST['username']; $b=$_REQUEST['password']; $sql=mysql_query("select * from login where Username='$a' and Password='$b'"); if(mysql_num_rows($sql)>0) { session_regenerate_id(); $member = mysql_fetch_assoc($sql); $_SESSION['Username'] = $member['Username']; $_SESSION['Password'] = $member['Password']; $_SESSION['start'] = time(); // Taking now logged in time. // Ending a session in 30 minutes from the starting time. $_SESSION['expire'] = $_SESSION['start'] + (30 * 60); session_write_close(); header("location:page.php"); exit(); } else { $error = "PASSWORD IS INVALID<br>"; } } } ?> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>लखनऊ पूर्वी विधान सभा</title> <link rel="stylesheet" href="style.css" /> <!--<link href='http://fonts.googleapis.com/css?family=Oleo+Script' rel='stylesheet' type='text/css'>--> <script type="text/javascript" src="jquery-1.7.min.js"> </script> <script> function loginrama(s) { var str=""; if(s=="ADMIN") { str="<input type='password' name='password' id='password' style='height:35px;width:250px;' placeholder='PASSWORD' required='required'>"; document.getElementById("div1").innerHTML=str; } else if(s=="USER") { window.location.href='login.php'; } } </script> </head> <body> <div style="margin-left:50px;margin-top:50px;font-size:25px;"> </div> <div class="lg-container"> <h2 align="center"><font face="andalus"><strong>लखनऊ पूर्वी विधान सभा</strong></font></h2> <form id="lg-form" name="lg-form" method="post"> <div> <select name="username" id="username" placeholder="Log On To" required="required" onchange="loginrama(this.value);" style="width:250px;height:35px;font-size:18px;font-weight:bold;"> <option value=""></option> <option value="ADMIN">ADMIN</option> <option value="USER">USER</option> </select> </div> <div id='div1'> </div> <div> <center> <button type="submit" name="btn" id="btn" style="font-weight:bold;font-family:andalus;width:100px;height:32px;">LOGIN</button> </div> </form> <div id="message"> <br><?php echo $error;?> </div> </div> </body> </html>