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 /* This file is protected by copyright law and provided under license. Reverse engin..

Decoded Output download


require_once('exceptions.php');
require_once('oauth_adapter.php');
require_once('oauth_application.php');
require_once('aweber_response.php');
require_once('aweber_collection.php');
require_once('aweber_entry_data_array.php');
require_once('aweber_entry.php');
class AWeberServiceProvider implements OAuthServiceProvider {
public $baseUri = 'https://api.aweber.com/1.0';
public $accessTokenUrl = 'https://auth.aweber.com/1.0/oauth/access_token';
public $authorizeUrl = 'https://auth.aweber.com/1.0/oauth/authorize';
public $requestTokenUrl = 'https://auth.aweber.com/1.0/oauth/request_token';
public function getBaseUri() {
return $this->baseUri;
}
public function removeBaseUri($url) {
return str_replace($this->getBaseUri(),'',$url);
}
public function getAccessTokenUrl() {
return $this->accessTokenUrl;
}
public function getAuthorizeUrl() {
return $this->authorizeUrl;
}
public function getRequestTokenUrl() {
return $this->requestTokenUrl;
}
public function getAuthTokenFromUrl() {return '';}
public function getUserData() {return '';}
}
class AWeberAPIBase {
static protected $_collectionMap = array(
'account'=>array('lists','integrations'),
'broadcast_campaign'=>array('links','messages'),
'followup_campaign'=>array('links','messages'),
'link'=>array('clicks'),
'list'=>array('campaigns','custom_fields','subscribers',
'web_forms','web_form_split_tests'),
'web_form'=>array(),
'web_form_split_test'=>array('components'),
);
public function loadFromUrl($url) {
$data = $this->adapter->request('GET',$url);
return $this->readResponse($data,$url);
}
protected function _cleanUrl($url) {
return str_replace($this->adapter->app->getBaseUri(),'',$url);
}
protected function readResponse($response,$url) {
$this->adapter->parseAsError($response);
if (!empty($response['id'])) {
return new AWeberEntry($response,$url,$this->adapter);
}else if (isset($response['entries'])) {
return new AWeberCollection($response,$url,$this->adapter);
}
return false;
}
}
class AWeberAPI extends AWeberAPIBase {
public $consumerKey    = false;
public $consumerSecret = false;
public $adapter = false;
public static function getDataFromAweberID($string) {
list($consumerKey,$consumerSecret,$requestToken,$tokenSecret,$verifier) = AWeberAPI::_parseAweberID($string);
if (!$verifier) {
return null;
}
$aweber = new AweberAPI($consumerKey,$consumerSecret);
$aweber->adapter->user->requestToken = $requestToken;
$aweber->adapter->user->tokenSecret = $tokenSecret;
$aweber->adapter->user->verifier = $verifier;
list($accessToken,$accessSecret) = $aweber->getAccessToken();
return array($consumerKey,$consumerSecret,$accessToken,$accessSecret);
}
protected static function _parseAWeberID($string) {
$values = explode('|',$string);
if (count($values) <5) {
return null;
}
return array_slice($values,0,5);
}
public function __construct($key,$secret) {
$this->consumerKey    = $key;
$this->consumerSecret = $secret;
$this->setAdapter();
}
public function getAuthorizeUrl() {
$requestToken = $this->user->requestToken;
return (empty($requestToken)) ?
$this->adapter->app->getAuthorizeUrl()
:
$this->adapter->app->getAuthorizeUrl() ."?oauth_token={$this->user->requestToken}";
}
public function setAdapter($adapter=null) {
if (empty($adapter)) {
$serviceProvider = new AWeberServiceProvider();
$adapter = new OAuthApplication($serviceProvider);
$adapter->consumerKey = $this->consumerKey;
$adapter->consumerSecret = $this->consumerSecret;
}
$this->adapter = $adapter;
}
public function getAccount($token=false,$secret=false) {
if ($token &&$secret) {
$user = new OAuthUser();
$user->accessToken = $token;
$user->tokenSecret = $secret;
$this->adapter->user = $user;
}
$body = $this->adapter->request('GET','/accounts');
$accounts = $this->readResponse($body,'/accounts');
return $accounts[0];
}
public function __get($item) {
if ($item == 'user') return $this->adapter->user;
trigger_error("Could not find \"{$item}\"");
}
public function getRequestToken($callbackUrl) {
$requestToken = $this->adapter->getRequestToken($callbackUrl);
return array($requestToken,$this->user->tokenSecret);
}
public function getAccessToken() {
return $this->adapter->getAccessToken();
}
}
;

Did this file decode correctly?

Original Code

<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. Copyright 2011 Rapid Crush, Inc. Contact [email protected] or visit http://www.WPMemberChamp.com/license.html for additional information. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x1594;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NTk2KTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdmaFY2THhOT01GUlgwZXZjK3lTOEhXdHNZcUpuUUNQVEJacGszb0VnQXU5YjI1MW1Jai9yYTRHemxkRFU3S3dpPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>M\FwG^sRMHC{KFLKc06hc06hc064rCOFTQEWInNxkqSBgs4KNSHjxs47gXVMgMpl38aKc0L7I8rfIXpMgMpI38aKc06fI0L7IRVyc8a7I06fI0L7AFL7I8rfI8a7I0VB38rfI0L7I8rfIXVyc8rfI8rfI06fuXVCEJxYG8OZv8a4NHoBIqsqkRzo8vLZsCOeqQHu1HHe+WLFJQN2rnaWg+sH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EIuMO2RFOFoQsWoQzyHnG5onpfKMVyaJNorX8dZqNxICNW/X8dgqsySqsx4qseaWNKbqtlAFNeZnNjpYtebWsF2R82RQEWaCsF1MNx/QExdRVy/qsx4qseaWNKbqtl2FOyAJs05cgWrqsM5cgymJGW1HGWkQEWaR82RT+uICtF2Jt0BqgW1YzyunGlBqGWa+tekqserWNKbqtlARShUVgFoCOW/npf3CNZuQ/awYtyZQOyoQpawqGWa+tekqserWNKbqtlAR82RT+uKVk2=f_C

Function Calls

fopen 1
fread 3
strtr 2
fclose 1
urldecode 1
str_replace 1
base64_decode 3

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O000O0O fgetc
$O0O00OO00 fread
$OO00O0000 5524
$OO00O00O0 require_once('exceptions.php'); require_once('oauth_adapter..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 46235225a771874b33b65e19597a021d
Eval Count 3
Decode Time 131 ms