!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/include/linux/lockd/   drwxr-xr-x
Free 3.77 GB of 27.03 GB (13.94%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     xdr.h (2.79 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
* linux/include/linux/lockd/xdr.h
*
* XDR types for the NLM protocol
*
* Copyright (C) 1996 Olaf Kirch <okir@monad.swb.de>
*/

#ifndef LOCKD_XDR_H
#define LOCKD_XDR_H

#include <linux/fs.h>
#include <linux/nfs.h>
#include <linux/sunrpc/xdr.h>

#define NLM_MAXSTRLEN        1024

#define QUADLEN(len)        (((len) + 3) >> 2)

#define    nlm_granted        __constant_htonl(NLM_LCK_GRANTED)
#define    nlm_lck_denied        __constant_htonl(NLM_LCK_DENIED)
#define    nlm_lck_denied_nolocks    __constant_htonl(NLM_LCK_DENIED_NOLOCKS)
#define    nlm_lck_blocked        __constant_htonl(NLM_LCK_BLOCKED)
#define    nlm_lck_denied_grace_period    __constant_htonl(NLM_LCK_DENIED_GRACE_PERIOD)

/* Lock info passed via NLM */
struct nlm_lock {
    char *            caller;
    int            len;     /* length of "caller" */
    struct nfs_fh        fh;
    struct xdr_netobj    oh;
    struct file_lock    fl;
};

/*
*    NLM cookies. Technically they can be 1K, Nobody uses over 8 bytes
*    however.
*/

struct nlm_cookie
{
    unsigned char data[8];
    unsigned int len;
};

/*
* Generic lockd arguments for all but sm_notify
*/
struct nlm_args {
    struct nlm_cookie    cookie;
    struct nlm_lock        lock;
    u32            block;
    u32            reclaim;
    u32            state;
    u32            monitor;
    u32            fsm_access;
    u32            fsm_mode;
};

typedef struct nlm_args nlm_args;

/*
* Generic lockd result
*/
struct nlm_res {
    struct nlm_cookie    cookie;
    u32            status;
    struct nlm_lock        lock;
};

/*
* statd callback when client has rebooted
*/
struct nlm_reboot {
    char *        mon;
    int        len;
    u32        state;
    u32        addr;
};

/*
* Contents of statd callback when monitored host rebooted
*/
#define NLMSVC_XDRSIZE        sizeof(struct nlm_args)

void    nlmxdr_init(void);
int    nlmsvc_decode_testargs(struct svc_rqst *, u32 *, struct nlm_args *);
int    nlmsvc_encode_testres(struct svc_rqst *, u32 *, struct nlm_res *);
int    nlmsvc_decode_lockargs(struct svc_rqst *, u32 *, struct nlm_args *);
int    nlmsvc_decode_cancargs(struct svc_rqst *, u32 *, struct nlm_args *);
int    nlmsvc_decode_unlockargs(struct svc_rqst *, u32 *, struct nlm_args *);
int    nlmsvc_encode_res(struct svc_rqst *, u32 *, struct nlm_res *);
int    nlmsvc_decode_res(struct svc_rqst *, u32 *, struct nlm_res *);
int    nlmsvc_encode_void(struct svc_rqst *, u32 *, void *);
int    nlmsvc_decode_void(struct svc_rqst *, u32 *, void *);
int    nlmsvc_decode_shareargs(struct svc_rqst *, u32 *, struct nlm_args *);
int    nlmsvc_encode_shareres(struct svc_rqst *, u32 *, struct nlm_res *);
int    nlmsvc_decode_notify(struct svc_rqst *, u32 *, struct nlm_args *);
int    nlmsvc_decode_reboot(struct svc_rqst *, u32 *, struct nlm_reboot *);
/*
int    nlmclt_encode_testargs(struct rpc_rqst *, u32 *, struct nlm_args *);
int    nlmclt_encode_lockargs(struct rpc_rqst *, u32 *, struct nlm_args *);
int    nlmclt_encode_cancargs(struct rpc_rqst *, u32 *, struct nlm_args *);
int    nlmclt_encode_unlockargs(struct rpc_rqst *, u32 *, struct nlm_args *);
*/

#endif /* LOCKD_XDR_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.003 ]--