Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/www/sharemarkettraders.com/software/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/www/sharemarkettraders.com/software/adminlogsuccess.php

<?php

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

require_once("lib/function.php");
$db = new login_function();

/*if(!isset($_SESSION['current_login_admin']))
{
    header("Location:index.php");
}*/

if(isset($_GET['auth_token']) AND isset($_GET['feed_token']) AND isset($_GET['refresh_token']))
{
    /*
    echo "SUCCESS <br />";
    
    echo "Auth Token".$auth_token =   $_GET['auth_token'];
    echo "Feed Token".$feed_token =   $_GET['feed_token'];
    echo "refresh Token".$refresh_token =   $_GET['refresh_token'];*/
    
    $var_login_date = 	date("Y-m-d");
    $var_mobile_no 	= 	"admin";
    $var_jwt_token 	= 	$_GET['auth_token'];
    $var_refresh_token 	= 	$_GET['refresh_token'];
    $var_feed_token  = $_GET['feed_token'];
    $admin_var = "admin";
    $exist = $db->get_login_token_exist($admin_var);
    
    if($exist=="")
    {
        $private_api_key    =   $db->get_private_api_key_from_mobile_number($var_mobile_no);
        if($db->add_new_login_tokens($var_login_date,$var_mobile_no,$var_jwt_token,$var_refresh_token,$var_feed_token,$private_api_key))
        {
        		$succ_flag	=	1;
        		header("Location:admin/dashboard.php?status=logsuccess");
        }
        else
        {
            header("Location:admin/dashboard.php?status=logfail");
        }
    }
    else
    {
        $private_api_key    =   $db->get_private_api_key_from_mobile_number($var_mobile_no);
         if($db->update_login_tokens($var_login_date,$var_mobile_no,$var_jwt_token,$var_refresh_token,$var_feed_token,$private_api_key))
        {
        		$succ_flag	=	1;
        		header("Location:admin/dashboard.php?status=logsuccess");
        }
        else
        {
            header("Location:admin/dashboard.php?status=logfail");
        }
    }
}
?>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4