!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

E:\copia nuevo\htdocs\boletinlegal\admin\carpetas\assets\php\   drwxrwxrwx
Free 1.08 GB of 239.26 GB (0.45%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     email.class.php (3.68 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
//www.resellscripts.info
define('IS_AJAX', isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest');
class 
Email extends Protector {

    public function 
init(){

          if(
$this->finish()){
                
$mail $this->phpmailer();
                
$mail = new PHPMailer(true);
                
$mail->IsHTML(true);

                 try{
                
$mail->Body $this->body();
                
$mail->Subject $this->subject();
                
$mail->From $this->from('email');
                
$mail->FromName $this->from('name');
                
$mail->AddReplyTo($this->from('email'));

                
/** SMTP OPTIONS **/

                
if($this->Config->smtp['use'] != 'no'){
                    
$mail->IsSMTP();
                    
$mail->Host $this->Config->smtp['host'];
                    
$mail->Port $this->Config->smtp['port'];
                    
$mail->SMTPSecure $this->Config->smtp['secure'];
                    if(
$this->Config->smtp['auth'] != 'no'){
                        
$mail->SMTPAuth true;
                        
$mail->Username $this->Config->smtp['username'];
                        
$mail->Password $this->Config->smtp['password'];
                    }
                }
                
// Adds Addresses

                    
foreach($this->Config->Address as $Address){
                        if(!empty(
$Address))
                            
$mail->AddAddress($Address);
                    }

                
// Adds cc
                    
foreach($this->Config->Cc as $Address){
                        if(!empty(
$Address))
                            
$mail->AddCC($Address);
                    }


                
$mail->CharSet $this->Config->charset;
                
$email $mail->Send();
                if(
$email){
                   if(
IS_AJAX)
                    echo 
json_encode(true);
                   else
                    echo 
$this->msg['success'];
                }
            }catch(
Exception $e){
                   if(
IS_AJAX)
                    echo 
json_encode(false);
                   else
                    echo 
$this->msg['error'];
            }

         }

    }
    public function 
__constructor($post){
        
parent::__construct($post);
    }
    private function 
phpmailer(){
        include_once 
'phpmailer' DS 'class.phpmailer.php';
        return new 
PHPMailer();
    }

    public function 
body(){
        
$body "<h3 style=\"color:#0066CC;border-bottom:1px solid #0066CC;\">Details</h3>\n";
        foreach(
$this->data as $key => $val){
          if(
$this->fields[$key]['func'] != 'sec1'){
              if(
$this->fields[$key]['func'] != 'sec2'){
                    
$field $this->fields[$key]['name'];
                    
$body .= "        <strong>{$field}: </strong>{$val}<br />";
              }
        }
    }
       return 
$body;

}

    public function 
subject(){
        foreach(
$this->fields as $key => $val){
            if(isset(
$this->fields[$key]['is']) && $this->fields[$key]['is'] == 'subject')
                return 
$this->data[$key];
        }
    }

    public function 
from($a){
        foreach(
$this->fields as $key => $val){
         if(
$a == 'email'){
            if(isset(
$this->fields[$key]['is']) && $this->fields[$key]['is'] == 'email')
                return 
$this->data[$key];
         }else{
            if(isset(
$this->fields[$key]['is']) && $this->fields[$key]['is'] == 'name')
                return 
$this->data[$key];
         }
        }
    }

    
// Se enviar com sucesso entao grava uma sessao e checa, para o caso do cara nao ficar dando F5
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]--