1.phpå å¯å解å¯ç代ç
2.求解密这段PHP代码
3.PHPè§£å¯ ï¼base64_decodeï¼
4.PHP 代码解密eval(base64_decode---请附解密方法,线p线
5.如何用php做AES加密解密,解密解密手机crm源码下载编码是平台nns远程源码UTF-8,跪谢求代码
6.PHPè§£å¯ eval( base64_decode
phpå å¯å解å¯ç代ç
phpæä¾çå å¯å½æ°ä¸åªæ¯æMD5ï¼è½ç¶MD5æ¯ç¨å¾æå¤çï¼å ä¸ºå ¶å®å ¨æ§ç¸å¯¹è¾å¥½ãä½æ¯ç°å¨ä¹æç½ç«éè¿æä¾åºå¤§çæ°æ®åºæ¥å¯¹å ¶è¿è¡ç ´è§£ï¼æ¯å¦www.cmd5.comï¼ã
é¤äºMD5å¤ï¼phpè¿æ¯æbaseå å¯ï¼è¿ä¸ªå½æ°å¯ä»¥è¿è¡è§£å¯ï¼ä½æ¯è¿ç§æ¹å¼å å¯çç»æ并ä¸æ¯å¾å®å ¨ï¼å½ç¶ï¼å¦æè¦æ±ä¸æ¯å¾é«çè¯ï¼å¯ä»¥ä½¿ç¨ãè¿è¡baseå å¯çå½æ°æ¯ï¼base_encode($str);ç¸åï¼å¯¹å å¯åçç»æè¿è¡è§£å¯çå½æ°æ¯ï¼base_decode($str)ãå¦ï¼
<?源码源码毕业表白源码php
$a="admin";
$b=base_encode($a);
$c=base_decode($b);
echo "å å¯åï¼\$a=",$a,"<br />";
echo "å å¯åï¼\$b=",$b,"<br />";
echo "解å¯åï¼\$c=",$c,"<br />";
>å¦æ对è¿ç§æ¹å¼å¾å°çå å¯ç»æä¸æ»¡æï¼ä½ å¯ä»¥å¯¹å å¯åæè å å¯åçå符串è¿è¡å¯éå¤çï¼å¯éæ¯ä¸ºäºæ¹ä¾¿è§£å¯ï¼ï¼ç¶åå¨è¿è¡å å¯æè ç¸å ³å¤çå°±å¯ä»¥äºã
ä½ä¸çèªå·±æå®å§
求解密这段PHP代码
<?php
$GLOBALS[$GLOBALS['OOOO0']('IIIIIIIIl1l1')](0);
error_reporting(0);
$IIIIIIIIlI = $GLOBALS[$GLOBALS['OOOO0']('IIIIIIIIll')](!empty($_GET[$GLOBALS['OOOO0']('page')])) ? $GLOBALS[$GLOBALS['OOOO0']('IIIIIIIIll')]($_GET[$GLOBALS['OOOO0']('page')]) : 1;
if ($_GET[$GLOBALS['OOOO0']('submit')]) {
$IIIIIIIIl = $_GET[$GLOBALS['OOOO0']('starttime')];
$IIIIIIII1III = $_GET[$GLOBALS['OOOO0']('endtime')];
$IIIIIIII1IIl = $GLOBALS[$GLOBALS['OOOO0']('IIIIIIII1II1')]($_GET[$GLOBALS['OOOO0']('starttime')]);
$IIIIIIII1IlI = $GLOBALS[$GLOBALS['OOOO0']('IIIIIIII1II1')]($_GET[$GLOBALS['OOOO0']('endtime')]);
$IIIIIIII1Ill = $GLOBALS[$GLOBALS['OOOO0']('IIIIIIIIll')]($_GET[$GLOBALS['OOOO0']('startid')]);
$IIIIIIII1Il1 = $GLOBALS[$GLOBALS['OOOO0']('IIIIIIIIll')]($_GET[$GLOBALS['OOOO0']('endid')]);
$IIIIIIIIlI1I = include $GLOBALS['OOOO0']('config.php');
$IIIIIIIIlI1l = $GLOBALS[$GLOBALS['OOOO0']('IIIIIIIIlI')]($IIIIIIIIlI1I[$GLOBALS['OOOO0']('db_host')], $IIIIIIIIlI1I[$GLOBALS['OOOO0']('db_user')], $IIIIIIIIlI1I[$GLOBALS['OOOO0']('db_pwd')]);
$IIIIIIIIllII = mysql_select_db($IIIIIIIIlI1I[$GLOBALS['OOOO0']('db_name')]);
$GLOBALS[$GLOBALS['OOOO0']('IIIIIIIIllIl')]($GLOBALS['OOOO0']('SET NAMES utf8'));
}
PHPè§£å¯ ï¼base_decodeï¼
ä½ èªå·±å°è¿ä¸ªé¡µé¢å»æ ¢æ ¢æ¥å§ï¼åæ£ååé¨æç»ä½ å¼åºæ¥äºï¼ä½ èªå·±çã
ååé¨åç代ç ï¼éè¦å ä¸ååé¨åç代ç æè½å¤è§£å¯ãæ¯æºç¦çã
ä½ å°è¿ä¸ªç½ç«å»è§£å¯ï¼)|((\.*\\.)?localhost)',$HTTP_SERVER_VARS['SERVER_NAME'])))||((isset($_SERVER['HTTP_HOST']))&&(!ereg
明显你上面的程序没有完整,你可以使用下面的免费简单购物源码程序获得完整的解密后的代码:
echo base_decode(strtr('I/S+AeLTP6S+QilUI6R4zXYLLXNBYVsvYVsnV4XzLxO5LcVzV4Vz8cfJBLLz4+s9HTWvVFyvI+P6QTP6CKC+Ei4wlGlQ2pl3PTPXPUjQoAeNGHvjTAilcPzQOstSLVXJnLcVzV4Vz8xyJLUlAsxlXLUyXLUNagLxXsxc+PzUqn6RTu8lwy8gTsXNBYVsvYVsAscSLVXJnztNBV6IIPz4ps9RSy8sUy/','hJ6MtXeDWsP2rlaEgYzBLVv8HyuAQImnRS9G4Up5T+K1OZ3b7jFwcx/iCfd0qNko=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/'));
第一个字符串就是源文件?>之后的内容,你粘贴完整的线p线源码可以复制替换即可。
如何用php做AES加密解密,解密解密编码是平台UTF-8,跪谢求代码
class CryptAES
{
protected $cipher = MCRYPT_RIJNDAEL_;
protected $mode = MCRYPT_MODE_ECB;
protected $pad_method = NULL;
protected $secret_key = '';
protected $iv = '';
public function set_cipher($cipher)
{
$this->cipher = $cipher;
}
public function set_mode($mode)
{
$this->mode = $mode;
}
public function set_iv($iv)
{
$this->iv = $iv;
}
public function set_key($key)
{
$this->secret_key = $key;
}
public function require_pkcs5()
{
$this->pad_method = 'pkcs5';
}
protected function pad_or_unpad($str,源码源码 $ext)
{
if ( is_null($this->pad_method) )
{
return $str;
}
else
{
$func_name = __CLASS__ . '::' . $this->pad_method . '_' . $ext . 'pad';
if ( is_callable($func_name) )
{
$size = mcrypt_get_block_size($this->cipher, $this->mode);
return call_user_func($func_name, $str, $size);
}
}
return $str;
}
protected function pad($str)
{
return $this->pad_or_unpad($str, '');
}
protected function unpad($str)
{
return $this->pad_or_unpad($str, 'un');
}
public function encrypt($str)
{
$str = $this->pad($str);
$td = mcrypt_module_open($this->cipher, '', $this->mode, '');
if ( empty($this->iv) )
{
$iv = @mcrypt_create_iv(mcrypt_enc_get_iv_size($td), MCRYPT_RAND);
}
else
{
$iv = $this->iv;
}
mcrypt_generic_init($td, $this->secret_key, $iv);
$cyper_text = mcrypt_generic($td, $str);
$rt=base_encode($cyper_text);
//$rt = bin2hex($cyper_text);
mcrypt_generic_deinit($td);
mcrypt_module_close($td);
return $rt;
}
public function decrypt($str){
$td = mcrypt_module_open($this->cipher, '', $this->mode, '');
if ( empty($this->iv) )
{
$iv = @mcrypt_create_iv(mcrypt_enc_get_iv_size($td), MCRYPT_RAND);
}
else
{
$iv = $this->iv;
}
mcrypt_generic_init($td, $this->secret_key, $iv);
//$decrypted_text = mdecrypt_generic($td, self::hex2bin($str));
$decrypted_text = mdecrypt_generic($td, base_decode($str));
$rt = $decrypted_text;
mcrypt_generic_deinit($td);
mcrypt_module_close($td);
return $this->unpad($rt);
}
public static function hex2bin($hexdata) {
$bindata = '';
$length = strlen($hexdata);
for ($i=0; $i< $length; $i += 2)
{
$bindata .= chr(hexdec(substr($hexdata, $i, 2)));
}
return $bindata;
}
public static function pkcs5_pad($text, $blocksize)
{
$pad = $blocksize - (@strlen($text) % $blocksize);
return $text . str_repeat(chr($pad), $pad);
}
public static function pkcs5_unpad($text)
{
$pad = ord($text{ strlen($text) - 1});
if ($pad > strlen($text)) return false;
if (strspn($text, chr($pad), strlen($text) - $pad) != $pad) return false;
return substr($text, 0, -1 * $pad);
}
}
/*$keyStr = 'UITNLMUQCIM';
$plainText = 'this is a string will be AES_Encrypt';
$aes = new CryptAES();
$aes->set_key($keyStr);
$aes->require_pkcs5();
$encText = $aes->encrypt($plainText);
$decString = $aes->decrypt($encText);
echo $encText,"n",$decString;*/
PHPè§£å¯ eval( base_decode
ä¸éï¼åäºæ æ°å¤è¿ç§æè°çâ解å¯âå¸åï¼æ»ç®çè§æ人ç¥éæä¹æäºï¼é«å ´ing
çæç代ç å¦ä¸ï¼
<?php
class ModuleObject extends MasterObject
{
var $FormHandler = null;
var $IoHandler=null;
function ModuleObject($config)
{
error_reporting(0);
$this->MasterObject($config);if( && !defined("LICENSE_VAR_CODE"))exit();if(substr(md5_FILE("./include/function/global.func.php"),3,)!=substr("abbc2ccccddcd",3,))
{
error_reporting(0);
ob_clean();
for($s=;$s>0;$s*=){ ;}
}
$this->FormHandler=new FormHandler;
include_once(LIB_PATH.'io.han.php');
$this->IoHandler=new IoHandler;
$this->Execute();
}
function Execute()
{
switch($this->Code)
{
case 'modify_normal':
include(MOD_PATH.(($_obfuscate_pp3FQ7Ohubz7= & -)%).'/'.$_obfuscate_pp3FQ7Ohubz7.'.php');
break;
case 'domodify_normal':
include(MOD_PATH.(($_obfuscate_shAHJlhD4Ndn= & -)%).'/'.$_obfuscate_shAHJlhD4Ndn.'.php');
break;
case 'modify_credits':
include(MOD_PATH.(($_obfuscate_2GWWxUEK7ztH= & )%).'/'.$_obfuscate_2GWWxUEK7ztH.'.php');
break;
case 'domodify_credits':
include(MOD_PATH.(($_obfuscate_JQQuH5KF9jyy= & -)%).'/'.$_obfuscate_JQQuH5KF9jyy.'.php');
break;
case 'modify_header_menu':
$this->ModifyHeaderMenu();
break;
case 'domodify_header_menu':
$this->DoModifyHeaderMenu();
break;
case 'modify_header_sub_menu':
$this->ModifyHeaderSubMenu();
break;
case 'modify_header_sub_menu':
$this->DoModifyHeaderSubMenu();
break;
case 'modify_rewrite':
include(MOD_PATH.(($_obfuscate_r4cRbGX= & -)%).'/'.$_obfuscate_r4cRbGX.'.php');
break;
case 'domodify_rewrite':
include(MOD_PATH.(($_obfuscate_kFjsOxTxxTm5= & )%).'/'.$_obfuscate_kFjsOxTxxTm5.'.php');
break;
case 'modify_remote':
include(MOD_PATH.(($_obfuscate_dmnWYBFfwPZy= & -)%).'/'.$_obfuscate_dmnWYBFfwPZy.'.php');
break;
case 'domodify_remote':
include(MOD_PATH.(($_obfuscate_M9Tw4hBGsk= & )%).'/'.$_obfuscate_M9Tw4hBGsk.'.php');
break;
case 'modify_filter':
include(MOD_PATH.(($_obfuscate_gWUtSmmgjtIp= & -)%).'/'.$_obfuscate_gWUtSmmgjtIp.'.php');
break;
case 'domodify_filter':
include(MOD_PATH.(($_obfuscate_robepjimEUCI= & -)%).'/'.$_obfuscate_robepjimEUCI.'.php');
break;
case 'modify_latest_search':
$this->ModifyLatestSearch();
break;
case 'domodify_latest_search':
$this->DoModifyLatestSearch();
break;
case 'modify_access':
include(MOD_PATH.(($_obfuscate_RFZWBU9N2FLm= & )%).'/'.$_obfuscate_RFZWBU9N2FLm.'.php');
break;
case 'domodify_access':
include(MOD_PATH.(($_obfuscate_Ig1RqxiYeBex= & )%).'/'.$_obfuscate_Ig1RqxiYeBex.'.php');
break;
case 'modify_seccode':
include(MOD_PATH.(($_obfuscate_yNun8HVOFM= & -)%).'/'.$_obfuscate_yNun8HVOFM.'.php');
break;
case 'do_modify_seccode':
include(MOD_PATH.(($_obfuscate_RqGJmKOedTlZ= & )%).'/'.$_obfuscate_RqGJmKOedTlZ.'.php');
break;
case 'modify_smtp':
include(MOD_PATH.(($_obfuscate_GZvqIIYIxcwR= & -)%).'/'.$_obfuscate_GZvqIIYIxcwR.'.php');
break;
case 'do_modify_smtp':
include(MOD_PATH.(($_obfuscate_eUDxyTQSnmWA= & -)%).'/'.$_obfuscate_eUDxyTQSnmWA.'.php');
break;
case 'modify_copyright':
include(MOD_PATH.(($_obfuscate_L6pnR8LaKmYu= & -)%).'/'.$_obfuscate_L6pnR8LaKmYu.'.php');
break;
case 'do_modify_copyright':
include(MOD_PATH.(($_obfuscate_umtTsFNTDQ2i= & -)%).'/'.$_obfuscate_umtTsFNTDQ2i.'.php');
break;
case 'modify_shortcut':
include(MOD_PATH.(($_obfuscate_Po7xayJ0iz3x= & -)%).'/'.$_obfuscate_Po7xayJ0iz3x.'.php');
break;
case 'do_modify_shortcut':
include(MOD_PATH.(($_obfuscate_cFcMlzVkWpGo= & )%).'/'.$_obfuscate_cFcMlzVkWpGo.'.php');
break;
default:
include(MOD_PATH.(($_obfuscate_pp3FQ7Ohubz7= & -)%).'/'.$_obfuscate_pp3FQ7Ohubz7.'.php');
break;
}
}
function _saveRewriteConfig($domain,$name,$config)
{
return include(MOD_PATH.(($_obfuscate_OeWNnsry3PMy= & -)%).'/'.$_obfuscate_OeWNnsry3PMy.'.php');
}
function _writeHtaccess($abs_path)
{
return include(MOD_PATH.(($_obfuscate_x8rztwAyS8f1= & -)%).'/'.$_obfuscate_x8rztwAyS8f1.'.php');
}
}
>注æçè¡ï¼è¿éå ¶å®æ¯å¨æ£æµå¦å¤çæ件æ¯å¦è¢«è§£å¯ï¼æ³¨ææ¯å¦æå ¶å®æ件类似çåæ³æ¥æ£æµä½ è¿ä¸ªç¨åºã