Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
function getAccessToken(){if(session_id()=="")session_start();$this->oauth_token=$_SESSION..
Decoded Output download
<? function getAccessToken(){if(session_id()=="")session_start();$this->oauth_token=$_SESSION["oauth_tokentmp"];$this->oauth_secret=$_SESSION["oauth_secrettmp"];unset($_SESSION["oauth_tokentmp"]);unset($_SESSION["oauth_secrettmp"]);if(!isset($_GET["oauth_verifier"])||$_GET["oauth_verifier"]==""){$this->error_code="Oauth";$this->error_msg="oauth_verifier is undefined.";return false;}$mkupiddlemlg="reponse";${${"GLOBALS"}["mbqzomisrti"]}=array("oauth_consumer_key"=>$this->api_key,"oauth_timestamp"=>time(),"oauth_nonce"=>md5(uniqid(rand(),true)),"oauth_signature_method"=>"HMAC-SHA1","oauth_version"=>"1.0","oauth_token"=>$this->oauth_token,"oauth_verifier"=>$_GET["oauth_verifier"]);$ikfdapsgf="reponse";${"GLOBALS"}["wzefng"]="data";if(!${${"GLOBALS"}["mbqzomisrti"]}["oauth_signature"]=$this->getOauthSignature($this->oauthaccesstoken_endpoint,${${"GLOBALS"}["mbqzomisrti"]}))return false;${${"GLOBALS"}["fpvoqbl"]}=$this->oauthResponse($this->post(${${"GLOBALS"}["wzefng"]},$this->oauthaccesstoken_endpoint));if(isset(${$mkupiddlemlg}["oauth_problem"])&&${${"GLOBALS"}["fpvoqbl"]}["oauth_problem"]!=""){$this->error_code="Oauth";$this->error_msg=${${"GLOBALS"}["fpvoqbl"]};return false;}$this->oauth_token=${${"GLOBALS"}["fpvoqbl"]}["oauth_token"];$this->oauth_secret=${$ikfdapsgf}["oauth_token_secret"];$this->error_code="";$this->error_msg="";return true;} ?>
Did this file decode correctly?
Original Code
function getAccessToken(){if(session_id()=="")session_start();$this->oauth_token=$_SESSION["\x6fa\x75\x74h\x5f\x74\x6fke\x6etm\x70"];$this->oauth_secret=$_SESSION["\x6fauth_\x73\x65c\x72et\x74mp"];unset($_SESSION["\x6f\x61\x75t\x68\x5f\x74\x6fke\x6e\x74m\x70"]);unset($_SESSION["\x6f\x61\x75t\x68\x5fsec\x72e\x74\x74\x6dp"]);if(!isset($_GET["o\x61\x75t\x68\x5fveri\x66ie\x72"])||$_GET["o\x61\x75\x74h\x5f\x76\x65ri\x66\x69\x65r"]==""){$this->error_code="\x4f\x61u\x74\x68";$this->error_msg="oa\x75th\x5f\x76e\x72i\x66i\x65\x72\x20i\x73\x20\x75\x6e\x64e\x66\x69\x6e\x65\x64.";return false;}$mkupiddlemlg="r\x65pon\x73e";${${"G\x4c\x4f\x42\x41\x4cS"}["m\x62\x71\x7a\x6f\x6d\x69sr\x74\x69"]}=array("\x6fa\x75th\x5fc\x6fnsu\x6d\x65r_\x6b\x65\x79"=>$this->api_key,"o\x61u\x74h_t\x69m\x65s\x74\x61\x6d\x70"=>time(),"oa\x75t\x68\x5f\x6e\x6f\x6ece"=>md5(uniqid(rand(),true)),"\x6f\x61\x75t\x68_\x73\x69g\x6eat\x75re_m\x65\x74\x68o\x64"=>"H\x4dAC-S\x48\x411","\x6fa\x75\x74\x68_\x76e\x72s\x69o\x6e"=>"\x31\x2e0","o\x61\x75th\x5ft\x6f\x6be\x6e"=>$this->oauth_token,"\x6f\x61ut\x68_\x76erif\x69\x65\x72"=>$_GET["\x6f\x61\x75\x74h\x5fveri\x66ie\x72"]);$ikfdapsgf="r\x65p\x6f\x6es\x65";${"\x47\x4c\x4f\x42ALS"}["w\x7ae\x66\x6e\x67"]="\x64at\x61";if(!${${"G\x4cO\x42\x41\x4c\x53"}["\x6d\x62q\x7a\x6f\x6d\x69s\x72ti"]}["\x6fa\x75\x74\x68\x5fsi\x67\x6e\x61\x74\x75\x72e"]=$this->getOauthSignature($this->oauthaccesstoken_endpoint,${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6d\x62q\x7a\x6fmi\x73r\x74\x69"]}))return false;${${"\x47L\x4f\x42\x41\x4cS"}["\x66\x70\x76\x6f\x71\x62l"]}=$this->oauthResponse($this->post(${${"\x47\x4cOB\x41L\x53"}["\x77\x7a\x65\x66\x6eg"]},$this->oauthaccesstoken_endpoint));if(isset(${$mkupiddlemlg}["\x6fa\x75\x74\x68_p\x72\x6fbl\x65m"])&&${${"G\x4c\x4fB\x41L\x53"}["\x66\x70v\x6fq\x62\x6c"]}["\x6f\x61\x75th\x5fpr\x6fb\x6c\x65\x6d"]!=""){$this->error_code="Oa\x75t\x68";$this->error_msg=${${"\x47\x4cOBA\x4cS"}["\x66\x70vo\x71\x62\x6c"]};return false;}$this->oauth_token=${${"\x47\x4cO\x42\x41L\x53"}["\x66\x70voq\x62\x6c"]}["oa\x75th\x5f\x74o\x6be\x6e"];$this->oauth_secret=${$ikfdapsgf}["\x6f\x61uth_t\x6fke\x6e\x5fs\x65cret"];$this->error_code="";$this->error_msg="";return true;}
Function Calls
| None |
Stats
| MD5 | 55ba4b02c237af8d4277ee54e0bec3b5 |
| Eval Count | 0 |
| Decode Time | 97 ms |