|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 127
Members: 0
Total: 127
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
please Help me decode phplockit |
|
Posted: Sat Mar 12, 2011 9:42 pm |
|
|
ibrahim |
Beginner |
|
|
Joined: Mar 12, 2011 |
Posts: 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Posted: Sun Mar 13, 2011 9:21 am |
|
|
zerobytes |
Valuable expert |
|
|
Joined: Aug 30, 2008 |
Posts: 199 |
|
|
|
|
|
|
|
add.php
Code: |
<?
require_once ("config.php");
header("Refresh: ".$refresh."");
;echo '<html>
<head>
<title>Generate random letter and number for md5</title>
</head>
<body>
';
function randomkeys($length)
{
$chars = '012346789ABCEFGHJKLMNPRTWXYZabcdefghijklmnopqrstuvwxyz';
for ($x = 1; $x <= $length; $x++)
{
$number = rand(1, strlen($chars));
$word .= substr($chars, $number - 1, 1);
}
return $word;
}
require_once ("config.php");
$a = randomkeys($no);
$b = randomkeys($no);
$c = randomkeys($no);
$d = randomkeys($no);
$e = randomkeys($no);
$f = randomkeys($no);
$g = randomkeys($no);
$h = randomkeys($no);
$i = randomkeys($no);
$j = randomkeys($no);
$k = randomkeys($no);
$l = randomkeys($no);
$m = randomkeys($no);
$n = randomkeys($no);
$o = randomkeys($no);
$p = randomkeys($no);
$q = randomkeys($no);
$r = randomkeys($no);
$s = randomkeys($no);
$t = randomkeys($no);
$u = randomkeys($no);
$v = randomkeys($no);
$w = randomkeys($no);
$x = randomkeys($no);
$y = randomkeys($no);
$z = randomkeys($no);
$a2 = md5($a);
$b2 = md5($b);
$c2 = md5($c);
$d2 = md5($d);
$e2 = md5($e);
$f2 = md5($f);
$g2 = md5($g);
$h2 = md5($h);
$i2 = md5($i);
$j2 = md5($j);
$k2 = md5($k);
$l2 = md5($l);
$m2 = md5($m);
$n2 = md5($n);
$o2 = md5($o);
$p2 = md5($p);
$q2 = md5($q);
$r2 = md5($r);
$s2 = md5($s);
$t2 = md5($t);
$u2 = md5($u);
$v2 = md5($v);
$w2 = md5($w);
$x2 = md5($x);
$y2 = md5($y);
$z2 = md5($z);
$a_query = "SELECT * FROM `md5` WHERE md5='$a2'";
$a_result = mysql_query($a_query) or die("Query failed: " . mysql_error());
$a_row = mysql_fetch_array($a_result);
if (!$a_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$a', '$a2')") or die (mysql_error());
echo "Adding $a combination to database... [Done] !<br>";
} else {
echo "$a combination found, proceeding to other combination.<br>";
}
$b_query = "SELECT * FROM `md5` WHERE md5='$b2'";
$b_result = mysql_query($b_query) or die("Query failed: " . mysql_error());
$b_row = mysql_fetch_array($b_result);
if (!$b_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$b', '$b2')") or die (mysql_error());
echo "Adding $b combination to database... [Done] !<br>";
} else {
echo "$b combination found, proceeding to other combination.<br>";
}
$c_query = "SELECT * FROM `md5` WHERE md5='$c2'";
$c_result = mysql_query($c_query) or die("Query failed: " . mysql_error());
$c_row = mysql_fetch_array($c_result);
if (!$c_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$c', '$c2')") or die (mysql_error());
echo "Adding $c combination to database... [Done] !<br>";
} else {
echo "$c combination found, proceeding to other combination.<br>";
}
$d_query = "SELECT * FROM `md5` WHERE md5='$d2'";
$d_result = mysql_query($d_query) or die("Query failed: " . mysql_error());
$d_row = mysql_fetch_array($d_result);
if (!$d_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$d', '$d2')") or die (mysql_error());
echo "Adding $d combination to database... [Done] !<br>";
} else {
echo "$d combination found, proceeding to other combination.<br>";
}
$e_query = "SELECT * FROM `md5` WHERE md5='$e2'";
$e_result = mysql_query($e_query) or die("Query failed: " . mysql_error());
$e_row = mysql_fetch_array($e_result);
if (!$e_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$e', '$e2')") or die (mysql_error());
echo "Adding $e combination to database... [Done] !<br>";
} else {
echo "$e combination found, proceeding to other combination.<br>";
}
$f_query = "SELECT * FROM `md5` WHERE md5='$f2'";
$f_result = mysql_query($f_query) or die("Query failed: " . mysql_error());
$f_row = mysql_fetch_array($f_result);
if (!$f_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$f', '$f2')") or die (mysql_error());
echo "Adding $f combination to database... [Done] !<br>";
} else {
echo "$f combination found, proceeding to other combination.<br>";
}
$g_query = "SELECT * FROM `md5` WHERE md5='$g2'";
$g_result = mysql_query($g_query) or die("Query failed: " . mysql_error());
$g_row = mysql_fetch_array($g_result);
if (!$g_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$g', '$g2')") or die (mysql_error());
echo "Adding $g combination to database... [Done] !<br>";
} else {
echo "$g combination found, proceeding to other combination.<br>";
}
$h_query = "SELECT * FROM `md5` WHERE md5='$h2'";
$h_result = mysql_query($h_query) or die("Query failed: " . mysql_error());
$h_row = mysql_fetch_array($h_result);
if (!$h_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$h', '$h2')") or die (mysql_error());
echo "Adding $h combination to database... [Done] !<br>";
} else {
echo "$h combination found, proceeding to other combination.<br>";
}
$i_query = "SELECT * FROM `md5` WHERE md5='$i2'";
$i_result = mysql_query($i_query) or die("Query failed: " . mysql_error());
$i_row = mysql_fetch_array($i_result);
if (!$i_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$i', '$i2')") or die (mysql_error());
echo "Adding $i combination to database... [Done] !<br>";
} else {
echo "$i combination found, proceeding to other combination.<br>";
}
$j_query = "SELECT * FROM `md5` WHERE md5='$j2'";
$j_result = mysql_query($j_query) or die("Query failed: " . mysql_error());
$j_row = mysql_fetch_array($j_result);
if (!$j_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$j', '$j2')") or die (mysql_error());
echo "Adding $j combination to database... [Done] !<br>";
} else {
echo "$j combination found, proceeding to other combination.<br>";
}
$k_query = "SELECT * FROM `md5` WHERE md5='$k2'";
$k_result = mysql_query($k_query) or die("Query failed: " . mysql_error());
$k_row = mysql_fetch_array($k_result);
if (!$k_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$k', '$k2')") or die (mysql_error());
echo "Adding $k combination to database... [Done] !<br>";
} else {
echo "$k combination found, proceeding to other combination.<br>";
}
$l_query = "SELECT * FROM `md5` WHERE md5='$l2'";
$l_result = mysql_query($l_query) or die("Query failed: " . mysql_error());
$l_row = mysql_fetch_array($l_result);
if (!$l_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$l', '$l2')") or die (mysql_error());
echo "Adding $l combination to database... [Done] !<br>";
} else {
echo "$l combination found, proceeding to other combination.<br>";
}
$m_query = "SELECT * FROM `md5` WHERE md5='$m2'";
$m_result = mysql_query($m_query) or die("Query failed: " . mysql_error());
$m_row = mysql_fetch_array($m_result);
if (!$m_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$m', '$m2')") or die (mysql_error());
echo "Adding $m combination to database... [Done] !<br>";
} else {
echo "$m combination found, proceeding to other combination.<br>";
}
$n_query = "SELECT * FROM `md5` WHERE md5='$n2'";
$n_result = mysql_query($n_query) or die("Query failed: " . mysql_error());
$n_row = mysql_fetch_array($n_result);
if (!$n_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$n', '$n2')") or die (mysql_error());
echo "Adding $n combination to database... [Done] !<br>";
} else {
echo "$n combination found, proceeding to other combination.<br>";
}
$o_query = "SELECT * FROM `md5` WHERE md5='$o2'";
$o_result = mysql_query($o_query) or die("Query failed: " . mysql_error());
$o_row = mysql_fetch_array($o_result);
if (!$o_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$o', '$o2')") or die (mysql_error());
echo "Adding $o combination to database... [Done] !<br>";
} else {
echo "$o combination found, proceeding to other combination.<br>";
}
$p_query = "SELECT * FROM `md5` WHERE md5='$p2'";
$p_result = mysql_query($p_query) or die("Query failed: " . mysql_error());
$p_row = mysql_fetch_array($p_result);
if (!$p_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$p', '$p2')") or die (mysql_error());
echo "Adding $p combination to database... [Done] !<br>";
} else {
echo "$p combination found, proceeding to other combination.<br>";
}
$q_query = "SELECT * FROM `md5` WHERE md5='$q2'";
$q_result = mysql_query($q_query) or die("Query failed: " . mysql_error());
$q_row = mysql_fetch_array($q_result);
if (!$q_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$q', '$q2')") or die (mysql_error());
echo "Adding $q combination to database... [Done] !<br>";
} else {
echo "$q combination found, proceeding to other combination.<br>";
}
$r_query = "SELECT * FROM `md5` WHERE md5='$r2'";
$r_result = mysql_query($r_query) or die("Query failed: " . mysql_error());
$r_row = mysql_fetch_array($r_result);
if (!$r_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$r', '$r2')") or die (mysql_error());
echo "Adding $r combination to database... [Done] !<br>";
} else {
echo "$r combination found, proceeding to other combination.<br>";
}
$s_query = "SELECT * FROM `md5` WHERE md5='$s2'";
$s_result = mysql_query($s_query) or die("Query failed: " . mysql_error());
$s_row = mysql_fetch_array($s_result);
if (!$s_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$s', '$s2')") or die (mysql_error());
echo "Adding $s combination to database... [Done] !<br>";
} else {
echo "$s combination found, proceeding to other combination.<br>";
}
$t_query = "SELECT * FROM `md5` WHERE md5='$t2'";
$t_result = mysql_query($t_query) or die("Query failed: " . mysql_error());
$t_row = mysql_fetch_array($t_result);
if (!$t_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$t', '$t2')") or die (mysql_error());
echo "Adding $t combination to database... [Done] !<br>";
} else {
echo "$t combination found, proceeding to other combination.<br>";
}
$u_query = "SELECT * FROM `md5` WHERE md5='$u2'";
$u_result = mysql_query($u_query) or die("Query failed: " . mysql_error());
$u_row = mysql_fetch_array($u_result);
if (!$u_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$u', '$u2')") or die (mysql_error());
echo "Adding $u combination to database... [Done] !<br>";
} else {
echo "$u combination found, proceeding to other combination.<br>";
}
$v_query = "SELECT * FROM `md5` WHERE md5='$v2'";
$v_result = mysql_query($v_query) or die("Query failed: " . mysql_error());
$v_row = mysql_fetch_array($v_result);
if (!$v_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$v', '$v2')") or die (mysql_error());
echo "Adding $v combination to database... [Done] !<br>";
} else {
echo "$v combination found, proceeding to other combination.<br>";
}
$w_query = "SELECT * FROM `md5` WHERE md5='$w2'";
$w_result = mysql_query($w_query) or die("Query failed: " . mysql_error());
$w_row = mysql_fetch_array($w_result);
if (!$w_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$w', '$w2')") or die (mysql_error());
echo "Adding $w combination to database... [Done] !<br>";
} else {
echo "$w combination found, proceeding to other combination.<br>";
}
$x_query = "SELECT * FROM `md5` WHERE md5='$x2'";
$x_result = mysql_query($x_query) or die("Query failed: " . mysql_error());
$x_row = mysql_fetch_array($x_result);
if (!$x_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$x', '$x2')") or die (mysql_error());
echo "Adding $x combination to database... [Done] !<br>";
} else {
echo "$x combination found, proceeding to other combination.<br>";
}
$y_query = "SELECT * FROM `md5` WHERE md5='$y2'";
$y_result = mysql_query($y_query) or die("Query failed: " . mysql_error());
$y_row = mysql_fetch_array($y_result);
if (!$y_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$y', '$y2')") or die (mysql_error());
echo "Adding $y combination to database... [Done] !<br>";
} else {
echo "$y combination found, proceeding to other combination.<br>";
}
$z_query = "SELECT * FROM `md5` WHERE md5='$z2'";
$z_result = mysql_query($z_query) or die("Query failed: " . mysql_error());
$z_row = mysql_fetch_array($z_result);
if (!$z_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$z', '$z2')") or die (mysql_error());
echo "Adding $z combination to database... [Done] !<br>";
} else {
echo "$z combination found, proceeding to other combination.<br>";
}
;echo '
</body>
</html>';?> |
|
|
|
|
|
|
|
|
|
Posted: Sun Mar 13, 2011 9:23 am |
|
|
zerobytes |
Valuable expert |
|
|
Joined: Aug 30, 2008 |
Posts: 199 |
|
|
|
|
|
|
|
index.php
Code: |
<?echo '<html>
<head>
<title>MD5 Encryption & Decryption</title>
<link href="images/style.css" rel="stylesheet" type="text/css">
<meta name="keywords" content="MD5, Crack, education, encryption, decryption">
<meta name="description" content="Crack the hardcoded md5.">
</head>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" background="images/rep_til.jpg" style="background-repeat:repeat-x; background-position:top left ">
<tr>
<td> ;;</td>
<td width="714" align="left" valign="top"><div style="padding-left:0px; padding-top:92px">
<table width="714" border="0" cellpadding="0" cellspacing="0" background="images/rep_lner_1.jpg">
<tr>
<td height="90" align="left" valign="top"><img src="images/mail_service.jpg" width="714" height="90"></td>
</tr>
<tr>
<td height="23" align="left" valign="top" background="images/top_back_2.jpg"><div style="padding-left:35px; padding-top:2px"></div></td>
</tr>
';
require_once('config.php');
$url = 'http://'.$_SERVER['HTTP_HOST'].substr($_SERVER['SCRIPT_NAME'],0,strlen($_SERVER['SCRIPT_NAME'])-8);
if (isset($_GET["act"])) {
$currentpage = $_GET["act"];
} elseif (isset($_POST["act"])) {
$currentpage = $_POST["act"];
} else {
$currentpage = "home";
}
switch ($currentpage) {
case "home":
showPageHome();
break;
case "encrypt":
showPageEncrypt();
break;
case "decrypt":
showPagedecrypt();
break;
showPageHome();
break;
}
;echo '';
function showPageHome() {
require_once('config.php');
$query = "SELECT * FROM `md5` ORDER BY id DESC";
$result = mysql_query($query) or die("Query failed: " . mysql_error());
$row = mysql_fetch_array($result);
if (!$row) {
$no = 0;
} else {
$no = $row['id'];
}
;echo '
<tr>
<td align="left" valign="top" background="images/back_right_1.jpg" style="background-position:top right; background-repeat:no-repeat "><table width="714" border="0" cellpadding="0" cellspacing="0" background="images/back_left.jpg" style="background-repeat:no-repeat; background-position:top left ">
<tr align="left" valign="top">
<td width="405"><table width="405" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top"><div style="padding-left:27px; padding-top:0px">
<table width="366" border="0" cellpadding="0" cellspacing="0" background="images/rep_line_1.jpg">
<tr>
<td height="59" align="left" valign="top" background="images/top_back.jpg"><div style="padding-left:32px; padding-top:12px">
<table height="27" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><span class="style1">MD5 Encryption ;;</span></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td align="left" valign="top" background="images/bottom_2.jpg" style="background-repeat:no-repeat; background-position:bottom left "><div style="padding-left:32px; padding-top:2px; padding-bottom:23px">
<table width="315" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="127"><table width="105" border="0" cellspacing="0" cellpadding="0">
<form action="'; echo $_SERVER['PHP_SELF']; ;echo '" method="post">
<tr>
<td height="17" align="left" valign="bottom"><span class="style7">Letter & number:</span></td>
</tr>
<tr>
<td align="left" valign="bottom"><span class="style8">
<input type="text" name="encrypt" style="width:100px; height:19px; font-family:tahoma; font-size:10px " size="32" maxlength="32">
</span></td>
</tr>
<tr>
<td height="26" align="left" valign="bottom"><input type="hidden" name="act" value="encrypt"><input type="submit" value="Encrypt"></td>
</tr>
</form>
</table></td>
<td><div style="padding-left:0px; padding-top:9px; line-height:11px"><span class="style10"><strong>Direction:</strong><br>
Paste the letter & number into the box and click
encrypt</span></div>
</td>
</tr>
</table>
</div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td align="left" valign="top"><div style="padding-left:27px; padding-top:0px">
<table width="366" border="0" cellpadding="0" cellspacing="0" background="images/rep_line_1.jpg">
<tr>
<td height="59" align="left" valign="top" background="images/top_back.jpg"><div style="padding-left:32px; padding-top:12px">
<table height="27" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><span class="style1">MD5 Decryption ;;</span></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td align="left" valign="top" background="images/bottom_2.jpg" style="background-repeat:no-repeat; background-position:bottom left "><div style="padding-left:32px; padding-top:2px; padding-bottom:23px">
<table width="315" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="127"><table width="105" border="0" cellspacing="0" cellpadding="0">
<form action="'; echo $_SERVER['PHP_SELF']; ;echo '" method="post">
<tr>
<td height="17" align="left" valign="bottom"><span class="style7">MD5:</span></td>
</tr>
<tr>
<td align="left" valign="bottom"><span class="style8">
<input type="text" name="decrypt" style="width:100px; height:19px; font-family:tahoma; font-size:10px " size="32" maxlength="32">
</span></td>
</tr>
<tr>
<td height="26" align="left" valign="bottom"><input type="hidden" name="act" value="decrypt"><input type="submit" value="Decrypt"></td>
</tr>
</form>
</table></td>
<td><div style="padding-left:0px; padding-top:9px; line-height:11px"><span class="style10"><strong>Direction:</strong><br>
Paste the md5 into the box and click
decrypt</span></div>
</td>
</tr>
</table>
</div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td align="center" valign="top"><span class="style10">Total
number of '; echo "<strong>$no</strong>"; ;echo ' cracked md5</span></td>
</tr>
</table></td>
';
}
function showPageEncrypt() {
require_once('config.php');
$query = "SELECT * FROM `md5` ORDER BY id DESC";
$result = mysql_query($query) or die("Query failed: " . mysql_error());
$row = mysql_fetch_array($result);
if (!$row) {
$no = 0;
} else {
$no = $row['id'];
}
$encrypt = $_POST['encrypt'];
$encrypted = md5($encrypt);
$encrypt_query = "SELECT * FROM `md5` WHERE md5='$encrypted'";
$encrypt_result = mysql_query($encrypt_query) or die("Query failed: " . mysql_error());
$encrypt_row = mysql_fetch_array($encrypt_result);
if (!$encrypt_row) {
mysql_query("INSERT INTO `md5` VALUES ('', '$encrypt', '$encrypted')") or die (mysql_error());
}
;echo '<script language=Javascript>
<!--
var copytoclip=1
function HighlightAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
if (document.all&©toclip==1){
therange=tempval.createTextRange()
therange.execCommand("Copy")
window.status="Contents highlighted and copied to clipboard!"
setTimeout("window.status=\'\'",2400);
}
}
-->
</script>
<tr>
<td align="left" valign="top" background="images/back_right_1.jpg" style="background-position:top right; background-repeat:no-repeat "><table width="714" border="0" cellpadding="0" cellspacing="0" background="images/back_left.jpg" style="background-repeat:no-repeat; background-position:top left ">
<tr align="left" valign="top">
<td width="405"><table width="405" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top"><div style="padding-left:27px; padding-top:0px">
<table width="366" border="0" cellpadding="0" cellspacing="0" background="images/rep_line_1.jpg">
<tr>
<td height="59" align="left" valign="top" background="images/top_back.jpg"><div style="padding-left:32px; padding-top:12px">
<table height="27" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><span class="style1">MD5 Encryption ;;</span></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td align="left" valign="top" background="images/bottom_2.jpg" style="background-repeat:no-repeat; background-position:bottom left "><div style="padding-left:32px; padding-top:2px; padding-bottom:23px">
<table width="315" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="127"><table width="105" border="0" cellspacing="0" cellpadding="0">
<tr>
';
if (!$encrypt) {
echo "<span class='style33'>Please fill up the blank.</span>";
} else {
;echo ' <td height="17" align="left" valign="bottom"><span class="style7">MD5 encrypted:</span></td>
</tr>
<tr>
<td align="left" valign="bottom"><span class="style8"">
<form name=form1>
<textarea name=select cols=12 rows="1">'; echo "$encrypted"; ;echo '</textarea>
<A class=high href="javascript:HighlightAll(\'form1.select\')"><input type="submit" name="copy" value="Select"></A>
</form>
</span>
</td>
</tr>
';
}
;echo ' <tr>
<td height="26" align="left" valign="bottom"></td>
</tr>
</table></td>
<td><div style="padding-left:0px; padding-top:9px; line-height:11px"><span class="style10"><strong>Direction:</strong><br>
Click select button to highlight the encrypted result, then copy it to your clipboard (Ctrl+C)
</span></div>
</td>
</tr>
</table>
</div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td align="center" valign="top"><span class="style10">Total
number of '; echo "<strong>$no</strong>"; ;echo ' cracked md5</span></td>
</tr>
</table></td>
';
}
function showPageDecrypt() {
require_once('config.php');
$query = "SELECT * FROM `md5` ORDER BY id DESC";
$result = mysql_query($query) or die("Query failed: " . mysql_error());
$row = mysql_fetch_array($result);
if (!$row) {
$no = 0;
} else {
$no = $row['id'];
}
$decrypt = $_POST['decrypt'];
$decrypt_query = "SELECT * FROM `md5` WHERE md5='$decrypt'";
$decrypt_result = mysql_query($decrypt_query) or die("Query failed: " . mysql_error());
$decrypt_row = mysql_fetch_array($decrypt_result);
$decrypted = $decrypt_row['combination'];
;echo '<script language=Javascript>
<!--
var copytoclip=1
function HighlightAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
if (document.all&©toclip==1){
therange=tempval.createTextRange()
therange.execCommand("Copy")
window.status="Contents highlighted and copied to clipboard!"
setTimeout("window.status=\'\'",2400);
}
}
-->
</script>
<tr>
<td align="left" valign="top" background="images/back_right_1.jpg" style="background-position:top right; background-repeat:no-repeat "><table width="714" border="0" cellpadding="0" cellspacing="0" background="images/back_left.jpg" style="background-repeat:no-repeat; background-position:top left ">
<tr align="left" valign="top">
<td width="405"><table width="405" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top"><div style="padding-left:27px; padding-top:0px">
<table width="366" border="0" cellpadding="0" cellspacing="0" background="images/rep_line_1.jpg">
<tr>
<td height="59" align="left" valign="top" background="images/top_back.jpg"><div style="padding-left:32px; padding-top:12px">
<table height="27" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><span class="style1">MD5 Decryption ;;</span></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td align="left" valign="top" background="images/bottom_2.jpg" style="background-repeat:no-repeat; background-position:bottom left "><div style="padding-left:32px; padding-top:2px; padding-bottom:23px">
<table width="315" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="127"><table width="105" border="0" cellspacing="0" cellpadding="0">
<tr>
';
if (!$decrypt) {
echo "<span class='style33'>Please fill up the blank.</span>";
} elseif (strlen($decrypt) != 32) {
echo "<span class='style33'>Invalid md5</span>";
} elseif (!$decrypt_row) {
echo "<span class='style33'>Sorry, we couldn't decrypt this md5.</span>";
} else {
;echo ' <td height="17" align="left" valign="bottom"><span class="style7">MD5 decrypted:</span></td>
</tr>
<tr>
<td align="left" valign="bottom"><span class="style8"">
<form name=form1>
<textarea name=select cols=12 rows="1">'; echo $decrypted; ;echo '</textarea>
<A class=high href="javascript:HighlightAll(\'form1.select\')"><input type="submit" name="copy" value="Select"></A>
</form>
</span>
</td>
</tr>
';
}
;echo ' <tr>
<td height="26" align="left" valign="bottom"></td>
</tr>
</table></td>
<td><div style="padding-left:0px; padding-top:9px; line-height:11px"><span class="style10"><strong>Direction:</strong><br>
Click select button to highlight the decrypted result, then copy it to your clipboard (Ctrl+C)
</span></div>
</td>
</tr>
</table>
</div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td align="center" valign="top"><span class="style10">Total
number of '; echo "<strong>$no</strong>"; ;echo ' cracked md5</span></td>
</tr>
</table></td>
';
}
;echo ' <td width="309" height="100%" background="images/rep_1.jpg" style="background-repeat:repeat-y; background-position:top left "><table width="309" height="100%" border="0" cellpadding="0" cellspacing="0" background="images/bot_pic_1.jpg" style="background-position:bottom left; background-repeat:no-repeat ">
<tr>
<td height="100%" align="left" valign="top" background="images/top_pic_1.jpg" style="background-repeat:no-repeat; background-position:top left "><div style="padding-left:14px; padding-top:12px">
<table height="27" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><span class="style1">Welcome to MD5
Encryption & Decryption !</span></td>
</tr>
</table>
</div>
<div style="padding-left:14px; padding-top:10px"><span class="style10"><strong>Having
problem encrypting?<br>
</strong>This service will help you to encrypt<br>
your letter and number with md5 function.<br>
<br>
<strong>Having
problem decrypting?<br>
</strong>You are on the right place !<br>
This service will try to decrypt md5 for you !<br>
</span></div>
<div style="padding-left:15px; padding-top:15px">
<table width="158" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td width="10" height="15"><a href="#"><img src="images/point_4.jpg" width="5" height="5" border="0"></a></td>
<td height="15"><span class="style14">MD5
encryption</span></td>
</tr>
<tr align="left" valign="middle">
<td width="10" height="15"><a href="#"><img src="images/point_4.jpg" width="5" height="5" border="0"></a></td>
<td height="15"><span class="style14">MD5
decryption</span></td>
</tr>
<tr align="left" valign="middle">
<td width="10" height="15"><a href="#"><img src="images/point_4.jpg" width="5" height="5" border="0"></a></td>
<td height="15"><span class="style14">Fast
and easy !</span></td>
</tr>
<tr align="left" valign="middle">
<td width="10" height="15"><a href="#"><img src="images/point_4.jpg" width="5" height="5" border="0"></a></td>
<td height="15"><span class="style14">Just
one click !</span></td>
</tr>
</table>
</div>
<div style="padding-left:13px; padding-top:16px; padding-bottom:15px">
<table width="240" height="18" border="0" cellpadding="0" cellspacing="0">
<tr align="left" valign="top">
<td width="100%" background="images/division_1.jpg" style="background-repeat:no-repeat; background-position:top right "><span class="style10"><strong>I
need your help !<br>
</strong>As we know there\'s billions of
different combination,<br>
me alone could not support the whole service, so
if you<br>
are free you could do some contribution by
adding cracked md5 to my database.<br>
Please refer to '; echo " ".$url."/add.php"; ;echo '</span></td>
</tr>
</table>
</div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="38" align="left" valign="top" background="images/bottom_1.jpg" class="style10"><div style="padding-left:485px; padding-top:7px"><span style="color: #A9A9A9">Copyright
© 2006 MD5 Encryption & Decryption</span></div></td>
</tr>
</table>
</div></td>
<td> ;;</td>
</tr>
<tr>
<td height="100%"> ;;</td>
<td width="714" height="100%" align="left" valign="top"> ;;</td>
<td height="100%"> ;;</td>
</tr>
</table>
</body>
</html>';?> |
ZeroBytes |
|
_________________ Decoded by ASD @ Lost-codes.co.uk |
|
|
|
|
|
|
|
Posted: Sun Mar 13, 2011 11:17 pm |
|
|
ibrahim |
Beginner |
|
|
Joined: Mar 12, 2011 |
Posts: 2 |
|
|
|
|
|
|
|
|
|
|
|
www.waraxe.us Forum Index -> Newbies corner
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|