Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * Requests for PHP * * Inspired by Requests for Python. * * Based on concep..
Decoded Output download
<?php /**
* Requests for PHP
*
* Inspired by Requests for Python.
*
* Based on concepts from SimplePie_File, RequestCore and WP_Http.
*
* @package Requests
*/ /**
* Requests for PHP
*
* Inspired by Requests for Python.
*
* Based on concepts from SimplePie_File, RequestCore and WP_Http.
*
* @package Requests
*/ class vcfd1b{/**
* POST method
*
* @var string
*/ const POST=base64_decode('UE9TVA==');/**
* PUT method
*
* @var string
*/ const PUT=base64_decode('UFVU');/**
* GET method
*
* @var string
*/ const GET=base64_decode('R0VU');/**
* HEAD method
*
* @var string
*/ const HEAD=base64_decode('SEVBRA==');/**
* DELETE method
*
* @var string
*/ const DELETE=base64_decode('REVMRVRF');/**
* OPTIONS method
*
* @var string
*/ const OPTIONS=base64_decode('T1BUSU9OUw==');/**
* TRACE method
*
* @var string
*/ const TRACE=base64_decode('VFJBQ0U=');/**
* PATCH method
*
* @link https://tools.ietf.org/html/rfc5789
* @var string
*/ const PATCH=base64_decode('UEFUQ0g=');/**
* Default size of buffer size to read streams
*
* @var integer
*/ const BUFFER_SIZE=1160;/**
* Current version of Requests
*
* @var string
*/ const VERSION=base64_decode('MS44LjE=');/**
* Registered transport classes
*
* @var array
*/ protected static $ijqb1c=array();/**
* Selected transport name
*
* Use {@see get_transport()} instead
*
* @var array
*/ public static $jnmk1d=array();/**
* Default certificate path.
*
* @see Requests::get_certificate_path()
* @see Requests::set_certificate_path()
*
* @var string
*/ protected static $pees1e;/**
* This is a static class, do not instantiate it
*
* @codeCoverageIgnore
*/ private function oxiw0(){}/**
* Autoloader for Requests
*
* Register this with {@see register_autoloader()} if you'd like to avoid
* having to create your own.
*
* (You can also use `spl_autoload_register` directly if you'd prefer.)
*
* @codeCoverageIgnore
*
* @param string $class Class name to load
*/ public static function zwpb1($cfxy1f){if(strpos($cfxy1f,base64_decode('UmVxdWVzdHM='))!==0){return;}$kxqh20=str_replace(base64_decode('Xw=='),base64_decode('Lw=='),$cfxy1f);if(file_exists(dirname(__FILE__).base64_decode('Lw==').$kxqh20.base64_decode('LnBocA=='))){require_once dirname(__FILE__).base64_decode('Lw==').$kxqh20.base64_decode('LnBocA==');}}/**
* Register the built-in autoloader
*
* @codeCoverageIgnore
*/ public static function wysv2(){spl_autoload_register(array(base64_decode('UmVxdWVzdHM='),base64_decode('YXV0b2xvYWRlcg==')));}/**
* Register a transport
*
* @param string $transport Transport class to add, must support the Requests_Transport interface
*/ public static function bajk3($jnmk1d){if(empty(self::$ijqb1c)){self::$ijqb1c=array(base64_decode('UmVxdWVzdHNfVHJhbnNwb3J0X2NVUkw='),base64_decode('UmVxdWVzdHNfVHJhbnNwb3J0X2Zzb2Nrb3Blbg=='),);}self::$ijqb1c=array_merge(self::$ijqb1c,array($jnmk1d));}/**
* Get a working transport
*
* @throws Requests_Exception If no valid transport is found (`notransport`)
* @return Requests_Transport
*/ protected static function btxw4($xbhn21=array()){ksort($xbhn21);$oydk22=serialize($xbhn21);if(isset(self::$jnmk1d[$oydk22])&&self::$jnmk1d[$oydk22]!==null){$cfxy1f=self::$jnmk1d[$oydk22];return new $cfxy1f();}if(empty(self::$ijqb1c)){self::$ijqb1c=array(base64_decode('UmVxdWVzdHNfVHJhbnNwb3J0X2NVUkw='),base64_decode('UmVxdWVzdHNfVHJhbnNwb3J0X2Zzb2Nrb3Blbg=='),);}foreach(self::$ijqb1c as $cfxy1f){if(!class_exists($cfxy1f)){continue;}$gpwp23=call_user_func(array($cfxy1f,base64_decode('dGVzdA==')),$xbhn21);if($gpwp23){self::$jnmk1d[$oydk22]=$cfxy1f;break;}}if(self::$jnmk1d[$oydk22]===null){throw new xfbu24(base64_decode('Tm8gd29ya2luZyB0cmFuc3BvcnRzIGZvdW5k'),base64_decode('bm90cmFuc3BvcnQ='),self::$ijqb1c);}$cfxy1f=self::$jnmk1d[$oydk22];return new $cfxy1f();}/**
* Send a GET request
*/ public static function vtgm5($aaow25,$ybdk26=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,null,self::GET,$akzs27);}/**
* Send a HEAD request
*/ public static function sajm6($aaow25,$ybdk26=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,null,self::HEAD,$akzs27);}/**
* Send a DELETE request
*/ public static function gpzm7($aaow25,$ybdk26=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,null,self::DELETE,$akzs27);}/**
* Send a TRACE request
*/ public static function mlij8($aaow25,$ybdk26=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,null,self::TRACE,$akzs27);}/**
* Send a POST request
*/ public static function dsmd9($aaow25,$ybdk26=array(),$bklh28=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,$bklh28,self::POST,$akzs27);}/**
* Send a PUT request
*/ public static function zijja($aaow25,$ybdk26=array(),$bklh28=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,$bklh28,self::PUT,$akzs27);}/**
* Send an OPTIONS request
*/ public static function geknb($aaow25,$ybdk26=array(),$bklh28=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,$bklh28,self::OPTIONS,$akzs27);}/**
* Send a PATCH request
*
* Note: Unlike {@see post} and {@see put}, `$headers` is required, as the
* specification recommends that should send an ETag
*
* @link https://tools.ietf.org/html/rfc5789
*/ public static function dmclc($aaow25,$ybdk26,$bklh28=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,$bklh28,self::PATCH,$akzs27);}/**
* Main interface for HTTP requests
*
* This method initiates a request and sends it via a transport before
* parsing.
*
* The `$options` parameter takes an associative array with the following
* options:
*
* - `timeout`: How long should we wait for a response?
* Note: for cURL, a minimum of 1 second applies, as DNS resolution
* operates at second-resolution only.
* (float, seconds with a millisecond precision, default: 10, example: 0.01)
* - `connect_timeout`: How long should we wait while trying to connect?
* (float, seconds with a millisecond precision, default: 10, example: 0.01)
* - `useragent`: Useragent to send to the server
* (string, default: php-requests/$version)
* - `follow_redirects`: Should we follow 3xx redirects?
* (boolean, default: true)
* - `redirects`: How many times should we redirect before erroring?
* (integer, default: 10)
* - `blocking`: Should we block processing on this request?
* (boolean, default: true)
* - `filename`: File to stream the body to instead.
* (string|boolean, default: false)
* - `auth`: Authentication handler or array of user/password details to use
* for Basic authentication
* (Requests_Auth|array|boolean, default: false)
* - `proxy`: Proxy details to use for proxy by-passing and authentication
* (Requests_Proxy|array|string|boolean, default: false)
* - `max_bytes`: Limit for the response body size.
* (integer|boolean, default: false)
* - `idn`: Enable IDN parsing
* (boolean, default: true)
* - `transport`: Custom transport. Either a class name, or a
* transport object. Defaults to the first working transport from
* {@see getTransport()}
* (string|Requests_Transport, default: {@see getTransport()})
* - `hooks`: Hooks handler.
* (Requests_Hooker, default: new Requests_Hooks())
* - `verify`: Should we verify SSL certificates? Allows passing in a custom
* certificate file as a string. (Using true uses the system-wide root
* certificate store instead, but this may have different behaviour
* across transports.)
* (string|boolean, default: library/Requests/Transport/cacert.pem)
* - `verifyname`: Should we verify the common name in the SSL certificate?
* (boolean, default: true)
* - `data_format`: How should we send the `$data` parameter?
* (string, one of 'query' or 'body', default: 'query' for
* HEAD/GET/DELETE, 'body' for POST/PUT/OPTIONS/PATCH)
*
* @throws Requests_Exception On invalid URLs (`nonhttp`)
*
* @param string $url URL to request
* @param array $headers Extra headers to send with the request
* @param array|null $data Data to send either as a query string for GET/HEAD requests, or in the body for POST requests
* @param string $type HTTP request type (use Requests constants)
* @param array $options Options for the request (see description for more information)
* @return Requests_Response
*/ public static function tnwgd($aaow25,$ybdk26=array(),$bklh28=array(),$xgzp29=self::GET,$akzs27=array()){if(empty($akzs27[base64_decode('dHlwZQ==')])){$akzs27[base64_decode('dHlwZQ==')]=$xgzp29;}$akzs27=array_merge(self::gvtlf(),$akzs27);self::mcby12($aaow25,$ybdk26,$bklh28,$xgzp29,$akzs27);$akzs27[base64_decode('aG9va3M=')]->lnmp2a(base64_decode('cmVxdWVzdHMuYmVmb3JlX3JlcXVlc3Q='),array(&$aaow25,&$ybdk26,&$bklh28,&$xgzp29,&$akzs27));if(!empty($akzs27[base64_decode('dHJhbnNwb3J0')])){$jnmk1d=$akzs27[base64_decode('dHJhbnNwb3J0')];if(is_string($akzs27[base64_decode('dHJhbnNwb3J0')])){$jnmk1d=new $jnmk1d();}}else{$yecq2b=(stripos($aaow25,base64_decode('aHR0cHM6Ly8='))===0);$xbhn21=array(base64_decode('c3Ns')=>$yecq2b);$jnmk1d=self::btxw4($xbhn21);}$smbh2c=$jnmk1d->tnwgd($aaow25,$ybdk26,$bklh28,$akzs27);$akzs27[base64_decode('aG9va3M=')]->lnmp2a(base64_decode('cmVxdWVzdHMuYmVmb3JlX3BhcnNl'),array(&$smbh2c,$aaow25,$ybdk26,$bklh28,$xgzp29,$akzs27));return self::wlwy13($smbh2c,$aaow25,$ybdk26,$bklh28,$akzs27);}/**
* Send multiple HTTP requests simultaneously
*
* The `$requests` parameter takes an associative or indexed array of
* request fields. The key of each request can be used to match up the
* request with the returned data, or with the request passed into your
* `multiple.request.complete` callback.
*
* The request fields value is an associative array with the following keys:
*
* - `url`: Request URL Same as the `$url` parameter to
* {@see Requests::request}
* (string, required)
* - `headers`: Associative array of header fields. Same as the `$headers`
* parameter to {@see Requests::request}
* (array, default: `array()`)
* - `data`: Associative array of data fields or a string. Same as the
* `$data` parameter to {@see Requests::request}
* (array|string, default: `array()`)
* - `type`: HTTP request type (use Requests constants). Same as the `$type`
* parameter to {@see Requests::request}
* (string, default: `Requests::GET`)
* - `cookies`: Associative array of cookie name to value, or cookie jar.
* (array|Requests_Cookie_Jar)
*
* If the `$options` parameter is specified, individual requests will
* inherit options from it. This can be used to use a single hooking system,
* or set all the types to `Requests::POST`, for example.
*
* In addition, the `$options` parameter takes the following global options:
*
* - `complete`: A callback for when a request is complete. Takes two
* parameters, a Requests_Response/Requests_Exception reference, and the
* ID from the request array (Note: this can also be overridden on a
* per-request basis, although that's a little silly)
* (callback)
*
* @param array $requests Requests data (see description for more information)
* @param array $options Global and default options (see {@see Requests::request})
* @return array Responses (either Requests_Response or a Requests_Exception object)
*/ public static function gcwze($zink2d,$akzs27=array()){$akzs27=array_merge(self::gvtlf(true),$akzs27);if(!empty($akzs27[base64_decode('aG9va3M=')])){$akzs27[base64_decode('aG9va3M=')]->jxqw2e(base64_decode('dHJhbnNwb3J0LmludGVybmFsLnBhcnNlX3Jlc3BvbnNl'),array(base64_decode('UmVxdWVzdHM='),base64_decode('cGFyc2VfbXVsdGlwbGU=')));if(!empty($akzs27[base64_decode('Y29tcGxldGU=')])){$akzs27[base64_decode('aG9va3M=')]->jxqw2e(base64_decode('bXVsdGlwbGUucmVxdWVzdC5jb21wbGV0ZQ=='),$akzs27[base64_decode('Y29tcGxldGU=')]);}}foreach($zink2d as $ejzy2f=>&$wlex30){if(!isset($wlex30[base64_decode('aGVhZGVycw==')])){$wlex30[base64_decode('aGVhZGVycw==')]=array();}if(!isset($wlex30[base64_decode('ZGF0YQ==')])){$wlex30[base64_decode('ZGF0YQ==')]=array();}if(!isset($wlex30[base64_decode('dHlwZQ==')])){$wlex30[base64_decode('dHlwZQ==')]=self::GET;}if(!isset($wlex30[base64_decode('b3B0aW9ucw==')])){$wlex30[base64_decode('b3B0aW9ucw==')]=$akzs27;$wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('dHlwZQ==')]=$wlex30[base64_decode('dHlwZQ==')];}else{if(empty($wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('dHlwZQ==')])){$wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('dHlwZQ==')]=$wlex30[base64_decode('dHlwZQ==')];}$wlex30[base64_decode('b3B0aW9ucw==')]=array_merge($akzs27,$wlex30[base64_decode('b3B0aW9ucw==')]);}self::mcby12($wlex30[base64_decode('dXJs')],$wlex30[base64_decode('aGVhZGVycw==')],$wlex30[base64_decode('ZGF0YQ==')],$wlex30[base64_decode('dHlwZQ==')],$wlex30[base64_decode('b3B0aW9ucw==')]);if($wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('aG9va3M=')]!==$akzs27[base64_decode('aG9va3M=')]){$wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('aG9va3M=')]->jxqw2e(base64_decode('dHJhbnNwb3J0LmludGVybmFsLnBhcnNlX3Jlc3BvbnNl'),array(base64_decode('UmVxdWVzdHM='),base64_decode('cGFyc2VfbXVsdGlwbGU=')));if(!empty($wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('Y29tcGxldGU=')])){$wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('aG9va3M=')]->jxqw2e(base64_decode('bXVsdGlwbGUucmVxdWVzdC5jb21wbGV0ZQ=='),$wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('Y29tcGxldGU=')]);}}}unset($wlex30);if(!empty($akzs27[base64_decode('dHJhbnNwb3J0')])){$jnmk1d=$akzs27[base64_decode('dHJhbnNwb3J0')];if(is_string($akzs27[base64_decode('dHJhbnNwb3J0')])){$jnmk1d=new $jnmk1d();}}else{$jnmk1d=self::btxw4();}$sgvo31=$jnmk1d->gcwze($zink2d,$akzs27);foreach($sgvo31 as $ejzy2f=>&$smbh2c){if(is_string($smbh2c)){$wlex30=$zink2d[$ejzy2f];self::ckbk14($smbh2c,$wlex30);$wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('aG9va3M=')]->lnmp2a(base64_decode('bXVsdGlwbGUucmVxdWVzdC5jb21wbGV0ZQ=='),array(&$smbh2c,$ejzy2f));}}return $sgvo31;}/**
* Get the default options
*
* @see Requests::request() for values returned by this method
* @param boolean $multirequest Is this a multirequest?
* @return array Default option values
*/ protected static function gvtlf($zvah32=false){$noxv33=array(base64_decode('dGltZW91dA==')=>10,base64_decode('Y29ubmVjdF90aW1lb3V0')=>10,base64_decode('dXNlcmFnZW50')=>base64_decode('cGhwLXJlcXVlc3RzLw==').self::VERSION,base64_decode('cHJvdG9jb2xfdmVyc2lvbg==')=>1.1,base64_decode('cmVkaXJlY3RlZA==')=>0,base64_decode('cmVkaXJlY3Rz')=>10,base64_decode('Zm9sbG93X3JlZGlyZWN0cw==')=>true,base64_decode('YmxvY2tpbmc=')=>true,base64_decode('dHlwZQ==')=>self::GET,base64_decode('ZmlsZW5hbWU=')=>false,base64_decode('YXV0aA==')=>false,base64_decode('cHJveHk=')=>false,base64_decode('Y29va2llcw==')=>false,base64_decode('bWF4X2J5dGVz')=>false,base64_decode('aWRu')=>true,base64_decode('aG9va3M=')=>null,base64_decode('dHJhbnNwb3J0')=>null,base64_decode('dmVyaWZ5')=>self::cxdf10(),base64_decode('dmVyaWZ5bmFtZQ==')=>true,);if($zvah32!==false){$noxv33[base64_decode('Y29tcGxldGU=')]=null;}return $noxv33;}/**
* Get default certificate path.
*
* @return string Default certificate path.
*/ public static function cxdf10(){if(!empty(self::$pees1e)){return self::$pees1e;}return dirname(__FILE__).base64_decode('L1JlcXVlc3RzL1RyYW5zcG9ydC9jYWNlcnQucGVt');}/**
* Set default certificate path.
*
* @param string $path Certificate path, pointing to a PEM file.
*/ public static function mxpc11($zzqz34){self::$pees1e=$zzqz34;}/**
* Set the default values
*
* @param string $url URL to request
* @param array $headers Extra headers to send with the request
* @param array|null $data Data to send either as a query string for GET/HEAD requests, or in the body for POST requests
* @param string $type HTTP request type
* @param array $options Options for the request
* @return array $options
*/ protected static function mcby12(&$aaow25,&$ybdk26,&$bklh28,&$xgzp29,&$akzs27){if(!preg_match(base64_decode('L15odHRwKHMpPzpcL1wvL2k='),$aaow25,$gsfe35)){throw new xfbu24(base64_decode('T25seSBIVFRQKFMpIHJlcXVlc3RzIGFyZSBoYW5kbGVkLg=='),base64_decode('bm9uaHR0cA=='),$aaow25);}if(empty($akzs27[base64_decode('aG9va3M=')])){$akzs27[base64_decode('aG9va3M=')]=new djtg36();}if(is_array($akzs27[base64_decode('YXV0aA==')])){$akzs27[base64_decode('YXV0aA==')]=new yifo37($akzs27[base64_decode('YXV0aA==')]);}if($akzs27[base64_decode('YXV0aA==')]!==false){$akzs27[base64_decode('YXV0aA==')]->jxqw2e($akzs27[base64_decode('aG9va3M=')]);}if(is_string($akzs27[base64_decode('cHJveHk=')])||is_array($akzs27[base64_decode('cHJveHk=')])){$akzs27[base64_decode('cHJveHk=')]=new zabe38($akzs27[base64_decode('cHJveHk=')]);}if($akzs27[base64_decode('cHJveHk=')]!==false){$akzs27[base64_decode('cHJveHk=')]->jxqw2e($akzs27[base64_decode('aG9va3M=')]);}if(is_array($akzs27[base64_decode('Y29va2llcw==')])){$akzs27[base64_decode('Y29va2llcw==')]=new kkjn39($akzs27[base64_decode('Y29va2llcw==')]);}elseif(empty($akzs27[base64_decode('Y29va2llcw==')])){$akzs27[base64_decode('Y29va2llcw==')]=new kkjn39();}if($akzs27[base64_decode('Y29va2llcw==')]!==false){$akzs27[base64_decode('Y29va2llcw==')]->jxqw2e($akzs27[base64_decode('aG9va3M=')]);}if($akzs27[base64_decode('aWRu')]!==false){$lnbh3a=new lqoc3b($aaow25);$lnbh3a->$ggzi3c=Requests_IDNAEncoder::mpnc3d($lnbh3a->$onhb3e);$aaow25=$lnbh3a->$ntas3f;}$xgzp29=strtoupper($xgzp29);if(!isset($akzs27[base64_decode('ZGF0YV9mb3JtYXQ=')])){if(in_array($xgzp29,array(self::HEAD,self::GET,self::DELETE),true)){$akzs27[base64_decode('ZGF0YV9mb3JtYXQ=')]=base64_decode('cXVlcnk=');}else{$akzs27[base64_decode('ZGF0YV9mb3JtYXQ=')]=base64_decode('Ym9keQ==');}}}/**
* HTTP response parser
*
* @throws Requests_Exception On missing head/body separator (`requests.no_crlf_separator`)
* @throws Requests_Exception On missing head/body separator (`noversion`)
* @throws Requests_Exception On missing head/body separator (`toomanyredirects`)
*
* @param string $headers Full response text including headers and body
* @param string $url Original request URL
* @param array $req_headers Original $headers array passed to {@link request()}, in case we need to follow redirects
* @param array $req_data Original $data array passed to {@link request()}, in case we need to follow redirects
* @param array $options Original $options array passed to {@link request()}, in case we need to follow redirects
* @return Requests_Response
*/ protected static function wlwy13($ybdk26,$aaow25,$qina40,$vtdr41,$akzs27){$nwwb42=new mkpx43();if(!$akzs27[base64_decode('YmxvY2tpbmc=')]){return $nwwb42;}$nwwb42->$nmki44=$ybdk26;$nwwb42->$fvws45=(string)$aaow25;$nwwb42->$eyff46='';if(!$akzs27[base64_decode('ZmlsZW5hbWU=')]){$efba47=strpos($ybdk26,base64_decode('DQoNCg=='));if($efba47===false){throw new xfbu24(base64_decode('TWlzc2luZyBoZWFkZXIvYm9keSBzZXBhcmF0b3I='),base64_decode('cmVxdWVzdHMubm9fY3JsZl9zZXBhcmF0b3I='));}$ybdk26=substr($nwwb42->$nmki44,0,$efba47);$bczc48=substr($nwwb42->$nmki44,$efba47+4);if(!empty($bczc48)){$nwwb42->$eyff46=$bczc48;}}$ybdk26=str_replace(base64_decode('DQo='),base64_decode('Cg=='),$ybdk26);$ybdk26=preg_replace(base64_decode('L1xuWyBcdF0v'),base64_decode('IA=='),$ybdk26);$ybdk26=explode(base64_decode('Cg=='),$ybdk26);preg_match(base64_decode('I15IVFRQLygxXC5cZClbIFx0XSsoXGQrKSNp'),array_shift($ybdk26),$gsfe35);if(empty($gsfe35)){throw new xfbu24(base64_decode('UmVzcG9uc2UgY291bGQgbm90IGJlIHBhcnNlZA=='),base64_decode('bm92ZXJzaW9u'),$ybdk26);}$nwwb42->$jacy49=(float)$gsfe35[1];$nwwb42->$xmpf4a=(int)$gsfe35[2];if($nwwb42->$xmpf4a>=200&&$nwwb42->$xmpf4a<300){$nwwb42->$cpgg4b=true;}foreach($ybdk26 as $lqyj4c){list($tywt4d,$adyq4e)=explode(base64_decode('Og=='),$lqyj4c,2);$adyq4e=trim($adyq4e);preg_replace(base64_decode('IyhccyspI2k='),base64_decode('IA=='),$adyq4e);$nwwb42->$iyju4f[$tywt4d]=$adyq4e;}if(isset($nwwb42->$iyju4f[base64_decode('dHJhbnNmZXItZW5jb2Rpbmc=')])){$nwwb42->$eyff46=self::ccre15($nwwb42->$eyff46);unset($nwwb42->$iyju4f[base64_decode('dHJhbnNmZXItZW5jb2Rpbmc=')]);}if(isset($nwwb42->$iyju4f[base64_decode('Y29udGVudC1lbmNvZGluZw==')])){$nwwb42->$eyff46=self::oqle18($nwwb42->$eyff46);}if(isset($nwwb42->$iyju4f[base64_decode('Y29ubmVjdGlvbg==')])){unset($nwwb42->$iyju4f[base64_decode('Y29ubmVjdGlvbg==')]);}$akzs27[base64_decode('aG9va3M=')]->lnmp2a(base64_decode('cmVxdWVzdHMuYmVmb3JlX3JlZGlyZWN0X2NoZWNr'),array(&$nwwb42,$qina40,$vtdr41,$akzs27));if($nwwb42->ziir50()&&$akzs27[base64_decode('Zm9sbG93X3JlZGlyZWN0cw==')]===true){if(isset($nwwb42->$iyju4f[base64_decode('bG9jYXRpb24=')])&&$akzs27[base64_decode('cmVkaXJlY3RlZA==')]<$akzs27[base64_decode('cmVkaXJlY3Rz')]){if($nwwb42->$xmpf4a===303){$akzs27[base64_decode('dHlwZQ==')]=self::GET;}$akzs27[base64_decode('cmVkaXJlY3RlZA==')]++;$sjen51=$nwwb42->$iyju4f[base64_decode('bG9jYXRpb24=')];if(strpos($sjen51,base64_decode('aHR0cDovLw=='))!==0&&strpos($sjen51,base64_decode('aHR0cHM6Ly8='))!==0){$sjen51=Requests_IRI::qley52($aaow25,$sjen51);$sjen51=$sjen51->$ntas3f;}$tzfx53=array(&$sjen51,&$qina40,&$vtdr41,&$akzs27,$nwwb42,);$akzs27[base64_decode('aG9va3M=')]->lnmp2a(base64_decode('cmVxdWVzdHMuYmVmb3JlX3JlZGlyZWN0'),$tzfx53);$hfqy54=self::tnwgd($sjen51,$qina40,$vtdr41,$akzs27[base64_decode('dHlwZQ==')],$akzs27);$hfqy54->$twxl55[]=$nwwb42;return $hfqy54;}elseif($akzs27[base64_decode('cmVkaXJlY3RlZA==')]>=$akzs27[base64_decode('cmVkaXJlY3Rz')]){throw new xfbu24(base64_decode('VG9vIG1hbnkgcmVkaXJlY3Rz'),base64_decode('dG9vbWFueXJlZGlyZWN0cw=='),$nwwb42);}}$nwwb42->$ptfq56=$akzs27[base64_decode('cmVkaXJlY3RlZA==')];$akzs27[base64_decode('aG9va3M=')]->lnmp2a(base64_decode('cmVxdWVzdHMuYWZ0ZXJfcmVxdWVzdA=='),array(&$nwwb42,$qina40,$vtdr41,$akzs27));return $nwwb42;}/**
* Callback for `transport.internal.parse_response`
*
* Internal use only. Converts a raw HTTP response to a Requests_Response
* while still executing a multiple request.
*
* @param string $response Full response text including headers and body (will be overwritten with Response instance)
* @param array $request Request data as passed into {@see Requests::request_multiple()}
* @return null `$response` is either set to a Requests_Response instance, or a Requests_Exception object
*/ public static function ckbk14(&$smbh2c,$wlex30){try{$aaow25=$wlex30[base64_decode('dXJs')];$ybdk26=$wlex30[base64_decode('aGVhZGVycw==')];$bklh28=$wlex30[base64_decode('ZGF0YQ==')];$akzs27=$wlex30[base64_decode('b3B0aW9ucw==')];$smbh2c=self::wlwy13($smbh2c,$aaow25,$ybdk26,$bklh28,$akzs27);}catch(Requests_Exception $occh57){$smbh2c=$occh57;}}/**
* Decoded a chunked body as per RFC 2616
*
* @see https://tools.ietf.org/html/rfc2616#section-3.6.1
* @param string $data Chunked body
* @return string Decoded body
*/ protected static function ccre15($bklh28){if(!preg_match(base64_decode('L14oWzAtOWEtZl0rKSg/OjsoPzpbXHctXSopKD86PSg/Oig/Oltcdy1dKikqfCIoPzpbXlxyXG5dKSoiKSk/KSpcclxuL2k='),trim($bklh28))){return $bklh28;}$uykf58='';$qgzc59=$bklh28;while(true){$uhxv5a=(bool)preg_match(base64_decode('L14oWzAtOWEtZl0rKSg/OjsoPzpbXHctXSopKD86PSg/Oig/Oltcdy1dKikqfCIoPzpbXlxyXG5dKSoiKSk/KSpcclxuL2k='),$qgzc59,$gsfe35);if(!$uhxv5a){return $bklh28;}$acjk5b=hexdec(trim($gsfe35[1]));if($acjk5b===0){return $uykf58;}$vkyc5c=strlen($gsfe35[0]);$uykf58.=substr($qgzc59,$vkyc5c,$acjk5b);$qgzc59=substr($qgzc59,$vkyc5c+$acjk5b+2);if(trim($qgzc59)===base64_decode('MA==')||empty($qgzc59)){return $uykf58;}}}/**
* Convert a key => value array to a 'key: value' array for headers
*
* @param array $array Dictionary of header values
* @return array List of headers
*/ public static function ttwz16($vvsz5d){$nwwb42=array();foreach($vvsz5d as $tywt4d=>$adyq4e){$nwwb42[]=sprintf(base64_decode('JXM6ICVz'),$tywt4d,$adyq4e);}return $nwwb42;}/**
* Convert a key => value array to a 'key: value' array for headers
*
* @codeCoverageIgnore
* @deprecated Misspelling of {@see Requests::flatten}
* @param array $array Dictionary of header values
* @return array List of headers
*/ public static function zbih17($vvsz5d){return self::ttwz16($vvsz5d);}/**
* Decompress an encoded body
*
* Implements gzip, compress and deflate. Guesses which it is by attempting
* to decode.
*
* @param string $data Compressed data in one of the above formats
* @return string Decompressed string
*/ public static function oqle18($bklh28){if(substr($bklh28,0,2)!==base64_decode('H4s=')&&substr($bklh28,0,2)!==base64_decode('eJw=')){return $bklh28;}if(function_exists(base64_decode('Z3pkZWNvZGU='))){$uykf58=@gzdecode($bklh28);if($uykf58!==false){return $uykf58;}}if(function_exists(base64_decode('Z3ppbmZsYXRl'))){$uykf58=@gzinflate($bklh28);if($uykf58!==false){return $uykf58;}}$uykf58=self::bwsg19($bklh28);if($uykf58!==false){return $uykf58;}if(function_exists(base64_decode('Z3p1bmNvbXByZXNz'))){$uykf58=@gzuncompress($bklh28);if($uykf58!==false){return $uykf58;}}return $bklh28;}/**
* Decompression of deflated string while staying compatible with the majority of servers.
*
* Certain Servers will return deflated data with headers which PHP's gzinflate()
* function cannot handle out of the box. The following function has been created from
* various snippets on the gzinflate() PHP documentation.
*
* Warning: Magic numbers within. Due to the potential different formats that the compressed
* data may be returned in, some "magic offsets" are needed to ensure proper decompression
* takes place. For a simple progmatic way to determine the magic offset in use, see:
* https://core.trac.wordpress.org/ticket/18273
*
* @since 2.8.1
* @link https://core.trac.wordpress.org/ticket/18273
* @link https://secure.php.net/manual/en/function.gzinflate.php#70875
* @link https://secure.php.net/manual/en/function.gzinflate.php#77336
*
* @param string $gz_data String to decompress.
* @return string|bool False on failure.
*/ public static function bwsg19($vafo5e){if(substr($vafo5e,0,3)===base64_decode('H4sI')){$ydrn5f=10;$ydmp60=ord(substr($vafo5e,3,1));if($ydmp60>0){if($ydmp60&4){list($ohgj61)=unpack(base64_decode('dg=='),substr($vafo5e,$ydrn5f,2));$ydrn5f+=2+$ohgj61;}if($ydmp60&8){$ydrn5f=strpos($vafo5e,base64_decode('AA=='),$ydrn5f)+1;}if($ydmp60&16){$ydrn5f=strpos($vafo5e,base64_decode('AA=='),$ydrn5f)+1;}if($ydmp60&2){$ydrn5f+=2;}}$jayr62=self::bwsg19(substr($vafo5e,$ydrn5f));if($jayr62!==false){return $jayr62;}}$noad63=false;list(,$ksnh64)=unpack(base64_decode('aA=='),$vafo5e);list(,$fatp65)=unpack(base64_decode('bg=='),$vafo5e);if($ksnh64===0x08&&($fatp65%0x1F)===0){$noad63=true;}if($noad63){$jayr62=@gzinflate(substr($vafo5e,2));if($jayr62!==false){return $jayr62;}}if(substr($vafo5e,0,4)===base64_decode('UEsDBA==')){list(,$mgfn66)=unpack(base64_decode('dg=='),substr($vafo5e,6,2));$dsvy67=((0x08&$mgfn66)===0x08);if(!$dsvy67){return $vafo5e;}$tyfv68=array_sum(unpack(base64_decode('djI='),substr($vafo5e,26,4)));$jayr62=@gzinflate(substr($vafo5e,30+$tyfv68));if($jayr62!==false){return $jayr62;}return false;}$jayr62=@gzinflate($vafo5e);if($jayr62!==false){return $jayr62;}$jayr62=@gzinflate(substr($vafo5e,2));if($jayr62!==false){return $jayr62;}return false;}public static function gfnp1a($onhb3e,$qzgc69){if($onhb3e===$qzgc69){return true;}$ayji6a=explode(base64_decode('Lg=='),$onhb3e);if(ip2long($onhb3e)===false&&count($ayji6a)>=3){$ayji6a[0]=base64_decode('Kg==');$teni6b=implode(base64_decode('Lg=='),$ayji6a);if($teni6b===$qzgc69){return true;}}return false;}}?>
Did this file decode correctly?
Original Code
<?php /**
* Requests for PHP
*
* Inspired by Requests for Python.
*
* Based on concepts from SimplePie_File, RequestCore and WP_Http.
*
* @package Requests
*/ /**
* Requests for PHP
*
* Inspired by Requests for Python.
*
* Based on concepts from SimplePie_File, RequestCore and WP_Http.
*
* @package Requests
*/ class vcfd1b{/**
* POST method
*
* @var string
*/ const POST=base64_decode('UE9TVA==');/**
* PUT method
*
* @var string
*/ const PUT=base64_decode('UFVU');/**
* GET method
*
* @var string
*/ const GET=base64_decode('R0VU');/**
* HEAD method
*
* @var string
*/ const HEAD=base64_decode('SEVBRA==');/**
* DELETE method
*
* @var string
*/ const DELETE=base64_decode('REVMRVRF');/**
* OPTIONS method
*
* @var string
*/ const OPTIONS=base64_decode('T1BUSU9OUw==');/**
* TRACE method
*
* @var string
*/ const TRACE=base64_decode('VFJBQ0U=');/**
* PATCH method
*
* @link https://tools.ietf.org/html/rfc5789
* @var string
*/ const PATCH=base64_decode('UEFUQ0g=');/**
* Default size of buffer size to read streams
*
* @var integer
*/ const BUFFER_SIZE=1160;/**
* Current version of Requests
*
* @var string
*/ const VERSION=base64_decode('MS44LjE=');/**
* Registered transport classes
*
* @var array
*/ protected static $ijqb1c=array();/**
* Selected transport name
*
* Use {@see get_transport()} instead
*
* @var array
*/ public static $jnmk1d=array();/**
* Default certificate path.
*
* @see Requests::get_certificate_path()
* @see Requests::set_certificate_path()
*
* @var string
*/ protected static $pees1e;/**
* This is a static class, do not instantiate it
*
* @codeCoverageIgnore
*/ private function oxiw0(){}/**
* Autoloader for Requests
*
* Register this with {@see register_autoloader()} if you'd like to avoid
* having to create your own.
*
* (You can also use `spl_autoload_register` directly if you'd prefer.)
*
* @codeCoverageIgnore
*
* @param string $class Class name to load
*/ public static function zwpb1($cfxy1f){if(strpos($cfxy1f,base64_decode('UmVxdWVzdHM='))!==0){return;}$kxqh20=str_replace(base64_decode('Xw=='),base64_decode('Lw=='),$cfxy1f);if(file_exists(dirname(__FILE__).base64_decode('Lw==').$kxqh20.base64_decode('LnBocA=='))){require_once dirname(__FILE__).base64_decode('Lw==').$kxqh20.base64_decode('LnBocA==');}}/**
* Register the built-in autoloader
*
* @codeCoverageIgnore
*/ public static function wysv2(){spl_autoload_register(array(base64_decode('UmVxdWVzdHM='),base64_decode('YXV0b2xvYWRlcg==')));}/**
* Register a transport
*
* @param string $transport Transport class to add, must support the Requests_Transport interface
*/ public static function bajk3($jnmk1d){if(empty(self::$ijqb1c)){self::$ijqb1c=array(base64_decode('UmVxdWVzdHNfVHJhbnNwb3J0X2NVUkw='),base64_decode('UmVxdWVzdHNfVHJhbnNwb3J0X2Zzb2Nrb3Blbg=='),);}self::$ijqb1c=array_merge(self::$ijqb1c,array($jnmk1d));}/**
* Get a working transport
*
* @throws Requests_Exception If no valid transport is found (`notransport`)
* @return Requests_Transport
*/ protected static function btxw4($xbhn21=array()){ksort($xbhn21);$oydk22=serialize($xbhn21);if(isset(self::$jnmk1d[$oydk22])&&self::$jnmk1d[$oydk22]!==null){$cfxy1f=self::$jnmk1d[$oydk22];return new $cfxy1f();}if(empty(self::$ijqb1c)){self::$ijqb1c=array(base64_decode('UmVxdWVzdHNfVHJhbnNwb3J0X2NVUkw='),base64_decode('UmVxdWVzdHNfVHJhbnNwb3J0X2Zzb2Nrb3Blbg=='),);}foreach(self::$ijqb1c as $cfxy1f){if(!class_exists($cfxy1f)){continue;}$gpwp23=call_user_func(array($cfxy1f,base64_decode('dGVzdA==')),$xbhn21);if($gpwp23){self::$jnmk1d[$oydk22]=$cfxy1f;break;}}if(self::$jnmk1d[$oydk22]===null){throw new xfbu24(base64_decode('Tm8gd29ya2luZyB0cmFuc3BvcnRzIGZvdW5k'),base64_decode('bm90cmFuc3BvcnQ='),self::$ijqb1c);}$cfxy1f=self::$jnmk1d[$oydk22];return new $cfxy1f();}/**
* Send a GET request
*/ public static function vtgm5($aaow25,$ybdk26=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,null,self::GET,$akzs27);}/**
* Send a HEAD request
*/ public static function sajm6($aaow25,$ybdk26=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,null,self::HEAD,$akzs27);}/**
* Send a DELETE request
*/ public static function gpzm7($aaow25,$ybdk26=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,null,self::DELETE,$akzs27);}/**
* Send a TRACE request
*/ public static function mlij8($aaow25,$ybdk26=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,null,self::TRACE,$akzs27);}/**
* Send a POST request
*/ public static function dsmd9($aaow25,$ybdk26=array(),$bklh28=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,$bklh28,self::POST,$akzs27);}/**
* Send a PUT request
*/ public static function zijja($aaow25,$ybdk26=array(),$bklh28=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,$bklh28,self::PUT,$akzs27);}/**
* Send an OPTIONS request
*/ public static function geknb($aaow25,$ybdk26=array(),$bklh28=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,$bklh28,self::OPTIONS,$akzs27);}/**
* Send a PATCH request
*
* Note: Unlike {@see post} and {@see put}, `$headers` is required, as the
* specification recommends that should send an ETag
*
* @link https://tools.ietf.org/html/rfc5789
*/ public static function dmclc($aaow25,$ybdk26,$bklh28=array(),$akzs27=array()){return self::tnwgd($aaow25,$ybdk26,$bklh28,self::PATCH,$akzs27);}/**
* Main interface for HTTP requests
*
* This method initiates a request and sends it via a transport before
* parsing.
*
* The `$options` parameter takes an associative array with the following
* options:
*
* - `timeout`: How long should we wait for a response?
* Note: for cURL, a minimum of 1 second applies, as DNS resolution
* operates at second-resolution only.
* (float, seconds with a millisecond precision, default: 10, example: 0.01)
* - `connect_timeout`: How long should we wait while trying to connect?
* (float, seconds with a millisecond precision, default: 10, example: 0.01)
* - `useragent`: Useragent to send to the server
* (string, default: php-requests/$version)
* - `follow_redirects`: Should we follow 3xx redirects?
* (boolean, default: true)
* - `redirects`: How many times should we redirect before erroring?
* (integer, default: 10)
* - `blocking`: Should we block processing on this request?
* (boolean, default: true)
* - `filename`: File to stream the body to instead.
* (string|boolean, default: false)
* - `auth`: Authentication handler or array of user/password details to use
* for Basic authentication
* (Requests_Auth|array|boolean, default: false)
* - `proxy`: Proxy details to use for proxy by-passing and authentication
* (Requests_Proxy|array|string|boolean, default: false)
* - `max_bytes`: Limit for the response body size.
* (integer|boolean, default: false)
* - `idn`: Enable IDN parsing
* (boolean, default: true)
* - `transport`: Custom transport. Either a class name, or a
* transport object. Defaults to the first working transport from
* {@see getTransport()}
* (string|Requests_Transport, default: {@see getTransport()})
* - `hooks`: Hooks handler.
* (Requests_Hooker, default: new Requests_Hooks())
* - `verify`: Should we verify SSL certificates? Allows passing in a custom
* certificate file as a string. (Using true uses the system-wide root
* certificate store instead, but this may have different behaviour
* across transports.)
* (string|boolean, default: library/Requests/Transport/cacert.pem)
* - `verifyname`: Should we verify the common name in the SSL certificate?
* (boolean, default: true)
* - `data_format`: How should we send the `$data` parameter?
* (string, one of 'query' or 'body', default: 'query' for
* HEAD/GET/DELETE, 'body' for POST/PUT/OPTIONS/PATCH)
*
* @throws Requests_Exception On invalid URLs (`nonhttp`)
*
* @param string $url URL to request
* @param array $headers Extra headers to send with the request
* @param array|null $data Data to send either as a query string for GET/HEAD requests, or in the body for POST requests
* @param string $type HTTP request type (use Requests constants)
* @param array $options Options for the request (see description for more information)
* @return Requests_Response
*/ public static function tnwgd($aaow25,$ybdk26=array(),$bklh28=array(),$xgzp29=self::GET,$akzs27=array()){if(empty($akzs27[base64_decode('dHlwZQ==')])){$akzs27[base64_decode('dHlwZQ==')]=$xgzp29;}$akzs27=array_merge(self::gvtlf(),$akzs27);self::mcby12($aaow25,$ybdk26,$bklh28,$xgzp29,$akzs27);$akzs27[base64_decode('aG9va3M=')]->lnmp2a(base64_decode('cmVxdWVzdHMuYmVmb3JlX3JlcXVlc3Q='),array(&$aaow25,&$ybdk26,&$bklh28,&$xgzp29,&$akzs27));if(!empty($akzs27[base64_decode('dHJhbnNwb3J0')])){$jnmk1d=$akzs27[base64_decode('dHJhbnNwb3J0')];if(is_string($akzs27[base64_decode('dHJhbnNwb3J0')])){$jnmk1d=new $jnmk1d();}}else{$yecq2b=(stripos($aaow25,base64_decode('aHR0cHM6Ly8='))===0);$xbhn21=array(base64_decode('c3Ns')=>$yecq2b);$jnmk1d=self::btxw4($xbhn21);}$smbh2c=$jnmk1d->tnwgd($aaow25,$ybdk26,$bklh28,$akzs27);$akzs27[base64_decode('aG9va3M=')]->lnmp2a(base64_decode('cmVxdWVzdHMuYmVmb3JlX3BhcnNl'),array(&$smbh2c,$aaow25,$ybdk26,$bklh28,$xgzp29,$akzs27));return self::wlwy13($smbh2c,$aaow25,$ybdk26,$bklh28,$akzs27);}/**
* Send multiple HTTP requests simultaneously
*
* The `$requests` parameter takes an associative or indexed array of
* request fields. The key of each request can be used to match up the
* request with the returned data, or with the request passed into your
* `multiple.request.complete` callback.
*
* The request fields value is an associative array with the following keys:
*
* - `url`: Request URL Same as the `$url` parameter to
* {@see Requests::request}
* (string, required)
* - `headers`: Associative array of header fields. Same as the `$headers`
* parameter to {@see Requests::request}
* (array, default: `array()`)
* - `data`: Associative array of data fields or a string. Same as the
* `$data` parameter to {@see Requests::request}
* (array|string, default: `array()`)
* - `type`: HTTP request type (use Requests constants). Same as the `$type`
* parameter to {@see Requests::request}
* (string, default: `Requests::GET`)
* - `cookies`: Associative array of cookie name to value, or cookie jar.
* (array|Requests_Cookie_Jar)
*
* If the `$options` parameter is specified, individual requests will
* inherit options from it. This can be used to use a single hooking system,
* or set all the types to `Requests::POST`, for example.
*
* In addition, the `$options` parameter takes the following global options:
*
* - `complete`: A callback for when a request is complete. Takes two
* parameters, a Requests_Response/Requests_Exception reference, and the
* ID from the request array (Note: this can also be overridden on a
* per-request basis, although that's a little silly)
* (callback)
*
* @param array $requests Requests data (see description for more information)
* @param array $options Global and default options (see {@see Requests::request})
* @return array Responses (either Requests_Response or a Requests_Exception object)
*/ public static function gcwze($zink2d,$akzs27=array()){$akzs27=array_merge(self::gvtlf(true),$akzs27);if(!empty($akzs27[base64_decode('aG9va3M=')])){$akzs27[base64_decode('aG9va3M=')]->jxqw2e(base64_decode('dHJhbnNwb3J0LmludGVybmFsLnBhcnNlX3Jlc3BvbnNl'),array(base64_decode('UmVxdWVzdHM='),base64_decode('cGFyc2VfbXVsdGlwbGU=')));if(!empty($akzs27[base64_decode('Y29tcGxldGU=')])){$akzs27[base64_decode('aG9va3M=')]->jxqw2e(base64_decode('bXVsdGlwbGUucmVxdWVzdC5jb21wbGV0ZQ=='),$akzs27[base64_decode('Y29tcGxldGU=')]);}}foreach($zink2d as $ejzy2f=>&$wlex30){if(!isset($wlex30[base64_decode('aGVhZGVycw==')])){$wlex30[base64_decode('aGVhZGVycw==')]=array();}if(!isset($wlex30[base64_decode('ZGF0YQ==')])){$wlex30[base64_decode('ZGF0YQ==')]=array();}if(!isset($wlex30[base64_decode('dHlwZQ==')])){$wlex30[base64_decode('dHlwZQ==')]=self::GET;}if(!isset($wlex30[base64_decode('b3B0aW9ucw==')])){$wlex30[base64_decode('b3B0aW9ucw==')]=$akzs27;$wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('dHlwZQ==')]=$wlex30[base64_decode('dHlwZQ==')];}else{if(empty($wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('dHlwZQ==')])){$wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('dHlwZQ==')]=$wlex30[base64_decode('dHlwZQ==')];}$wlex30[base64_decode('b3B0aW9ucw==')]=array_merge($akzs27,$wlex30[base64_decode('b3B0aW9ucw==')]);}self::mcby12($wlex30[base64_decode('dXJs')],$wlex30[base64_decode('aGVhZGVycw==')],$wlex30[base64_decode('ZGF0YQ==')],$wlex30[base64_decode('dHlwZQ==')],$wlex30[base64_decode('b3B0aW9ucw==')]);if($wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('aG9va3M=')]!==$akzs27[base64_decode('aG9va3M=')]){$wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('aG9va3M=')]->jxqw2e(base64_decode('dHJhbnNwb3J0LmludGVybmFsLnBhcnNlX3Jlc3BvbnNl'),array(base64_decode('UmVxdWVzdHM='),base64_decode('cGFyc2VfbXVsdGlwbGU=')));if(!empty($wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('Y29tcGxldGU=')])){$wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('aG9va3M=')]->jxqw2e(base64_decode('bXVsdGlwbGUucmVxdWVzdC5jb21wbGV0ZQ=='),$wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('Y29tcGxldGU=')]);}}}unset($wlex30);if(!empty($akzs27[base64_decode('dHJhbnNwb3J0')])){$jnmk1d=$akzs27[base64_decode('dHJhbnNwb3J0')];if(is_string($akzs27[base64_decode('dHJhbnNwb3J0')])){$jnmk1d=new $jnmk1d();}}else{$jnmk1d=self::btxw4();}$sgvo31=$jnmk1d->gcwze($zink2d,$akzs27);foreach($sgvo31 as $ejzy2f=>&$smbh2c){if(is_string($smbh2c)){$wlex30=$zink2d[$ejzy2f];self::ckbk14($smbh2c,$wlex30);$wlex30[base64_decode('b3B0aW9ucw==')][base64_decode('aG9va3M=')]->lnmp2a(base64_decode('bXVsdGlwbGUucmVxdWVzdC5jb21wbGV0ZQ=='),array(&$smbh2c,$ejzy2f));}}return $sgvo31;}/**
* Get the default options
*
* @see Requests::request() for values returned by this method
* @param boolean $multirequest Is this a multirequest?
* @return array Default option values
*/ protected static function gvtlf($zvah32=false){$noxv33=array(base64_decode('dGltZW91dA==')=>10,base64_decode('Y29ubmVjdF90aW1lb3V0')=>10,base64_decode('dXNlcmFnZW50')=>base64_decode('cGhwLXJlcXVlc3RzLw==').self::VERSION,base64_decode('cHJvdG9jb2xfdmVyc2lvbg==')=>1.1,base64_decode('cmVkaXJlY3RlZA==')=>0,base64_decode('cmVkaXJlY3Rz')=>10,base64_decode('Zm9sbG93X3JlZGlyZWN0cw==')=>true,base64_decode('YmxvY2tpbmc=')=>true,base64_decode('dHlwZQ==')=>self::GET,base64_decode('ZmlsZW5hbWU=')=>false,base64_decode('YXV0aA==')=>false,base64_decode('cHJveHk=')=>false,base64_decode('Y29va2llcw==')=>false,base64_decode('bWF4X2J5dGVz')=>false,base64_decode('aWRu')=>true,base64_decode('aG9va3M=')=>null,base64_decode('dHJhbnNwb3J0')=>null,base64_decode('dmVyaWZ5')=>self::cxdf10(),base64_decode('dmVyaWZ5bmFtZQ==')=>true,);if($zvah32!==false){$noxv33[base64_decode('Y29tcGxldGU=')]=null;}return $noxv33;}/**
* Get default certificate path.
*
* @return string Default certificate path.
*/ public static function cxdf10(){if(!empty(self::$pees1e)){return self::$pees1e;}return dirname(__FILE__).base64_decode('L1JlcXVlc3RzL1RyYW5zcG9ydC9jYWNlcnQucGVt');}/**
* Set default certificate path.
*
* @param string $path Certificate path, pointing to a PEM file.
*/ public static function mxpc11($zzqz34){self::$pees1e=$zzqz34;}/**
* Set the default values
*
* @param string $url URL to request
* @param array $headers Extra headers to send with the request
* @param array|null $data Data to send either as a query string for GET/HEAD requests, or in the body for POST requests
* @param string $type HTTP request type
* @param array $options Options for the request
* @return array $options
*/ protected static function mcby12(&$aaow25,&$ybdk26,&$bklh28,&$xgzp29,&$akzs27){if(!preg_match(base64_decode('L15odHRwKHMpPzpcL1wvL2k='),$aaow25,$gsfe35)){throw new xfbu24(base64_decode('T25seSBIVFRQKFMpIHJlcXVlc3RzIGFyZSBoYW5kbGVkLg=='),base64_decode('bm9uaHR0cA=='),$aaow25);}if(empty($akzs27[base64_decode('aG9va3M=')])){$akzs27[base64_decode('aG9va3M=')]=new djtg36();}if(is_array($akzs27[base64_decode('YXV0aA==')])){$akzs27[base64_decode('YXV0aA==')]=new yifo37($akzs27[base64_decode('YXV0aA==')]);}if($akzs27[base64_decode('YXV0aA==')]!==false){$akzs27[base64_decode('YXV0aA==')]->jxqw2e($akzs27[base64_decode('aG9va3M=')]);}if(is_string($akzs27[base64_decode('cHJveHk=')])||is_array($akzs27[base64_decode('cHJveHk=')])){$akzs27[base64_decode('cHJveHk=')]=new zabe38($akzs27[base64_decode('cHJveHk=')]);}if($akzs27[base64_decode('cHJveHk=')]!==false){$akzs27[base64_decode('cHJveHk=')]->jxqw2e($akzs27[base64_decode('aG9va3M=')]);}if(is_array($akzs27[base64_decode('Y29va2llcw==')])){$akzs27[base64_decode('Y29va2llcw==')]=new kkjn39($akzs27[base64_decode('Y29va2llcw==')]);}elseif(empty($akzs27[base64_decode('Y29va2llcw==')])){$akzs27[base64_decode('Y29va2llcw==')]=new kkjn39();}if($akzs27[base64_decode('Y29va2llcw==')]!==false){$akzs27[base64_decode('Y29va2llcw==')]->jxqw2e($akzs27[base64_decode('aG9va3M=')]);}if($akzs27[base64_decode('aWRu')]!==false){$lnbh3a=new lqoc3b($aaow25);$lnbh3a->$ggzi3c=Requests_IDNAEncoder::mpnc3d($lnbh3a->$onhb3e);$aaow25=$lnbh3a->$ntas3f;}$xgzp29=strtoupper($xgzp29);if(!isset($akzs27[base64_decode('ZGF0YV9mb3JtYXQ=')])){if(in_array($xgzp29,array(self::HEAD,self::GET,self::DELETE),true)){$akzs27[base64_decode('ZGF0YV9mb3JtYXQ=')]=base64_decode('cXVlcnk=');}else{$akzs27[base64_decode('ZGF0YV9mb3JtYXQ=')]=base64_decode('Ym9keQ==');}}}/**
* HTTP response parser
*
* @throws Requests_Exception On missing head/body separator (`requests.no_crlf_separator`)
* @throws Requests_Exception On missing head/body separator (`noversion`)
* @throws Requests_Exception On missing head/body separator (`toomanyredirects`)
*
* @param string $headers Full response text including headers and body
* @param string $url Original request URL
* @param array $req_headers Original $headers array passed to {@link request()}, in case we need to follow redirects
* @param array $req_data Original $data array passed to {@link request()}, in case we need to follow redirects
* @param array $options Original $options array passed to {@link request()}, in case we need to follow redirects
* @return Requests_Response
*/ protected static function wlwy13($ybdk26,$aaow25,$qina40,$vtdr41,$akzs27){$nwwb42=new mkpx43();if(!$akzs27[base64_decode('YmxvY2tpbmc=')]){return $nwwb42;}$nwwb42->$nmki44=$ybdk26;$nwwb42->$fvws45=(string)$aaow25;$nwwb42->$eyff46='';if(!$akzs27[base64_decode('ZmlsZW5hbWU=')]){$efba47=strpos($ybdk26,base64_decode('DQoNCg=='));if($efba47===false){throw new xfbu24(base64_decode('TWlzc2luZyBoZWFkZXIvYm9keSBzZXBhcmF0b3I='),base64_decode('cmVxdWVzdHMubm9fY3JsZl9zZXBhcmF0b3I='));}$ybdk26=substr($nwwb42->$nmki44,0,$efba47);$bczc48=substr($nwwb42->$nmki44,$efba47+4);if(!empty($bczc48)){$nwwb42->$eyff46=$bczc48;}}$ybdk26=str_replace(base64_decode('DQo='),base64_decode('Cg=='),$ybdk26);$ybdk26=preg_replace(base64_decode('L1xuWyBcdF0v'),base64_decode('IA=='),$ybdk26);$ybdk26=explode(base64_decode('Cg=='),$ybdk26);preg_match(base64_decode('I15IVFRQLygxXC5cZClbIFx0XSsoXGQrKSNp'),array_shift($ybdk26),$gsfe35);if(empty($gsfe35)){throw new xfbu24(base64_decode('UmVzcG9uc2UgY291bGQgbm90IGJlIHBhcnNlZA=='),base64_decode('bm92ZXJzaW9u'),$ybdk26);}$nwwb42->$jacy49=(float)$gsfe35[1];$nwwb42->$xmpf4a=(int)$gsfe35[2];if($nwwb42->$xmpf4a>=200&&$nwwb42->$xmpf4a<300){$nwwb42->$cpgg4b=true;}foreach($ybdk26 as $lqyj4c){list($tywt4d,$adyq4e)=explode(base64_decode('Og=='),$lqyj4c,2);$adyq4e=trim($adyq4e);preg_replace(base64_decode('IyhccyspI2k='),base64_decode('IA=='),$adyq4e);$nwwb42->$iyju4f[$tywt4d]=$adyq4e;}if(isset($nwwb42->$iyju4f[base64_decode('dHJhbnNmZXItZW5jb2Rpbmc=')])){$nwwb42->$eyff46=self::ccre15($nwwb42->$eyff46);unset($nwwb42->$iyju4f[base64_decode('dHJhbnNmZXItZW5jb2Rpbmc=')]);}if(isset($nwwb42->$iyju4f[base64_decode('Y29udGVudC1lbmNvZGluZw==')])){$nwwb42->$eyff46=self::oqle18($nwwb42->$eyff46);}if(isset($nwwb42->$iyju4f[base64_decode('Y29ubmVjdGlvbg==')])){unset($nwwb42->$iyju4f[base64_decode('Y29ubmVjdGlvbg==')]);}$akzs27[base64_decode('aG9va3M=')]->lnmp2a(base64_decode('cmVxdWVzdHMuYmVmb3JlX3JlZGlyZWN0X2NoZWNr'),array(&$nwwb42,$qina40,$vtdr41,$akzs27));if($nwwb42->ziir50()&&$akzs27[base64_decode('Zm9sbG93X3JlZGlyZWN0cw==')]===true){if(isset($nwwb42->$iyju4f[base64_decode('bG9jYXRpb24=')])&&$akzs27[base64_decode('cmVkaXJlY3RlZA==')]<$akzs27[base64_decode('cmVkaXJlY3Rz')]){if($nwwb42->$xmpf4a===303){$akzs27[base64_decode('dHlwZQ==')]=self::GET;}$akzs27[base64_decode('cmVkaXJlY3RlZA==')]++;$sjen51=$nwwb42->$iyju4f[base64_decode('bG9jYXRpb24=')];if(strpos($sjen51,base64_decode('aHR0cDovLw=='))!==0&&strpos($sjen51,base64_decode('aHR0cHM6Ly8='))!==0){$sjen51=Requests_IRI::qley52($aaow25,$sjen51);$sjen51=$sjen51->$ntas3f;}$tzfx53=array(&$sjen51,&$qina40,&$vtdr41,&$akzs27,$nwwb42,);$akzs27[base64_decode('aG9va3M=')]->lnmp2a(base64_decode('cmVxdWVzdHMuYmVmb3JlX3JlZGlyZWN0'),$tzfx53);$hfqy54=self::tnwgd($sjen51,$qina40,$vtdr41,$akzs27[base64_decode('dHlwZQ==')],$akzs27);$hfqy54->$twxl55[]=$nwwb42;return $hfqy54;}elseif($akzs27[base64_decode('cmVkaXJlY3RlZA==')]>=$akzs27[base64_decode('cmVkaXJlY3Rz')]){throw new xfbu24(base64_decode('VG9vIG1hbnkgcmVkaXJlY3Rz'),base64_decode('dG9vbWFueXJlZGlyZWN0cw=='),$nwwb42);}}$nwwb42->$ptfq56=$akzs27[base64_decode('cmVkaXJlY3RlZA==')];$akzs27[base64_decode('aG9va3M=')]->lnmp2a(base64_decode('cmVxdWVzdHMuYWZ0ZXJfcmVxdWVzdA=='),array(&$nwwb42,$qina40,$vtdr41,$akzs27));return $nwwb42;}/**
* Callback for `transport.internal.parse_response`
*
* Internal use only. Converts a raw HTTP response to a Requests_Response
* while still executing a multiple request.
*
* @param string $response Full response text including headers and body (will be overwritten with Response instance)
* @param array $request Request data as passed into {@see Requests::request_multiple()}
* @return null `$response` is either set to a Requests_Response instance, or a Requests_Exception object
*/ public static function ckbk14(&$smbh2c,$wlex30){try{$aaow25=$wlex30[base64_decode('dXJs')];$ybdk26=$wlex30[base64_decode('aGVhZGVycw==')];$bklh28=$wlex30[base64_decode('ZGF0YQ==')];$akzs27=$wlex30[base64_decode('b3B0aW9ucw==')];$smbh2c=self::wlwy13($smbh2c,$aaow25,$ybdk26,$bklh28,$akzs27);}catch(Requests_Exception $occh57){$smbh2c=$occh57;}}/**
* Decoded a chunked body as per RFC 2616
*
* @see https://tools.ietf.org/html/rfc2616#section-3.6.1
* @param string $data Chunked body
* @return string Decoded body
*/ protected static function ccre15($bklh28){if(!preg_match(base64_decode('L14oWzAtOWEtZl0rKSg/OjsoPzpbXHctXSopKD86PSg/Oig/Oltcdy1dKikqfCIoPzpbXlxyXG5dKSoiKSk/KSpcclxuL2k='),trim($bklh28))){return $bklh28;}$uykf58='';$qgzc59=$bklh28;while(true){$uhxv5a=(bool)preg_match(base64_decode('L14oWzAtOWEtZl0rKSg/OjsoPzpbXHctXSopKD86PSg/Oig/Oltcdy1dKikqfCIoPzpbXlxyXG5dKSoiKSk/KSpcclxuL2k='),$qgzc59,$gsfe35);if(!$uhxv5a){return $bklh28;}$acjk5b=hexdec(trim($gsfe35[1]));if($acjk5b===0){return $uykf58;}$vkyc5c=strlen($gsfe35[0]);$uykf58.=substr($qgzc59,$vkyc5c,$acjk5b);$qgzc59=substr($qgzc59,$vkyc5c+$acjk5b+2);if(trim($qgzc59)===base64_decode('MA==')||empty($qgzc59)){return $uykf58;}}}/**
* Convert a key => value array to a 'key: value' array for headers
*
* @param array $array Dictionary of header values
* @return array List of headers
*/ public static function ttwz16($vvsz5d){$nwwb42=array();foreach($vvsz5d as $tywt4d=>$adyq4e){$nwwb42[]=sprintf(base64_decode('JXM6ICVz'),$tywt4d,$adyq4e);}return $nwwb42;}/**
* Convert a key => value array to a 'key: value' array for headers
*
* @codeCoverageIgnore
* @deprecated Misspelling of {@see Requests::flatten}
* @param array $array Dictionary of header values
* @return array List of headers
*/ public static function zbih17($vvsz5d){return self::ttwz16($vvsz5d);}/**
* Decompress an encoded body
*
* Implements gzip, compress and deflate. Guesses which it is by attempting
* to decode.
*
* @param string $data Compressed data in one of the above formats
* @return string Decompressed string
*/ public static function oqle18($bklh28){if(substr($bklh28,0,2)!==base64_decode('H4s=')&&substr($bklh28,0,2)!==base64_decode('eJw=')){return $bklh28;}if(function_exists(base64_decode('Z3pkZWNvZGU='))){$uykf58=@gzdecode($bklh28);if($uykf58!==false){return $uykf58;}}if(function_exists(base64_decode('Z3ppbmZsYXRl'))){$uykf58=@gzinflate($bklh28);if($uykf58!==false){return $uykf58;}}$uykf58=self::bwsg19($bklh28);if($uykf58!==false){return $uykf58;}if(function_exists(base64_decode('Z3p1bmNvbXByZXNz'))){$uykf58=@gzuncompress($bklh28);if($uykf58!==false){return $uykf58;}}return $bklh28;}/**
* Decompression of deflated string while staying compatible with the majority of servers.
*
* Certain Servers will return deflated data with headers which PHP's gzinflate()
* function cannot handle out of the box. The following function has been created from
* various snippets on the gzinflate() PHP documentation.
*
* Warning: Magic numbers within. Due to the potential different formats that the compressed
* data may be returned in, some "magic offsets" are needed to ensure proper decompression
* takes place. For a simple progmatic way to determine the magic offset in use, see:
* https://core.trac.wordpress.org/ticket/18273
*
* @since 2.8.1
* @link https://core.trac.wordpress.org/ticket/18273
* @link https://secure.php.net/manual/en/function.gzinflate.php#70875
* @link https://secure.php.net/manual/en/function.gzinflate.php#77336
*
* @param string $gz_data String to decompress.
* @return string|bool False on failure.
*/ public static function bwsg19($vafo5e){if(substr($vafo5e,0,3)===base64_decode('H4sI')){$ydrn5f=10;$ydmp60=ord(substr($vafo5e,3,1));if($ydmp60>0){if($ydmp60&4){list($ohgj61)=unpack(base64_decode('dg=='),substr($vafo5e,$ydrn5f,2));$ydrn5f+=2+$ohgj61;}if($ydmp60&8){$ydrn5f=strpos($vafo5e,base64_decode('AA=='),$ydrn5f)+1;}if($ydmp60&16){$ydrn5f=strpos($vafo5e,base64_decode('AA=='),$ydrn5f)+1;}if($ydmp60&2){$ydrn5f+=2;}}$jayr62=self::bwsg19(substr($vafo5e,$ydrn5f));if($jayr62!==false){return $jayr62;}}$noad63=false;list(,$ksnh64)=unpack(base64_decode('aA=='),$vafo5e);list(,$fatp65)=unpack(base64_decode('bg=='),$vafo5e);if($ksnh64===0x08&&($fatp65%0x1F)===0){$noad63=true;}if($noad63){$jayr62=@gzinflate(substr($vafo5e,2));if($jayr62!==false){return $jayr62;}}if(substr($vafo5e,0,4)===base64_decode('UEsDBA==')){list(,$mgfn66)=unpack(base64_decode('dg=='),substr($vafo5e,6,2));$dsvy67=((0x08&$mgfn66)===0x08);if(!$dsvy67){return $vafo5e;}$tyfv68=array_sum(unpack(base64_decode('djI='),substr($vafo5e,26,4)));$jayr62=@gzinflate(substr($vafo5e,30+$tyfv68));if($jayr62!==false){return $jayr62;}return false;}$jayr62=@gzinflate($vafo5e);if($jayr62!==false){return $jayr62;}$jayr62=@gzinflate(substr($vafo5e,2));if($jayr62!==false){return $jayr62;}return false;}public static function gfnp1a($onhb3e,$qzgc69){if($onhb3e===$qzgc69){return true;}$ayji6a=explode(base64_decode('Lg=='),$onhb3e);if(ip2long($onhb3e)===false&&count($ayji6a)>=3){$ayji6a[0]=base64_decode('Kg==');$teni6b=implode(base64_decode('Lg=='),$ayji6a);if($teni6b===$qzgc69){return true;}}return false;}}?>
Function Calls
None |
Stats
MD5 | f564997e0302e95fca18ac3dac9272a0 |
Eval Count | 0 |
Decode Time | 59 ms |