本来是有这个思路。但是和7j 聊了下,完全就是和shell i一样的了。http://www.huaidan.org/blog/article.asp?id=1042
晕唿唿,就算是从shell i里面截出来的吧。
<?php
$gentime = microtime();
$gentime = explode(' ',$gentime);
$gentime = $gentime[1] + $gentime[0];
$pg_start = $gentime;
if(isset($_POST['md5'])){
$_POST['time'] = 30;
set_time_limit($_POST['time']);
if(strlen($_POST['md5']) == 32){
if($_POST['ak'] == "123"){
$i = 0;
while($_POST['md5'] != md5($i) && $i != 99999999){
$i++;
}
}
else
{
for($i = "a"; $i != "zzzzzzzz"; $i++){
if(md5($i) == $_POST['md5']){
break;
}
}
}
if(md5($i) == $_POST['md5']){
echo "<font color=red size=3>妈的,终于是搞出来了。 " .$_POST['md5']. "<br>原文为:" .$i. "</font><br>";
}
}
}
?>
<title>在线破解MD5</title>
<hr>
<font color=red size=3>MD5解密</font>
<form action=md.php method=POST>
字串:<input type=text name=md5 size=32> 经过MD5加密后的字符串.<br><br>
类型:<select name=ak>
<option>字母</option>
<option value=123>数字</option>
</select> 原文的类型,纯数字与纯字母.<br><br>
<input type=submit value=提交>
</form>
<hr>
<font color=red size=3>MD5加密</font>
<?php
$umd5 = $_POST['umd5'];
if(isset($umd5)){
$umd6 = md5($umd5);
}
?>
<form action=md.php method=POST>
<input type=text name=umd5> <input type=submit value=提交>
<?php
if(isset($umd5)){
echo "<br ><br >".$umd5. "加密后为:" .$umd6;
}
?>
<br />
<?
$gentime = microtime();
$gentime = explode(' ',$gentime);
$gentime = $gentime[1] + $gentime[0];
$pg_end = $gentime;
$totaltime = ($pg_end - $pg_start);
$showtime = number_format($totaltime, 4, '.', '');
echo '<br />';
echo("Processed in :" . $showtime . " S");
?>

