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:23.22 GB of 70.42 GB (32.98%)
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/ imap/ - drwxrwxrwx

Directory:
Viewing file:     pop3dcapa.c (1.55 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
** Copyright 1998 - 2008 Double Precision, Inc.
** See COPYING for distribution information.
*/

#if    HAVE_CONFIG_H
#undef    PACKAGE
#undef    VERSION
#include    "config.h"
#endif
#include    <stdio.h>
#include    <string.h>
#include    <stdlib.h>
#include    <signal.h>
#include    <ctype.h>
#include    <fcntl.h>
#if    HAVE_UNISTD_H
#include    <unistd.h>
#endif


extern const char *externalauth();

int have_starttls()
{
    const char *p;

        if ((p=getenv("POP3_STARTTLS")) == 0)   return (0);
        if (*p != 'y' && *p != 'Y')             return (0);

        p=getenv("COURIERTLS");
        if (!p || !*p)  return (0);
        if (access(p, X_OK))    return (0);
        return (1);
}


int tls_required()
{
    const char *p=getenv("POP3_TLS_REQUIRED");

        if (p && atoi(p))       return (1);
        return (0);
}

const char *pop3_externalauth()
{
    const char *external=NULL;
    const char *p;

    if ((p=getenv("POP3_TLS")) != 0 && atoi(p))
        external=externalauth();

    return external;
}

void pop3dcapa()
{
    const char *p;
    const char *external=pop3_externalauth();

    printf("+OK Here's what I can do:\r\n");

    if ((p=getenv("POP3_TLS")) != 0 && atoi(p) &&
        (p=getenv("POP3AUTH_TLS")) != 0 && *p)
        ;
    else
        p=getenv("POP3AUTH");

    if ((p && *p) || external)
    {
        if (!p)
            p="";

        if (!external)
            external="";

        printf("SASL %s%s%s\r\n", p, *p && *external ? " ":"",
               *external ? "EXTERNAL":"");
    }
        
    if (have_starttls())
        printf("STLS\r\n");

    printf("TOP\r\nUSER\r\nLOGIN-DELAY 10\r\nPIPELINING\r\nUIDL\r\nIMPLEMENTATION Courier Mail Server\r\n.\r\n");
    fflush(stdout);
}
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.6182 seconds