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:22.47 GB of 70.42 GB (31.91%)
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/ maildrop-2.2.0/ maildrop/ - drwxr-xr-x

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

static const char buffer_h_rcsid[]="$Id: buffer.h,v 1.2 1998/06/21 17:49:09 mrsam Exp $";

#include    <string.h>

///////////////////////////////////////////////////////////////////////////
//
// Generic text/data buffer.  Not null-terminated by default.
//
// This class is used to store arbitrary text strings.  It is used by
// the lexical scanner to build up text that's recognized as a token,
// and the rest of the code to store strings.
//
///////////////////////////////////////////////////////////////////////////

class Buffer {

    unsigned char *buf;
    int    bufsize;
    int    buflength;
public:
    Buffer() : buf(0), bufsize(0), buflength(0)    {}
    ~Buffer()    { if (buf)    delete[] buf; }
    const unsigned char *Ptr() const { return (buf); }
    operator const unsigned char *() const { return (buf); }
    operator const char *() const { return ((const char *)buf); }
    int    Int(const char * =0) const;
    int    Length() const { return (buflength); }
    void    Length(int l) { if (l < buflength) buflength=l; }

    Buffer(const Buffer &);        // UNDEFINED
    Buffer &operator=(const Buffer &);

    void    push(int c) { if (buflength < bufsize)
                {
                    buf[buflength]=c;
                    ++buflength;
                }
                else    append(c); }
    int    pop() { return (buflength ? buf[--buflength]:0); }
    int    peek() { return (buflength ? buf[buflength-1]:0); }
    void    reset() { buflength=0; }

private:
    void    append(int);
public:
    void    append(const void *, int);
    void    set(const char *);
    void    append(const char *p) { append(p, strlen(p)); }
    void    set(unsigned long n) { buflength=0; append(n); }
    void    append(unsigned long n);
    void    append(double);
    Buffer    &operator=(const char *p) { set(p); return (*this); }
    Buffer    &operator += (const Buffer &p) { append(p.buf, p.buflength); return (*this); }
    Buffer    &operator += (const char *p) { append(p, strlen(p)); return (*this); }
    Buffer    &operator += (char c) { push(c); return (*this); }
    int    operator-(const Buffer &) const;
    int    operator-(const char *) const;
    int    operator==(const Buffer &b) const
        { return ( operator-(b) == 0); }
    int    operator==(const char *b) const
        { return ( operator-(b) == 0); }
} ;

#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.4746 seconds