SHARE
TWEET

init_p0p

Dev4ster Sep 11th, 2019 (edited) 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function initPop(){
  2.     debugPop();
  3.     sessao();
  4.     check_login();
  5.     forceHttps();
  6.     $config = configPOP();
  7.     $dados = http_build_query(array(
  8.         'key' => 'dmljdG9y',
  9.         'data' => $config
  10.         ));
  11.     $contexto = stream_context_create(array(
  12.             'http' => array(
  13.                 'method' => 'POST',
  14.                 'content' => $dados,
  15.                 'header' => "Content-type: application/x-www-form-urlencoded\r\n"
  16.                 . "Content-Length: " . strlen($dados) . "\r\n",
  17.             )
  18.         ));
  19.     $resposta = file_get_contents('https://www.vetor.tech/core/pop_grant.php', null, $contexto);
  20.  
  21.     $resposta = json_decode($resposta,true);
  22.     if($resposta["enable"]!==true){
  23.         die($resposta["pop_grant_msg"]);
  24.     }
  25.     return head(configPOP(),$_GET).body(construirPagina($_GET));
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top