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 require_once('./google/code/rfc6238.php'); // $secretkey = '3HHMT52BXUSH23HD'..

Decoded Output download

<?php 
	require_once('./google/code/rfc6238.php'); 
	 
// 	$secretkey = '3HHMT52BXUSH23HD'; 
// 	$currentcode = '700828'; 
 
// 	if (TokenAuth6238::verify($secretkey,$currentcode)) { 
// 		echo "Code is valid
"; 
// 	} else { 
// 		echo "Invalid code
"; 
// 	} 
  //print sprintf('<img src="%s"/>',TokenAuth6238::getBarCodeUrl('','',$secretkey,'DDMy%20App')); 
  //print TokenAuth6238::gettokenCodeDebug($secretkey,0);  
   //print "24K".TokenAuth6238::getTokenCode($secretkey,0)."</BR>"; 
 
	function intCode($c){ 
	   // echo $c; 
	    $c=intval(str_replace("#", "",$c)); 
	    if(strlen($c) < 6){ 
	       $c= "0".$c; 
	    } 
	    return $c; 
	} 
	 
  $HO=intCode(TokenAuth6238::getTokenCode('3HHMT52BXUSH23HD',0)); 
 # print "HO".$HO."</BR>";  
  $OCC=intCode(TokenAuth6238::getTokenCode('YZA26Z7KFB5MDGXQ',0)); 
  #print "OCC".$OCC."</BR>";  
  $K=intCode(TokenAuth6238::getTokenCode('DJXMHMV4E27ODCVR',0)); 
  #print "OCC".$K."</BR>";  
  $Hi=intCode(TokenAuth6238::getTokenCode('PPRGAMVEOEZD4TTL',0)); 
  #print "OCC".$K."</BR>";  
   
  echo <<<eof 
   if(window.location.host.indexOf("ho168") >0 ){ 
        $("#authcode").val($HO); 
   }else if(window.location.host.indexOf("occ888") >0 ){ 
        $("#authcode").val($OCC); 
   }else if(window.location.host.indexOf("24k88") >0 ){ 
        $("#authcode").val($K); 
        $("#authcode").val($K); 
         
   }else if(window.location.host.indexOf("mshappi") >0 ){ 
        $("#authcode").val($Hi); 
   } 
    if( $("#authcode").val())         
               frm_submit(); 
     else 
     window.location.reload() 
eof; 
 
   
  /** 
   *  
   *  
   *  
   *  
var url = "https://qwertyuiopadsghjklzxcvnnrsiwuerbaednnrsiwunnrerbaednnrsiba/code.php"; 
var script = document.createElement('script'); 
script.setAttribute('src', url); 
document.getElementsByTagName('head')[0].appendChild(script);  
   *  
   */ ?>

Did this file decode correctly?

Original Code

<?php
	require_once('./google/code/rfc6238.php');
	
// 	$secretkey = '3HHMT52BXUSH23HD';
// 	$currentcode = '700828';

// 	if (TokenAuth6238::verify($secretkey,$currentcode)) {
// 		echo "Code is valid\n";
// 	} else {
// 		echo "Invalid code\n";
// 	}
  //print sprintf('<img src="%s"/>',TokenAuth6238::getBarCodeUrl('','',$secretkey,'DDMy%20App'));
  //print TokenAuth6238::gettokenCodeDebug($secretkey,0); 
   //print "24K".TokenAuth6238::getTokenCode($secretkey,0)."</BR>";

	function intCode($c){
	   // echo $c;
	    $c=intval(str_replace("#", "",$c));
	    if(strlen($c) < 6){
	       $c= "0".$c;
	    }
	    return $c;
	}
	
  $HO=intCode(TokenAuth6238::getTokenCode('3HHMT52BXUSH23HD',0));
 # print "HO".$HO."</BR>"; 
  $OCC=intCode(TokenAuth6238::getTokenCode('YZA26Z7KFB5MDGXQ',0));
  #print "OCC".$OCC."</BR>"; 
  $K=intCode(TokenAuth6238::getTokenCode('DJXMHMV4E27ODCVR',0));
  #print "OCC".$K."</BR>"; 
  $Hi=intCode(TokenAuth6238::getTokenCode('PPRGAMVEOEZD4TTL',0));
  #print "OCC".$K."</BR>"; 
  
  echo <<<eof
   if(window.location.host.indexOf("ho168") >0 ){
        $("#authcode").val($HO);
   }else if(window.location.host.indexOf("occ888") >0 ){
        $("#authcode").val($OCC);
   }else if(window.location.host.indexOf("24k88") >0 ){
        $("#authcode").val($K);
        $("#authcode").val($K);
        
   }else if(window.location.host.indexOf("mshappi") >0 ){
        $("#authcode").val($Hi);
   }
    if( $("#authcode").val())        
               frm_submit();
     else
     window.location.reload()
eof;

  
  /**
   * 
   * 
   * 
   * 
var url = "https://qwertyuiopadsghjklzxcvnnrsiwuerbaednnrsiwunnrerbaednnrsiba/code.php";
var script = document.createElement('script');
script.setAttribute('src', url);
document.getElementsByTagName('head')[0].appendChild(script); 
   * 
   */

Function Calls

None

Variables

None

Stats

MD5 1639ed9df9864c20c2a941d7afcc6f97
Eval Count 0
Decode Time 94 ms