%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 18.191.117.57
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,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 : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/main/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/main/admin/wizard_install.php
<?
require_once(dirname(__FILE__)."/../include/prolog_admin_before.php");
require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php");
require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/classes/general/wizard.php");

IncludeModuleLangFile(__FILE__);

if(!$USER->CanDoOperation('edit_php')):
	$APPLICATION->AuthForm(GetMessage("ACCESS_DENIED"));
elseif (!check_bitrix_sessid()):?>
	<span style="color:red"><?=GetMessage("MAIN_WIZARD_INSTALL_SESSION_EXPIRED")?></span>
	<form action="<?=$APPLICATION->GetCurPageParam(bitrix_sessid_get(), Array("sessid"))?>" method="post">
		<?=CAdminUtil::dumpVars($_POST, array("USER_LOGIN", "USER_PASSWORD", "sessid"));?>
		<br><input type="submit" value="<?=GetMessage("MAIN_WIZARD_INSTALL_RELOAD_PAGE")?>">
	</form>
<?
else:

	$arWizardNameTmp = explode(":", $_REQUEST["wizardName"]);
	$arWizardName = array();
	foreach ($arWizardNameTmp as $a)
	{
		$a = preg_replace("#[^a-z0-9_.-]+#i", "", $a);
		if ($a <> '')
			$arWizardName[] = $a;
	}

	if (count($arWizardName) > 2)
	{
		$path = $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/".$arWizardName[0]."/install/wizards/".$arWizardName[1]."/".$arWizardName[2];

		CopyDirFiles(
			$_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/".$arWizardName[0]."/install/wizards/".$arWizardName[1]."/".$arWizardName[2],
			$_SERVER["DOCUMENT_ROOT"]."/bitrix/wizards/".$arWizardName[1]."/".$arWizardName[2],
			true,
			true,
			false,
			""
		);

		$arWizardName = array($arWizardName[1], $arWizardName[2]);
	}

	$installer = new CWizard($arWizardName[0].(count($arWizardName) > 1 ? ":".$arWizardName[1] : ""));
	$installer->Install();
endif;
?>

Youez - 2016 - github.com/yon3zu
LinuXploit