!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/lib/python2.4/site-packages/Ft/Server/Client/Core/   drwxr-xr-x
Free 3.75 GB of 27.03 GB (13.88%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     UserClient.py (2.97 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
import XmlDocumentClient, GroupableObjectMixin
from Ft.Server.FtRpc import Commands

class UserClient(XmlDocumentClient.XmlDocumentClient,GroupableObjectMixin.GroupableObjectMixin):
    """
    A specialized Xml document which represents a sytem user
    """

    def get(self,name,defaultValue = None):
        """
        Implements python dictionary 'get' interface for the user data associated with this user
        """
        ud = self.getUserData()
        return ud.get(name,defaultValue)

    def getPassword(self):
        """
        Get the SHA1 hash of this users password
        """
        return Commands.RemoteMethodCommand(
            'getPassword', self._path,
            ()
            ).send(self._connection).results

    def getUsername(self):
        """
        Get the user name of this user.
        """
        return Commands.RemoteMethodCommand(
            'getUsername', self._path,
            ()
            ).send(self._connection).results

    def getUserData(self):
        """
        Returns a dictionary containing key value pairs of user data
        """
        return Commands.RemoteMethodCommand(
            'getUserData', self._path,
            ()
           ).send(self._connection).results

    def has_key(self,key):
        """
        Implements python dictionary 'has_key' interface
        """
        ud = self.getUserData()
        return ud.has_key(key)

    def items(self):
        """
        Implements python dictionary 'items' interface
        """
        ud = self.getUserData()
        return ud.items()

    def keys(self):
        """
        Implements python dictionary 'keys' interface
        """
        ud = self.getUserData()
        return ud.keys()


    def setPassword(self,newPasswd):
        Commands.RemoteMethodCommand(
            'setPassword', self._path,
            (newPasswd,)
            ).send(self._connection).results


    def setUserData(self,userData):
        """
        Sets the user data using the specified dictionary
        """
        Commands.RemoteMethodCommand(
            'setUserData', self._path,
            (userData,)
            ).send(self._connection).results


    def values(self):
        """
        Implements python dictionary 'values' interface
        """
        ud = self.getUserData()
        return ud.values()

    def __delitem__(self,name):
        """
        Implements python dictionary interface
        """
        ud = self.getUserData()
        del ud[name]
        self.setUserData(ud)

    def __getitem__(self,name):
        """
        Implements python dictionary interface
        """
        ud = self.getUserData()
        return ud[name]

    def __setitem__(self,name,value):
        """
        Implements python dictionary interface
        """
        ud = self.getUserData()
        ud[name] = value
        self.setUserData(ud)

    def _delete(self):

        for group in self.getGroups():
            group.removeMember(self)
        XmlDocumentImp.XmlDocumentImp._delete(self)




:: 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.0038 ]--