__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
// URI Functions
function selfHost(){
$s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
$pt = strtolower($_SERVER["SERVER_PROTOCOL"]);
$protocol = substr($pt, 0, strpos($pt, "/")).$s;
return $protocol."://".$_SERVER['SERVER_NAME'];
}
// (config y stream)
function getSelfUri(){
$proto = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://';
return $proto.$_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
}
// To match a relative path
function getRelPa($scr,$fil){
$scr = str_replace("http://www.", "http://", $scr);
$fil = str_replace("http://www.", "http://", $fil);
$scr_a = explode('/',$scr);
$fil_a = explode('/',$fil);
$scr_ab = $scr_a;
foreach($fil_a as $k => $dir){
if($dir == $scr_a[$k]){
$d[]=$dir;
array_shift($scr_ab);
}else{
$f[]=$dir;
}
}
$rp='';
if(count($scr_ab)>1){
array_shift($scr_ab);
foreach($scr_ab as $di){
$rp.='../';
}
}
$rp .= implode('/',$f);
return $rp;
}
// FileTree Functions
// get file extension (funct)
function getExt($file){
return strtolower(substr($file, strrpos($file, '.') + 1));
}
// Check if it is a valid file for Flash Player (func)
function isValidFile($file){
$extensions = explode(',','flv,f4v,f4p,f4a,f4b,xml,jpg,jpeg,mp4,m4a,m4v,png,mp3,ogv');
$ext = getExt($file);
if (in_array($ext, $extensions)){
return true;
}else{
return false;
}
}
// Read the directory (func, media lib)
function readDirR($dir = "./",$base_path='./',$mp='') {
if($listing = opendir($dir)){
$return = array ();
while(($entry = readdir($listing)) !== false) {
if ($entry != "." && $entry != ".." && substr($entry,0,1) != '.') {
$dir = preg_replace("/^(.*)(\/)+$/", "$1", $dir);
$item = $dir . "/" . $entry;
$isfile = is_file($item);
$dirend = ($isfile)?'':'/';
$path_to_file = $dir . "/" . $entry . $dirend;
$path_to_file = str_replace($mp, $base_path, $path_to_file);
$link = '<a rel="'.getExt($entry).'" href="'.$path_to_file.'">' . $entry . '</a>';
if ($isfile && isValidFile($entry)) {
$return[] = $link;
}
elseif (is_dir($item)) {
$return[$link] = readDirR($item,$base_path,$mp);
} else {}
} else {}
}
return $return;
}else{
die('Can\'t read directory.');
}
}
// Convert the array to UL-LI (func, media lib)
function makeULLI($array) {
$return = "<ul>";
if (is_array($array) && count($array) > 0) {
foreach ($array as $k => $v) {
if (is_array($v) && count($v) > 0) {
$return .= "<li><span class=\"folder\">" . $k . "</span>". makeULLI($v) . "</li>";
} else if(count($v)>0){
$return .= "<li><span class=\"file\">" . $v . "</span></li>";
}
}
} else {}
$return .= "</ul>";
return $return;
}
?>| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| button | Folder | 0755 |
|
|
| langs | Folder | 0755 |
|
|
| plugins | Folder | 0755 |
|
|
| skins | Folder | 0755 |
|
|
| bootstrap.php | File | 1.38 KB | 0644 |
|
| config.php | File | 19.98 KB | 0644 |
|
| crossdomain.xml | File | 199 B | 0644 |
|
| default.gif | File | 2.23 KB | 0644 |
|
| functions.php | File | 2.7 KB | 0644 |
|
| gpl-3.0.txt | File | 34.32 KB | 0644 |
|
| medialibrary.php | File | 1.72 KB | 0644 |
|
| player.swf | File | 109.9 KB | 0644 |
|
| readme.txt | File | 11.86 KB | 0644 |
|
| responsive.css | File | 502 B | 0644 |
|
| screenshot-1.png | File | 38.38 KB | 0644 |
|
| screenshot-2.png | File | 9.36 KB | 0644 |
|
| screenshot-3.png | File | 41.88 KB | 0644 |
|
| screenshot-4.png | File | 19.53 KB | 0644 |
|
| screenshot-5.png | File | 52.17 KB | 0644 |
|
| screenshot-6.png | File | 24.73 KB | 0644 |
|
| screenshot-7.png | File | 300.32 KB | 0644 |
|
| screenshot-8.png | File | 39.34 KB | 0644 |
|
| screenshot-9.png | File | 1.07 MB | 0644 |
|
| stream-video-player.php | File | 41.58 KB | 0644 |
|
| streamer.php | File | 6.08 KB | 0644 |
|
| swfobject.js | File | 9.53 KB | 0644 |
|
| yt.swf | File | 1.08 KB | 0644 |
|