Created
August 17, 2022 10:35
-
-
Save MrWhiteD/108b5b8531a3b5d6c37f1cf75a66ce3d to your computer and use it in GitHub Desktop.
[Битрикс , вирус, редиректы и уязвимость в модуле vote] https://fstrange.ru/coder/php/bitrix-virus-vote.html #bitrix #битрикс #security #backdoor
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
<? | |
//В файл /bitrix/tools/vote/uf.php перед required | |
// Добавляем: | |
$request = \Bitrix\Main\Context::getCurrent()->getRequest(); | |
if ( $request ->isPost()) { | |
CHTTP::SetStatus( "404 Not Found" ); | |
@define( "ERROR_404" , "Y" ); | |
die (); | |
} | |
//В файл /bitrix/tools/html_editor_action.php перед required | |
// Добавляем: | |
$request = \Bitrix\Main\Context::getCurrent()->getRequest(); | |
if ( $request ->isPost()) { | |
CHTTP::SetStatus( "404 Not Found" ); | |
@define( "ERROR_404" , "Y" ); | |
die (); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment