Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Email Filter x shutdown57</title>
- <meta name="author" content="shutdown57">
- </head>
- <body>
- <style type="text/css">
- body{background: #000;color:#df5;}textarea,input{color:#df5;border: 1px solid #fff;background: transparent;}input[type='text']{width:500px;}input[type='submit']{padding: 3px;margin:10px;width: 100px;}a{color: #fff;text-decoration: none;}a:hover{border-bottom:1px solid #df5;}
- </style>
- <center>
- <h1>Email Filter</h1>
- <?php
- if(!file_exists("mailfilter_output/coded.shutdown57"))
- {
- $status_dir="<font color=red>NOT READY</font>";
- @mkdir("mailfilter_output");
- @touch("mailfilter_output/coded.shutdown57");
- @file_put_contents("mailfilter_output/coded.shutdown57","mail filter code by shutdown57");
- sleep(3);
- echo "<meta http-equiv='refresh' content='2;url=?buat_directory_'>";
- }else{
- $status_dir="<font color=lime>READY</font>";
- }
- echo "<b> Status : ".$status_dir."</b><br>";
- echo "<small> NB : Jika reload terus, atau status NOT READY pastikan directory <b><i>mailfilter_output</i></b> sudah di buat, dan di dalamnya harus ada file <i>coded.shutdown57</i></small><hr>";
- function simpenkontl($tt,$oo)
- {
- $fp=fopen("mailfilter_output/".$tt, 'a');
- fwrite($fp,$oo."\n");
- fclose($fp);
- }
- if(isset($_POST['mph']))
- {
- $lele=array();
- $lmail=explode("|",$_POST['lmail']); $c=count($lmail);
- $list=explode("\r\n",$_POST['list']);
- for($i=0;$i<=$c-1;$i++)
- {$regex=$lmail[$i];
- foreach($list as $mail)
- {
- if(preg_match("/([aA-zZ]*.)(\@".$regex.")\.([aA-zZ]+)/",$mail,$lo)){
- simpenkontl($regex.".txt",$mail);
- }
- }
- echo "<p style='text-align:left'>[ <a href='mailfilter_output/$regex.txt' target='_blank'>$regex.txt !</a> ] '3')/</p>";
- }
- echo "[ <a href='?'>back</a> ]";
- }else{
- ?>
- <form method="POST">
- <textarea style="width:500px;height:300px;" placeholder="listmu" name="list"></textarea><br>
- <input type="text" name="lmail" autocomplete="off" value="yahoo|gmail|hotmail|aol|msn|outlook|gmx|orange|web|mail|*" placeholder="email yang mau di filter"><br>
- <input type="submit" name="mph" value="Filter now!" >
- </form>
- <?php } ?>
- </center>
- </body>
- </html>
Add Comment
Please, Sign In to add comment