M

McGuilletwoee

Usuario (Argentina)

Primer post: 31 ene 2012Último post: 1 feb 2012
3
Posts
10
Puntos totales
2
Comentarios
Para Los WebMaster Proteccion DDos
Para Los WebMaster Proteccion DDos
Ciencia EducacionporAnónimo1/31/2012

Este codigo lo que hace es Impedir o Cortar el Doss Pero Ojo: Solo Aguanta Doss Debiles no Resiste un Doss Mayor Instalacion: 1.- El Codigo que Pondre mas Abajo deben crear un Archivo con su Bloc de Notas Llamado anti_dos.php donde pondran ese Codigo (el de Abajo). 2.- en su Carpeta htdocs Crean una Carpeta llamada iplog Donde cuando intenten Dossearte habrá un archivo llamado iplog.dat Donde te dira todo sobre el que te Intento Dossear. 3.- Agrega en el Archivo php (Index.php, Me.php, Client) el Siguiente Codigo: <?php include("anti_dos.php"; ?> Eso Es Todo Disfruten De Su Pagina Protegida El Codigo Que Viene Ahora Tendran que crear un Archivo Llamado "anti_dos.php" y Colocarlo en Htdocs Codigo: Código: <?php /* CHMOD /iplog/ to 777 Create and CHMOD /iplog/iplogfile.dat to 666 add the following line in any important .php file in the same directory as your anti_dos.php file so it can check IPs when that file is loaded, best example is index.php if you have it. include("anti_dos.php"; //anti-DoS, prevents rapid accessing if you have a known cookie on your site, you can use this, otherwise just ignore this, it will set a different limit for people with this cookie I use yourothercookie as the cookie ID for the forum, my forum uses ID greater than 0 for all members and -1 for guests and members who have logged out, so making it match greater than zero means members will get better access and guests with or without cookies won't Also I use these cookies in the "flood alert" emails to make sure an important user didn't get banned. Someone could fake a cookie, so always be suspicious. Tez */ $cookie = $_COOKIE['yourcookie']; $othercookie = $_COOKIE['yourothercookie']; if($cookie && $othercookie > 0) $iptime = 20; // Minimum number of seconds between visits for users with certain cookie else $iptime = 10; // Minimum number of seconds between visits for everyone else $ippenalty = 60; // Seconds before visitor is allowed back if($cookie && $othercookie > 0)$ipmaxvisit = 30; // Maximum visits, per $iptime segment else $ipmaxvisit = 20; // Maximum visits per $iptime segment $iplogdir = "./iplog/"; $iplogfile = "iplog.dat"; $ipfile = substr(md5($_SERVER["REMOTE_ADDR"]), -2); $oldtime = 0; if (file_exists($iplogdir.$ipfile)) $oldtime = filemtime($iplogdir.$ipfile); $time = time(); if ($oldtime < $time) $oldtime = $time; $newtime = $oldtime + $iptime; if ($newtime >= $time + $iptime*$ipmaxvisit) { touch($iplogdir.$ipfile, $time + $iptime*($ipmaxvisit-1) + $ippenalty); $oldref = $_SERVER['HTTP_REFERER']; header("HTTP/1.0 503 Service Temporarily Unavailable"; header("Connection: close"; header("Content-Type: text/html"; echo "<html><body bgcolor=#999999 text=#ffffff link=#ffff00> <font face='Verdana, Arial'><p><b> <h1>Temporary Access Denial</h1>Too many quick page views by your IP address (more than ".$ipmaxvisit." visits within ".$iptime." seconds).</b> "; echo "<br />Please wait ".$ippenalty." seconds and reload.</p></font></body></html>"; touch($iplogdir.$iplogfile); //create if not existing $fp = fopen($iplogdir.$iplogfile, "a"; $yourdomain = $_SERVER['HTTP_HOST']; if ($fp) { $useragent = "<unknown user agent>"; if (isset($_SERVER["HTTP_USER_AGENT"])) $useragent = $_SERVER["HTTP_USER_AGENT"]; fputs($fp, $_SERVER["REMOTE_ADDR"]." ".date("d/m/Y H:i"." ".$useragent."n"; fclose($fp); $yourdomain = $_SERVER['HTTP_HOST']; //the @ symbol before @mail means 'supress errors' so you wont see errors on the page if email fails. if($_SESSION['reportedflood'] < 1 && ($newtime < $time + $iptime + $iptime*$ipmaxvisit)) @mail('flood_alert@'.$yourdomain, 'site flooded by '.$cookie.' ' .$_SERVER['REMOTE_ADDR'],'http://'.$yourdomain.' rapid website access flood occured and ban for IP '.$_SERVER['REMOTE_ADDR'].' at http://'.$yourdomain.$_SERVER['REQUEST_URI'].' from '.$oldref.' agent '.$_SERVER['HTTP_USER_AGENT'].' ' .$cookie.' '.$othercookie, "From: ".$yourdomain."n"; $_SESSION['reportedflood'] = 1; } exit(); } else $_SESSION['reportedflood'] = 0; //echo("loaded ".$cookie.$iplogdir.$iplogfile.$ipfile.$newtime); touch($iplogdir.$ipfile, $newtime); //this just updates the IP file access date or creates a new file if it doesn't exist in /iplog ?>

0
4
C
Como Sacar La IP De Una Pagina Web
Ciencia EducacionporAnónimo1/31/2012

1º. Para El WINDOWS XP : Vamos A Inicio Y Le Damos Click A Ejecutar Y Ponemos CMD Para WINDOWS SEVEN: Vamos A Inicio Y En El Lugar Donde Queda Para Escribir Le Ponemos CMD 2º. Una Vez Abierto El CMD Ponemos Esto: "ping linkdelapagina" Por Ej: Ping starterhotel.sytes.net 3º. Le Damos Enter Y Sale La IP Por Ej: La IP De Starterhotel Es 91.121.71.84

10
2
M
Murio La Actriz Mabel Manzotti
InfoporAnónimo2/1/2012

La actriz Mabel Manzotti falleció el 25/01/2012 luego de luchar desde el mes de febrero con un ACV que le dejó una importarte parálisis en sus cuerpo. Mebel tenía 72 años y una gran carrera detrás, de la mano de Alberto Olmedo y Jorge Porcel, donde trabajó en la comedia El botón como "Bochita". Sus comienzos como actriz fueron gracias al cine y al teatro, aunque fue la televisión la que le abrió las puertas a la fama. Su último papel en la pantalla chica fue gracias a la serie Vidas robadas, donde interpretó a la mamá del actor Carlos Portaluppi. Luego su salud se deterioró y ya en el mes de febrero sufrió un ACV que le dejó paralizado parte de su cuerpo. La actriz llevaba a cabo una rehabilitación en un centro de la Ciudad de Buenos Aires hasta que se conoció la noticia de su fallecimiento en el Sanatorio de la Providencia.

0
0
PosteameloArchivo Histórico de Taringa! (2004-2017). Preservando la inteligencia colectiva de la internet hispanohablante.

CONTACTO

18 de Septiembre 455, Casilla 52

Chillán, Región de Ñuble, Chile

Solo correo postal

© 2026 Posteamelo.com. No afiliado con Taringa! ni sus sucesores.

Contenido preservado con fines históricos y culturales.