403Webshell
Server IP : 104.21.17.213  /  Your IP : 216.73.217.141
Web Server : Apache
System : Linux hosting01.arsenalhost.com 4.18.0-425.13.1.lve.el8.x86_64 #1 SMP Mon Feb 27 15:23:24 EST 2023 x86_64
User : corbizre ( 1013)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/corbizre/corbizrealestate.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/corbizre/corbizrealestate.com/test.php
<?php
//echo str_replace(" ","-",preg_replace('/(\s\s+|\t|\n)/', ' ',preg_replace("|[^[:alnum:]\s]|","",filter_var(trim(strtolower(preg_replace("/&#?[a-z0-9]{2,8};/i",""," 123 ave #un &amp; 2 ave, New York, NY 10001 "))), FILTER_SANITIZE_STRING))));

header ("Content-type: image/png");
$src = array ("http://img.nextgreathome.com/AZ/000001309/1309914/4870802c29916a8d54729aba53a024e9.jpg","http://img.nextgreathome.com/AZ/000001309/1309915/c97fe04cb959517d64a198200c6515eb.jpg");

$iOut = imagecreatetruecolor("450","200") ;
//imagecopyresized($iOut,$imgBuf[0],0,0,0,0,imagesx($imgBuf[0]),imagesy($imgBuf[0]));
//imagecopyresized($iOut, $imgBuf[0], 0, 0, 0, 0, 100, 100, imagesx($imgBuf[0]),imagesy($imgBuf[0]));
//print_r(getimagesize("http://img.nextgreathome.com/AZ/000001309/1309914/4870802c29916a8d54729aba53a024e9.jpg"));
//imagedestroy ($imgBuf[0]);
//imagecopy ($iOut,$imgBuf[1],100,0,0,0,imagesx($imgBuf[1]),imagesy($imgBuf[1]));
//imagedestroy ($imgBuf[1]);
$imgBuf[0] = resizeImage("http://img.nextgreathome.com/AZ/000001309/1309914/4870802c29916a8d54729aba53a024e9.jpg", 150, 150);
imagecopy($iOut,$imgBuf[0],301,0,0,0,imagesx($imgBuf[0]),imagesy($imgBuf[0]));
imagedestroy($imgBuf[0]);
$imgBuf[0] = resizeImage("http://img.nextgreathome.com/AZ/000001309/1309914/4870802c29916a8d54729aba53a024e9.jpg", 150, 150);
imagecopy($iOut,$imgBuf[0],301,imagesy($imgBuf[0]),0,0,imagesx($imgBuf[0]),imagesy($imgBuf[0]));
imagedestroy($imgBuf[0]);
$imgBuf[0] = resizeImage("http://img.nextgreathome.com/AZ/000001309/1309915/c97fe04cb959517d64a198200c6515eb.jpg", 300, 300);
imagecopy($iOut,$imgBuf[0],0,0,0,0,imagesx($imgBuf[0]),imagesy($imgBuf[0]));
imagedestroy($imgBuf[0]);
imagepng($iOut);

function resizeImage($filename, $max_width, $max_height)
{
	list($orig_width, $orig_height) = getimagesize($filename);

	$width = $orig_width;
	$height = $orig_height;

	# taller
	if ($height > $max_height) {
		$width = ($max_height / $height) * $width;
		$height = $max_height;
	}

	# wider
	if ($width > $max_width) {
	$height = ($max_width / $width) * $height;
	$width = $max_width;
	}

	$image_p = imagecreatetruecolor($width, $height);


	switch(substr($filename,strrpos($filename,".")+1))
	{
			case 'png':
				$iTmp = imagecreatefrompng($filename);
				break;
			case 'gif':
				$iTmp = imagecreatefromgif($filename);
				break;
			case 'jpeg':
			case 'jpg':
				$iTmp = imagecreatefromjpeg($filename);
				break;
	}

	imagecopyresampled($image_p, $iTmp, 0, 0, 0, 0,$width, $height, $orig_width, $orig_height);

	return $image_p;
}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit