php用的時候產生機器碼,要別人算號才能用,怎麼破?

來源:互聯網
上載者:User

標籤: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用的時候產生機器碼,要別人算號才能用,怎麼破?

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.