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.76 GB of 70.42 GB (33.74%)
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/ numlib/ - drwxrwxrwx

Directory:
Viewing file:     numlib.h (2.35 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#ifndef    numlib_h
#define    numlib_h

/*
** Copyright 1998 - 2010 Double Precision, Inc.
** See COPYING for distribution information.
*/

#ifdef    __cplusplus
extern "C" {
#endif


#if    HAVE_CONFIG_H
#include    "../numlib/config.h" /* VPATH build */
#endif

#if    HAVE_STDINT_H
#include    <stdint.h>
#endif

#include    <sys/types.h>
#include    <time.h>

#define    NUMBUFSIZE    60

/* Convert various system types to decimal */

char    *libmail_str_time_t(time_t, char *);
char    *libmail_str_off_t(off_t, char *);
char    *libmail_str_int64_t(int64_t, char *);
char    *libmail_str_pid_t(pid_t, char *);
char    *libmail_str_dev_t(dev_t, char *);
char    *libmail_str_ino_t(ino_t, char *);
char    *libmail_str_uid_t(uid_t, char *);
char    *libmail_str_gid_t(gid_t, char *);
char    *libmail_str_size_t(size_t, char *);

char    *libmail_str_sizekb(unsigned long, char *);    /* X Kb or X Mb */

/* Convert selected system types to hex */

char    *libmail_strh_time_t(time_t, char *);
char    *libmail_strh_pid_t(pid_t, char *);
char    *libmail_strh_ino_t(ino_t, char *);
char    *libmail_strh_dev_t(dev_t, char *);

/* And, now let's do the reverse */

time_t libmail_strtotime_t(const char **);
time_t libmail_atotime_t(const char *);

uid_t libmail_strtouid_t(const char **);
uid_t libmail_atouid_t(const char *);

gid_t libmail_strtogid_t(const char **);
gid_t libmail_atogid_t(const char *);

    /* Common macros: */

#define LIBMAIL_STRIMPL(type, f1, f2) \
\
type f1(const char **p)\
{\
    type n=0;\
    while ( **p >= '0' && **p <= '9') n=n*10 + (char)(*(*p)++ - '0');\
    return n;\
}\
\
type f2(const char *p)\
{\
    return f1(&p);\
}


/*
** The following functions are used by root to reset its user and group id
** to the authenticated user's.  Various functions are provided to handle
** various situations.
*/

void libmail_changegroup(gid_t);    /* Set the group id only.  Also clear any
                ** auxiliary group ids */

void libmail_changeuidgid(uid_t, gid_t);
                /* Set both user id and group id.  Also clear
                ** aux group ids */

void libmail_changeusername(const char *, const gid_t *);
    /*
    ** Set the userid to the indicate user's.  If second argument is
    ** not null, it points to the groupid to set.  If it's null, the
    ** group id is taken from the passwd file.  Auxiliary IDs are set
    ** to any aux IDs set for the user in the group file.  If there are
    ** no aux group IDs for the user, any AUX ids are cleared.
    */

#ifdef    __cplusplus
}
#endif
#endif
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.2816 seconds