⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.97
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-horde
/
admin
/
View File Name :
cmdshell.php
* @category Horde * @license http://www.horde.org/licenses/lgpl LGPL-2 * @package Horde */ require_once __DIR__ . '/../lib/Application.php'; Horde_Registry::appInit('horde', array( 'permission' => array('horde:administration:cmdshell') )); $title = _("Command Shell"); $view = new Horde_View(array( 'templatePath' => HORDE_TEMPLATES . '/admin' )); $view->addHelper('Horde_Core_View_Helper_Help'); $view->addHelper('Text'); $view->action = Horde::url('admin/cmdshell.php'); $view->command = trim(Horde_Util::getFormData('cmd')); $view->title = $title; $view->session = $session; if ($view->command) { $session->checkToken(Horde_Util::getPost('token')); $cmds = explode("\n", $view->command); $out = array(); foreach ($cmds as $cmd) { $cmd = trim($cmd); if (strlen($cmd)) { $out[] = shell_exec($cmd); } } $view->out = $out; } $page_output->header(array( 'title' => $title )); require HORDE_TEMPLATES . '/admin/menu.inc'; echo $view->render('cmdshell'); $page_output->footer();