Last active
February 8, 2024 06:34
-
-
Save MrWhiteD/4e84ccd8bafe222a9f194979fd9031ce to your computer and use it in GitHub Desktop.
[BITIRX. Как восстановить доступ администратора на сайт] https://dev.1c-bitrix.ru/learning/course/index.php?COURSE_ID=35&LESSON_ID=2161 #bitrix #битрикс #bitrixsecurity #bitrixauth #admin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php"); | |
global $USER; | |
$USER->Authorize(1); | |
header('Location: /bitrix/admin/'); | |
unlink(__FILE__); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment