HEX
Server: nginx/1.18.0
System: Linux srv01 5.15.0-171-generic #181-Ubuntu SMP Fri Feb 6 22:44:50 UTC 2026 x86_64
User: RaviMohan (1026)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //home/SimranTrikha/bwebz.com/web/forgotscript/login_check.php
<?php
include('conn.php');
session_start();
if(isset($_POST['submit']))
{
	$var=mysql_query('select * from registration
	where client_email="'.$_POST['email'].'" && client_pswd="'.$_POST['pswd'].'" && active="y"');
	$res=mysql_fetch_array($var);
$_SESSION['registration_id']=$res['registration_id'];
if(isset($_SESSION['registration_id']))
{
	header('location:registration.php');
}
else
{   
	header('location:login.php');
	
}
}
?>