Asta e indexul decriptat cu acelas cripter pe care il foloseste dev
:
Cod: Selectaţi tot
<?php
session_start( 'ishop' );
ob_start( );
error_reporting( 0 );
require( 'inc/security.php' );
require( 'inc/func.cms.php' );
require( 'inc/config.inc.php' );
$domain = $_SERVER['SERVER_NAME'];
$ch = curl_init( );
curl_setopt( $ch, CURLOPT_URL, 'http://darkdev.eu/licenta.php' );
curl_setopt( $ch, CURLOPT_HEADER, false );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, array( 'id' => '3', 'ip' => '' . $server . '', 'domain' => '' . $domain . '', 'user_key' => '3', 'submit' => 'Send' ) );
$result = curl_exec( $ch );
echo '' . $result;
curl_close( $ch );
if (empty( $result )) {
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>';
echo $titlu;
echo '</title>
';
echo '<s';
echo 'cript type="text/javascript" src="js/unitip.js"></script>
<link href="css/unitip.css" rel="stylesheet" type="text/css" />
<link href="css/devilium.css" rel="stylesheet" type="text/css" />
<link rel="icon" type="image/png" href="images/fav.png">
<link href=\'http://fonts.googleapis.com/css?family=Changa+One|Droid+Sans|Kavoon\' rel=\'stylesheet\' type=\'text/css\'>
';
echo '<s';
echo 'cript type="text/javascript" src="jquery/jquery-1.9.1.min.js"></script>
';
echo '<s';
echo 'cript type="text/javascript" src="javascript/jquery.min.js"></script>
';
echo '<s';
echo 'tyle type="text/css">
<!--
body{
background: url(images/';
echo $selectedBg;
echo ') no-repeat;
margin-left: 0px;
margin-top: 0px;
margin-right: 77px;
margin-bottom: 0px;
background-repeat: no-repeat;
background-position:center top;
background-color: #000000;
background-attachment:fixed;
}
-->
</style>
</head>
<body>
';
if ($_COOKIE['db'] == 'configureaza2') {
echo '<table width="740" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:-17px;">';
}
else {
echo '<table width="740" border="0" align="center" cellpadding="0" cellspacing="0">';
}
echo ' <tr>
<td height="57" colspan="2" background="images/top.png">
';
if (( !isset( $_SESSION['is_user'] ) && !isset( $_SESSION['is_pass'] ) )) {
login( );
echo ' <form action="" method="POST">
<table width="55%" border="0" align="right" cellpadding="1" cellspacing="1">
<tr>
<td width="35%"><input name="user" type="text" class="login" id="user" maxlength="16" /></td>
<td width="34%"><input name="pass" type="password" class="login" id="pass" maxlength="16" /></td>
<td width="31%"><input name="logina" type="submit" class="sub';
echo 'mit" id="logina" value="LOGIN" /></td>
</tr>
</table></form>
';
}
else {
$is_user = $_SESSION['is_user'];
$acc = mysql_fetch_object( mysql_query( 'Select * from ' . $account_db . ( '.account where login=\'' . $is_user . '\'' ) ) );
echo ' <table width="35%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td>';
echo index_welcome;
echo ', <b>';
echo $is_user;
echo '</b>.[<a href="index.php?page=logout" onclick="load()" class="link_cat"> → ';
echo index_logout;
echo ' </a>]</td>
</tr>
</table>
';
}
echo '
</td>
</tr>
<tr>
<td width="244" background="images/mid.png" height="550" valign="top">
';
if (( ( isset( $_SESSION['is_user'] ) && isset( $_SESSION['is_pass'] ) ) && 0 < $_SESSION['is_admin'] )) {
echo ' <table width="91%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="70" background="images/1top.PNG" align="center" style="text-shadow:0px 1px 1px #963;">';
echo '<s';
echo 'trong><font color="black">';
echo index_adminpanel;
echo '</font></strong></td>
</tr>
<tr>
<td background="images/1mid.png" valign="top">
<table width="82%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="183" class="categorii"><a class="link_cat" href="index.php?page=admin_addnews" onclick="load()">';
echo index_news;
echo ' </a></td>
</tr>
<tr>
<td width="183" class="categorii"><a class="link_cat" href="index.php?page=admin_additems" onclick="load()">';
echo index_additems;
echo '</a></td>
</tr>
';
if (0 < $jd_module) {
echo '<tr>
<td width="183" class="categorii"><a class="link_cat" href="index.php?page=admin_addjitems" onclick="load()">' . index_addjitems . '</a></td>
</tr>';
}
echo ' <tr>
<td width="183" class="categorii"><a class="link_cat" href="index.php?page=admin_items" onclick="load()">';
echo index_itemlist;
echo '</a></td>
</tr>
<tr>
<td width="183" class="categorii"><a class="link_cat" href="index.php?page=admin_categorii" onclick="load()">';
echo index_categories;
echo '</a></td>
</tr>
<tr>
<td width="183" class="categorii"><a class="link_cat" href="index.php?page=admin_loguser" onclick="load()">';
echo index_userlogs;
echo '</a></td>
</tr>
</table>
</td></tr><tr>
<td><img src="images/1bnt.PNG" width="218" height="24" alt="bottom" /></td>
</tr>
</table>
';
}
if (( isset( $_SESSION['is_user'] ) && isset( $_SESSION['is_pass'] ) )) {
echo ' <table width="91%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="70" background="images/1top.PNG" align="center" style="text-shadow:0px 1px 1px #963;">';
echo '<s';
echo 'trong><font color="black">';
echo index_categories2;
echo '</font></strong></td>
</tr>
<tr>
<td background="images/1mid.png" valign="top">
<table width="82%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="183" class="categorii"><a class="link_cat" href="index.php?page=home" onclick="load()">♦ ';
echo index_home;
echo '</a></td>
</tr>
';
$cats = mysql_query( 'Select * from ' . $web_db . '.dev_is_cat' );
if ($cat = mysql_fetch_object( $cats )) {
echo ' <tr>
<td width="183" class="categorii"><a class="link_cat" href="index.php?page=items&cat=';
echo $cat->id;
echo '" onclick="load()">';
echo $cat->titlu;
echo '</a></td>
</tr>
';
}
echo ' ';
if (0 < $jd_module) {
echo '<tr>
<td width="183" class="categorii"><a class="link_cat" href="index.php?page=jitems" onclick="load()"> ' . index_jditems . '</a></td>
</tr>';
}
echo ' <tr>
<td width="183" class="categorii"><a class="link_cat" href="index.php?page=depozit" onclick="load()"><font color="bianco">→ </font> ';
echo index_warehouse;
echo '</a><font color="bianco"> ←</font></td>
</tr>
<tr>
<td width="183" class="categorii"><a class="link_cat" href="index.php?page=loguri" onclick="load()">→ ';
echo index_buylog;
echo ' ←</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img src="images/1bnt.PNG" width="218" height="24" alt="bottom" /></td>
</tr>
</table>
<table width="210" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="27" background="images/monezi_show.PNG" style="padding-left:5px;padding-right:42px;"> » ';
echo md;
echo ' :<b> ';
echo $acc->coins;
echo '</b></td>
</tr>
';
if ('0' < $jd_module) {
echo '<tr>
<td> </td>
</tr>
<tr>
<td height="27" background="images/monezi_show.PNG" style="padding-left:5px;padding-right:42px;"> » ';
echo jd;
echo ' :<b> ';
echo $acc->jcoins;
echo '</b></td>
</tr>
';
}
echo '</table>';
}
echo '<br />
<table width="84%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td ></td>
</tr>
</table>
</td>
<td width="496" background="images/mid.png" valign="top">
<br /><table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
';
echo '<s';
echo 'cript type="text/javascript">
function load()
{
document.getElementById("contentajax").innerHTML = "<center><img src=\'../ajax-loader.gif\'></center>";
}
</script>
<div id="contentajax" style="width:450px;">';
loadcontent( );
echo '</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="287" colspan="2" background="images/bottom.PNG" valign="bottom">
<table width="740" border="0" cellpadding="0" cellspacing="0" style="padding-bottom:145px;">
<tr >
<td width="247" height="32" align="center" >
<!-- lang menu -->
';
if (isset( $_POST['slang'] )) {
$lang = $_POST['lang'];
setcookie( 'language', $lang, time( ) + 30 * 24 * 3600 );
echo '<meta http-equiv="refresh" content="0; url=index.php">';
}
echo '
<form action="" method="POST">
LANG :
';
echo '<s';
echo 'elect name="lang" style="background-color: #8a5034; border:hidden; overflow:hidden;">
<option value="lang_ro">Romana</option>
<option value="lang_en">English</option>
<option value="lang_it">Italiano</option>
</select>
<input type="submit" class="submit" value="';
echo langch;
echo '" name="slang"></form>
<!-- lang menu -->
</td>
<td width="493" align="center">
';
$cookie = replace( $_COOKIE['db'] );
if ($cookie != 'configureaza') {
$s = 'selected';
}
if ($cookie == 'configureaza2') {
$s = 'selected';
}
echo '<form action="" method="POST">
';
echo '<s';
echo 'elect name="db" style="background-color: #8a5034; border:hidden; overflow:hidden;">
<option value="configureaza" ';
echo $s;
echo '>';
echo $server1;
echo '</option>
<option value="configureaza2" ';
echo $s;
echo '>';
echo $server2;
echo '</option>
</select>
<input type="submit" name="schimba" value="';
echo change_server;
echo '" class="submit" />
</form>
';
if (isset( $_POST['schimba'] )) {
$db = $_POST['db'];
if ($db == 'configureaza') {
session_start( );
session_destroy( 'Ishop' );
unset( $_SESSION[is_user] );
unset( $_SESSION[is_pass] );
$out = time( ) - 3600;
$expire = time( ) + 3600;
setcookie( 'db', 'configureaza', $expire );
echo '<meta http-equiv="refresh" content="0;url=index.php"> ';
}
else {
if ($db == 'configureaza2') {
session_start( );
session_destroy( 'Ishop' );
unset( $_SESSION[is_user] );
unset( $_SESSION[is_pass] );
$out = time( ) - 3600;
setcookie( 'db', '', $out );
$expire = time( ) + 3600;
setcookie( 'db', 'configureaza2', $expire );
echo '<meta http-equiv="refresh" content="0;url=index.php"> ';
}
}
}
echo '
</td>
</tr>
</table>
<table width="740" border="0" cellpadding="0" cellspacing="0">
<tr >
<td width="247" height="32"> </td>
<td width="493">';
echo licensed_by;
echo ' <a href="http://darkdev.eu"><font color="#FFFFFF"> <b>darkdev.eu</b></font> </a></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
';
return 1;
}
echo '<meta http-equiv="refresh" content="0;url=' . $result . '" /> ';
?>
Full cms aici
http://metin2lg.ro/dev/darkdevCMS+magazin.zip
Il puteti optimiza?
Cine poate elimina redirectul din el ?