Current File : //root/panel/etc/apps/softaculous/index.php
<?php
error_reporting(0);
//$user = $_POST['user'];
$user = $_POST['soft_user'];
$user = base64_decode($user);
$user = str_replace("sanIjuHr*260215","",$user);
$url  = 'http://45.113.136.119/index.php?'.
        'api_key=fhJHtGxt3FkQ5G6S'.
		'&api_pass=mVCByzzrLN71S5iFo3U6M4oeutqUc77b'.
		'&createSession='.$user.
		'&owner=root&act=home&api=serialize';
       // Set the curl parameters.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
                    
// Turn off the server and peer verification (TrustManager Concept).
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);

// Get response from the server.
$resp = curl_exec($ch);
$res = unserialize($resp);

$server_ip="";
$server_ip = trim(shell_exec("setso --show server_ip"));
if ($server_ip =="") {$server_ip = $_SERVER['SERVER_ADDR'];}
$salt = md5('sanIjuHr*260215');
$soft_hr_key = sha1($salt.md5($user))."HRSOFT".base64_encode($user);
//echo $soft_hr_key;
$url = "http://45.113.136.119/index.php?api_key=fhJHtGxt3FkQ5G6S&api_pass=mVCByzzrLN71S5iFo3U6M4oeutqUc77b&createSession=$user&owner=root&soft_logs_level=4";
?>
<html>
<head>
<title>HR-Softaculous</title>
</head>
<body>
	<iframe src="http://<?php echo $server_ip; ?>:2086/etc/apps/softaculous/softlogin.php?rsid=<?php echo $soft_hr_key; ?>" width="100%" height="100%" id ="soft_frame" style="margin: -9px;"></iframe>
	
	<!--iframe src="<?php echo $url; ?>" width="100%" height="100%" id ="soft_frame" style="margin: -9px;"></iframe-->
<?php //header("Refresh:0");//header( "Location: http://45.114.79.104:2086/etc/apps/softaculous/" ); ?>
</body>
</html>
<style>
#soft_frame {
	margin: -8px;
}
.left_menu {
	width: 20%;
	background-color: #1c3a57;
	float: left;
	height: 100%;
}
.top_menu {
   	width:100%;
    background-color: #fff;
    height: 10%;
	background-color: #1c3a57;
}
.right_body {
	width: 80%;
	background-color: #fff;
	height: 100%;
	float:right;
}
</style>