<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="author" content="" /> <title>Extractor de mails.</title><style>body { background-color:#CCC; color: #000; }input { -moz-border-radius: 7px; background-color: #FFF; border: 1px solid #CCC; color: #000; font-size: 25px; margin: 3px; padding: 3px; } textarea{ background-color: #FFF; border: 1px solid #CCC; color: #000; }</style></head><body><?php /** * * * @author Daniel Godoy * @copyright 2011 * @Site www.0x3a.com.ar www.remoteexecution.com.ar www.delincuentedital.com.ar * @Source: Dedicado a mi amigo Inyexion. * * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * * **/set_time_limit(0);$fuente = $_POST['fuente'];if($_POST['separador']==="salto"){$separador="\n";}if($_POST['separador']==="coma"){$separador=",";}if($_POST['separador']==="pcoma"){$separador=";";}if(isset($fuente)&&($fuente!= "")){$resultado = preg_match_all("/[a-z0-9]+([_\\.-][a-z0-9]+)*@([a-z0-9]+([\.-][a-z0-9]+)*)+\\.[a-z]{2,}/i",$fuente,$encontrados);}?><center><img src="http://www.imagengratis.org/images/inyeccion.png"/><form action="" method="POST"><table><tr> <td align="left"> Separador: <select name="separador" > <option value="salto">Salto de linea</option> <option value="coma">Coma</option> <option value="pcoma">Punto y Coma</option> </select> </td></tr><tr> <td align="center"> <textarea cols="100" rows="15" name="fuente" > <?php $fuente =htmlentities($fuente); echo trim($fuente); ?> </textarea> <br/><br/> <input type="submit" value="Extraer Mails!"/> <hr/> </td></tr><tr> <td> <textarea cols="100" rows="15" name="resultado" ><?php if($encontrados[0]){foreach(array_unique($encontrados[0]) as $email) {echo $email.$separador;}} ?> </textarea> </td></tr></table></form></center></body></html>