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.68 GB of 70.42 GB (36.46%)
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/ pcp/ - drwxrwxrwx

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


/*
*/

#include    "config.h"

#if    HAVE_SYS_STAT_H
#include    <sys/stat.h>
#endif
#if HAVE_SYS_WAIT_H
#include    <sys/wait.h>
#endif

#if    HAVE_UNISTD_H
#include    <unistd.h>
#endif

#include    <stdio.h>
#include    <stdlib.h>
#include    <ctype.h>
#include    <pwd.h>
#if    HAVE_UNISTD_H
#include    <unistd.h>
#endif
#include    <string.h>
#include    <errno.h>
#include    <sysconfdir.h>
#include    "calendardir.h"

char *auth_myhostname()
{
char    buf[1024];
static char *my_hostname=0;
FILE    *f;

    if (my_hostname == 0)
    {
        buf[0]=0;

        f=fopen(HOSTNAMEFILE, "r");

        if (!f)
            f=fopen(HOSTNAMEFILE2, "r");

        if (f != 0)
        {
        char *p;

            if (fgets(buf, sizeof(buf), f) == NULL)
                buf[0]=0;
            fclose(f);

            if ((p=strchr(buf, '\n')) != 0)
                *p=0;
        }

        if (buf[0] == 0 && gethostname(buf, sizeof(buf)-1))
            strcpy(buf, "localhost");

        if ((my_hostname=malloc(strlen(buf)+1)) == 0)
        {
            fprintf(stderr, "NOTICE: malloc: out of memory.\n");
            return strdup("localhost");
        }

        strcpy(my_hostname, buf);
    }
    return (my_hostname);
}
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.2916 seconds