Tn Jones Shell Bypass
:
3.145.88.104
:
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/changepassadmin.php
<?php date_default_timezone_set("Asia/Kolkata"); ?> <?php include("connection.php"); session_start(); if (!isset($_SESSION['Username']) || ($_SESSION['Password'] == '')) { header("location:index.php"); } else { $now = time(); // Checking the time now when home page starts. if ($now > $_SESSION['expire']) { session_destroy(); echo "Your session has expired! <a href='index.php'>Login here</a>"; } else { //Starting this else one [else1] if(isset($_SESSION['Username'])) { $username=$_SESSION['Username']; } $user_query = mysql_query("SELECT * FROM login where Username='$username' ")or die(mysql_error()); $user_row = mysql_fetch_array($user_query); $dd = $user_row['Username']; ?> <?php $msg=""; if(isset($_REQUEST['btn'])) { $id = $_REQUEST['user']; $password = $_REQUEST['opass']; $newpassword = $_REQUEST['Npass']; $confirmnewpassword = $_REQUEST['Confirmpass']; $result = mysql_query("SELECT password FROM login WHERE Username='$username'"); if(!$result) { $msg= "The username you entered does not exist"; } else if($password!= mysql_result($result, 0)) { $msg= "You entered an incorrect password"; } if($newpassword=$confirmnewpassword) $sql=mysql_query("UPDATE login SET password='$newpassword' where Username='$username'"); if($sql==true) { $msg= "Congratulations You have successfully changed your password"; } else { $msg= "Passwords do not match"; } } ?> <!DOCTYPE HTML> <html> <head> <title>लखनऊ पूर्वी विधान सभा</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content=" " /> <!-- Custom Theme files --> <link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" /> <!--<link href="css/style.css" rel="stylesheet" type="text/css" media="all" /> <!-- js --> <script src="js/jquery-1.11.1.min.js"></script> <!-- //js --> <script type="text/javascript" src="js/panch1.js"></script> <!-- animation-effect --> <link href="css/animate.min.css" rel="stylesheet"> <script src="js/wow.min.js"></script> <style> input[type=text], select { padding: 8px 10px; margin: 4px 0; display: inline-block; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } input[type=submit]:hover { background-color: #45a049; } </style> <script> new WOW().init(); </script> <!-- //animation-effect --> <link href='//fonts.googleapis.com/css?family=Alex+Brush' rel='stylesheet' type='text/css'/> <link href='//fonts.googleapis.com/css?family=Cabin:400,400italic,500,500italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'/> <script type="text/javascript" src="js/jquery.js"></script> <script src="js/wow.min.js"></script> <link href="css/style.css" rel="stylesheet" type="text/css" media="all" /> <script src="js/wow.min.js"></script> <script src="js/jquery-1.3.2.js" type="text/javascript"> </script> <script src="js/jquery.validate.js" type="text/javascript"> </script> <script src="js/jquery.validation.functions.js" type="text/javascript"> </script> <link href="css/animate.min.css" rel="stylesheet"/> <!--canlendar--> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery-calendar.js"></script> <link rel="stylesheet" type="text/css" href="css/jquery-calendar.css" /> <link rel="stylesheet" type="text/css" href="css/styles.css" /> <script> function fun() { var a=document.getElementById("user").value; var a=document.getElementById("Cpass").value; var b=document.getElementById("Npass").value; var c=document.getElementById("Confirmpass").value; if(a=="") { alert("Please enter the user name"); document.getElementById("user").focus(); return false; } else if(b=="") { alert("Please enter old password"); document.getElementById("Cpass").focus(); return false; } else if(c=="") { alert("Please enter new password"); document.getElementById("Npass").focus(); return false; } else if(d=="") { alert("Please enter Confirm password"); document.getElementById("Confirmpass").focus(); return false } else if(c!=d) { alert("Please match the new and Confirm password"); } else { alert("password Changed"); } } </script> </head> <body> <div class="header"> <div class="banner"> <div class="logo"> </div> <div class="top-menu"> </div> <!-- search-scripts --> <script src="js/classie.js"></script> <script src="js/uisearch.js"></script> <script> new UISearch( document.getElementById( 'sb-search' ) ); </script> <!-- //search-scripts --> <div class="clearfix"></div> <div id="sb-search" class="sb-search"> </div> </div> <!-- script-for-nav --> <script> $(document).ready(function(){ $("span.menu").click(function(){ $(".top-nav ul").slideToggle(1000); }); }); </script> <!-- script-for-nav --> <!-- /top-nav --> <div class="clearfix"></div> </div> <h4 align="right"><a href="logout.php"><img src="img/logout.jpg" style='margin-right:20px;'></a></h4> <!-- contact --> <div class="container"><br> <h3 align="right"><center><font color="#1387AD" face="andalus"><b>अपना पासवर्ड चेंज करें </b></font></center> </h3> <div class="col-md-12 contact-left wow fadeInRight" data-wow-duration="1000ms" data-wow-delay="300ms"> <form method="post" name="birthday" class="register" enctype="multipart/form-data"> <table style="border:1px solid black;width:55%;" border="3" cellspacing="5" cellpadding="5" align="center"> <tr style="border:1px solid black;background-color:#2AC5AA;color:white"><td colspan="2" align="center"><strong><font size="+1">Reset Password</font></strong></td></tr> <tr><td colspan="2"><br></td></tr> <?php $sql1=mysql_query("select * from login where Username='$username'"); if($r=mysql_fetch_array($sql1)) { ?> <tr> <td align='center'><strong><font color="navy">यूज़र आईडी</font></strong></td> <td><input type="text" name="user" id="user" readonly style=" width:200px; height:32px" value="<?php echo $r['Username'];?>"></td> </tr> <?php } ?> <tr><td colspan="2"><br></td></tr> <tr> <td align='center'><strong><font color="navy">पुराना पासवर्ड</font></strong></td> <td><input type="password"style=" width:200px; height:32px" autocomplete="off" name="opass" id="Cpass"></td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align='center'><strong><font color="navy">नया पासवर्ड</font></strong></td> <td ><input type="password" name="Npass" style=" width:200px; height:32px" id="Npass"></td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align='center'><strong><font color="navy">नए पासवर्ड की पुष्टि करें</font></strong></td> <td><input type="password" name="Confirmpass" style=" width:200px; height:32px" id="Confirmpass"></td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td colspan="2" align="center"><input style="font-weight:bold;width:80px;height:30px;background-color:#2AC5AA;color:white;" type="submit" name="btn" value="बदलना" onClick="return fun()" /> <a href="page.php"><input type="button" name="" value="वापस" style="font-weight:bold;width:80px;height:30px;background-color:#2AC5AA;color:white;"></a> </td> </tr> </table> </form> <center> <br><br> <font color='red' size='+1'><b><?php echo $msg;?></b></font> </center> </div> <div class="clearfix"> </div><br><br> </div> <!-- footer --> <div class="footer"> <div class="container"> <div class="clearfix"></div> <div class="footer-bottom"> <p> <b>Copyright ©2017 All rights Reserved || Designed & Developed by<a href="#" >Niharika Gupta</a></b></p> </div> <script type="text/javascript"> $(document).ready(function() { /* var defaults = { containerID: 'toTop', // fading element id containerHoverID: 'toTopHover', // fading element hover id scrollSpeed: 1200, easingType: 'linear' }; */ $().UItoTop({ easingType: 'easeOutQuart' }); }); </script> <a href="#" id="toTop" style="display: block;"> <span id="toTopHover" style="opacity: 1;"> </span></a> </div> </div> <!-- //footer --> <!-- for bootstrap working --> <script src="js/bootstrap.js"></script> <!-- //for bootstrap working --> <?php }} ?> </body> </html>