1 <?php
2 $md5 = "c1c95b382230eb9e27a60c4baceb5f2e";
3 $uid = "hhp-ImZRY";
4 $token = strtolower(md5('1878399009'));
5 $url = "http://www.ttmd5.com/do.php?c=Api&m=crack&uid=$uid&token=$token&cipher=$md5";
6 $data = file_get_contents($url);
7 echo $data;
8 ?>
密文是c1c95b382230eb9e27a60c4baceb5f2e
1 {
2 "count": 1,
3 "data": [
4 {
5 "cipher": "c1c95b382230eb9e27a60c4baceb5f2e",
6 "plain": "1azu8uhn",
7 "flag": 1,
8 "time": 0
9 }
10 ]
11 }
結果是1azu8uhn
md5本身是不可逆的,但是我們可以使用ttmd5.com提供的接口進行破解,我試了下成功率還是挺高,普通的庫是70%,那個賬號現在還是能免費使用
接口文檔參考下面的鏈接
http://www.ttmd5.com/api.php
另外找到的一篇文章
[php]
view plain
copy
<?php $md5 = "<span style="font-family:monospace;color:#b750;font-size: 13px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(255, 255, 248);">3ec4900f17489377e48dee29f06a49e3</span>"; $uid = "hhp-ImZRY"; $token = strtolower(md5('1878399009')); $url = "http://www.ttmd5.com/do.php?c=Api&m=crack&uid=$uid&token=$token&cipher=$md5"; $data = file_get_contents($url); echo $data; ?>
獲得的結果
[html]
view plain
copy
{ "count": 1, "data": [ { "cipher": "<span style="font-family:monospace;color:#b750;font-size: 13px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(255, 255, 248);">3ec4900f17489377e48dee29f06a49e3</span>", "plain": "<span style="font-family:monospace;color:#b750;font-size: 13px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(255, 255, 248);">cctvabde</span>", "flag": 1, "time": 0 } ] }
md5是一張哈希算法,本身是不可逆的,但是我們可以使用ttmd5.com提供的接口進行破解,成功率在70%,也算是一種曲線
接口文檔:http://www.ttmd5.com/api.php