標籤:io os sp on cti bs ef as acm
php用的時候產生機器碼,要別人算號才能用,怎麼破?
下面是解密後的源碼,之前的源碼有加密;
會產生這樣的機器碼 機器碼:BDC16D-1843D62D2956-2D2956EEF3A8-F3A8
科普了下資料貌似像是MD5轉16進位啥的,有會破解的高手沒?
<?php
$get_string = "TYCFTKHUVOJHJHPC";
function strtomd5_pass($str)
{
global $get_string;
return md5(md5($str.$get_string).$get_string);
}
$macmd5str = Get_Current_User().php_sapi_name().PHP_VERSION.php_uname().DEFAULT_INCLUDE_PATH;
$macmd5str = substr(strtomd5_pass($macmd5str),0,24);
$robotstr = substr($macmd5str,0,6)."-".substr($macmd5str,6,12)."-".substr($macmd5str,12,20)."-".substr($macmd5str,20,35);
$robotstr = strtoupper($robotstr);
$macmd5towstr = substr(strtomd5_pass($robotstr),0,24);
$macmd5towstr = strtoupper($macmd5towstr);
$robotwostr = substr($macmd5towstr,5,6)."-".substr($macmd5towstr,6,7)."-".substr($macmd5towstr,3,6)."-".substr($macmd5towstr,2,8);
$file_name="key.txt";
$fp=fopen($file_name,‘r‘);
$buffer=fgets($fp);
if ($robotwostr != $buffer)
{
fclose($fp);
echo "機器碼:".$robotstr;
echo "<br>";
echo "請聯絡www.heimaoxuexi.com註冊成為正式版!";
exit;
}
我目前想瞭解的是這種是什麼方式加密的。或者怎樣計算出機器碼:BDC16D-1843D62D2956-2D2956EEF3A8-F3A8這樣的機器碼。簡單判斷了下是根據$get_string = "TYCFTKHUVOJHJHPC"; TYCFTKHUVOJHJHPC這個來產生的機器碼,也不知道說的對不對,有弄PHP的大牛幫忙寫一個電腦器碼的源碼可好?
php用的時候產生機器碼,要別人算號才能用,怎麼破?