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

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/usr/lib/python2.4/site-packages/rhpl/   drwxr-xr-x
Free 53.79 GB of 127.8 GB (42.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     descriptors.py (2.23 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#
# descriptors.py: classes implementing pythons "descriptor" protocol,
# which are usable as python properties
#
# Peter Jones <pjones@redhat.com>
#
# Copyright 2005 Red Hat, Inc.
#
# This software may be freely redistributed under the terms of the GNU
# library public license.
#
# You should have received a copy of the GNU Library Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#

class SimpleBoolDescriptor(object):
    """A data descriptor which constrains its values to True and False."""

    def __init__(self):
        self.val = False

    def __get__(self, obj, objtype):
        return self.val

    def __set__(self, obj, val):
        if not isinstance(val, type(True)):
            raise TypeError, "value is not True of False"
        self.val = val

class BoolDescriptor(SimpleBoolDescriptor):
    """A data descriptor which constrains its values to True
       and False, and may be set immutable
    """
    immutable = SimpleBoolDescriptor()

    def __set__(self, obj, val):
        if self.immutable:
            raise RuntimeError, "attribute is immutable"
        SimpleBoolDescriptor.__set__(self, obj, val)

class TristateDescriptor(BoolDescriptor):
    """A data descriptor which constrains its values to True,
       False, and None, and which may be set immutable
    """
    immutable = SimpleBoolDescriptor()

    def __set__(self, obj, val):
        if self.immutable:
            raise RuntimeError, "attribute is immutable"
        if isinstance(val, type(None)):
            self.val = None
            return
        BoolDescriptor.__set__(self, obj, val)

class NonNegativeIntegerDescriptor(object):
    """A data descriptor which constrains its values to non-negative integers
    """

    immutable = SimpleBoolDescriptor()

    def __set__(self, obj, val):
        if self.immutable:
            raise RuntimeError, "attribute is immutable"
        if not isinstance(val, type(int(1))) and \
                not isinstance(val, type(long(1))):
            raise TypeError, type(val)
        if val < 0:
            raise ValueError, "%s is less than 0" % (int(val,))
        self.val = val

    def __get__(self, obj, objtype):
        return self.val

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.01 ]--