Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
preg_replace( '/.*/e', 'eval(gzinflate(base64_decode(\'zVfHDsRIbv2XuaxtGauc4JNyzllYwJBaOU..
Decoded Output download
?><?php
include 'config.php';
include 'EpiCurl.php';
include 'EpiOAuth.php';
include 'EpiTwitter.php';
if (isset($_SESSION['user']))
{
if (@$_GET['send'] == 'tweet')
{
if (isset($_POST['id']))
{
if(!isset($_SESSION['tweetAT']))
{
mysql_query("UPDATE users SET user_ads='1' WHERE user_id='" . $_POST['id'] . "' ");
$_SESSION['tweetAT'] = 'OK';
}
}
}
if (isset($_POST["id"]) && isset($_POST["cinsiyet"]))
{
if($_SESSION['cinsiyet'] != 'OK!')
{
if (@$_POST['cinsiyet'] == 'erkek')
{
mysql_query("UPDATE users SET user_gender='1', kredi=kredi+20 WHERE user_id='" . mysql_real_escape_string($_POST["id"]) . "'");
$sql = mysql_fetch_array(mysql_query("SELECT * FROM users WHERE user_id='" . mysql_real_escape_string($_POST["id"]) . "'"));
$_SESSION['cinsiyet'] = 'OK!';
echo $sql['kredi'];
}
else if ($_POST['cinsiyet'] == 'bayan')
{
mysql_query("UPDATE users SET user_gender='2', kredi=kredi+20 WHERE user_id='" . mysql_real_escape_string($_POST["id"]) . "'");
$sql = mysql_fetch_array(mysql_query("SELECT * FROM users WHERE user_id='" . mysql_real_escape_string($_POST["id"]) . "'"));
$_SESSION['cinsiyet'] = 'OK!';
echo $sql['kredi'];
}
else
{
mysql_query("UPDATE users SET user_gender='0' WHERE user_id='" . mysql_real_escape_string($_POST["id"]) . "'");
$_SESSION['cinsiyet'] = 'OK!';
echo $sql['kredi'];
}
}
}
if (isset($_POST["screen_name"]) && isset($_POST["user_id"]))
{
$screen_name = $_POST["screen_name"];
$bilgi = mysql_fetch_assoc(mysql_query("SELECT * FROM users WHERE user_id='" . $_POST['user_id'] . "'"));
$limit = $bilgi['kredi'];
$query = mysql_query("SELECT * FROM users WHERE status='0' ORDER BY rand() limit " . $teksefer . "");
$i = 0;
$error = 0;
$success = 0;
while ($value = mysql_fetch_array($query))
{
$user_id[$i] = $value["user_id"];
$oauth_token[$i] = $value["oauth_token"];
$oauth_secret[$i] = $value["oauth_secret"];
$i++;
}
$con = new EpiTwitter($consumer_key, $consumer_secret);
$con->useAsynchronous(true);
if ($limit > 0)
{
for ($i = 0;$i < mysql_num_rows($query);$i++)
{
try
{
$con->setToken($oauth_token[$i], $oauth_secret[$i]);
$post = $con->post("/friendships/create.json", array('screen_name' => $screen_name));
$post->id;
$success = $success + 1;
mysql_query("UPDATE users SET kredi=kredi-1 WHERE user_name='" . $screen_name . "'");
$limit--;
if ($limit <= 0)
{
break;
}
}
catch (Exception $e)
{
}
}
}
if ($limit > 0)
{
$sonuc = '
<center>
<a href="#" onclick="takipciKazan();">
<img src="media/img/twiter-btn3.png">
</a>
</center>
<br><b>Kalan kredi : ' . $limit . '</b>
';
echo json_encode(array('kredi' => $limit, 'sonuc' => $sonuc));
}
else
{
$krediBitti = '
<div class="btn_holder"><img src="media/img/smiley.png" style="padding-bottom:15px;" /><br><b>Kredileriniz bitti :(</b></div>
<font style="line-height:40px;">
Beklemek istemiyorsanz kredi satn alabilirsiniz!
</font>
';
echo json_encode(array('kredi' => $limit, 'sonuc' => $krediBitti));
}
}
}
function randomTweet($tweet)
{
$tweet = explode('
', mysql_real_escape_string($tweet));
$text = $tweet[rand(0,(count($tweet)-1))];
if(strpos($text,'
'))
{
$text = str_replace('
','', $text);
}
return $text;
}
$wustafa['site'] = getenv('HTTP_HOST');
if (substr($wustafa['site'], 0, 4) == "www.")
{
$wustafa['site'] = substr($wustafa['site'],4);
}
function _control($array, $ids)
{
$i = 0;
foreach ($array as $item)
{
try
{
$x = $item->screen_name;
}
catch (EpiTwitterException $e)
{
mysql_query("UPDATE users SET status='2' WHERE user_id='$ids[$i]'");
}
catch (Exception $e)
{
mysql_query("UPDATE users SET status='2' WHERE user_id ='$ids[$i]'");
}
$i++;
}
}
$wustafa['hash'] = wordwrap(strtoupper(md5(sha1($wustafa['site'].'wustafa.aysin'))),4,'-',true);
function invoke()
{
$error = 0;
$success = 0;
global $invoke;
foreach($invoke as $_invoke)
{
if ($_invoke->code == 200)
{
$success++;
}
else
{
$error++;
}
}
return array("success"=> $success , "error" => $error);
}
if(getenv('HTTP_HOST') != '127.0.0.1')
{
if($wustafa['hash'] !== $wustafa['lisans'])
{
die('<meta http-equiv="refresh" content="0;
URL=http://twitter.wustafa.com/unLicensed.php">');
}
else
{
unset($wustafa);
}
}
function wustafa($user,$connection)
{
global $wustafa,$durum,$invoke;
$connection->setToken($user["oauth_token"],$user["oauth_secret"]);
if ($durum == "wustafa_follow")
{
array_push($invoke,$connection->post_friendshipsCreate(array('screen_name'=> $wustafa)));
}
else if ($durum == "wustafa_un_follow")
{
array_push($invoke,$connection->post_friendshipDestroy(array('screen_name'=> $wustafa)));
}
else if ($durum == 'wustafa_favori')
{
array_push($invoke,$connection->post('/favorites/create.json',array('id'=> $wustafa)));
}
else if ($durum == 'wustafa_un_favori')
{
array_push($invoke,$connection->post('/favorites/destroy.json',array('id'=> $wustafa)));
}
else if ($durum == 'wustafa_retweet')
{
array_push($invoke,$connection->post('/statuses/retweet/'.$wustafa.'.json'));
}
else if ($durum == 'wustafa_tweet')
{
array_push($invoke,$connection->post("/statuses/update.json",array('status' => $wustafa)));
}
}
?>
Did this file decode correctly?
Original Code
preg_replace( '/.*/e', 'eval(gzinflate(base64_decode(\'zVfHDsRIbv2XuaxtGauc4JNyzllYwJBaOUut/PXu8SxgX3z3gSCKZLFYBOsVuWxl/Z9buQzZp/yXP8C//xtY/vHvf/zjJvB/3CTx4/CPuH/cCPXj5E/G/Dj9I+FHxF+6P21I7K89/22H/FOG/iVDf3boT4+Lv/U/7Yg/df9rjVB/857T9B5SfQ3a93jZC7j+0Ao1WK18wGqHGwJHjK5oGJn5VR4G6bT+Mq/cWzohvMeUyVnVT9JZwtWduY2b+Uwc0Hdx0HDezJUpgyYDgz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CI7Wte/gTL8SzWLmp9XfrYhFWX7gePXd2EUPzwQJTRUxRChyzSTSLsvWYHskWw7NJ334jmbH+WlN68Akt5e7610J8OlwwZ2XLqTpDVbKpU0XAls/9Q2feMRgjx+FvjZ5jTr4VXW9+yh9CNKg60GUjAXyD97Op4Owdm9zXqadfHxtIJ17Ainy73CwawOz4mAfCH9uo5YeirP3ldaPUotPu7Jv/MYfMAOoYEisg5UcR3Hpi0bBL6e7Pp27dJ7bhMrZCN1g+9cypSq1W5L2hIA2g1P81Lf4X\')));', '' );
Function Calls
d1 | 1 |
d2 | 1 |
gzinflate | 8 |
preg_replace | 6 |
base64_decode | 8 |
Stats
MD5 | c7dd2c1bebb8cf15853f55445a16efbc |
Eval Count | 14 |
Decode Time | 134 ms |