!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/Server/SCore/   drwxr-xr-x
Free 3.59 GB of 27.03 GB (13.28%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     __init__.py (2.13 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
########################################################################
# $Header: /var/local/cvsroot/4Suite/Ft/Server/Server/SCore/__init__.py,v 1.14 2004/02/01 03:10:50 jkloth Exp $
"""
Core repository access functions

Copyright 2003 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
"""

import os

from Ft.Server.Server import FtServerServerException, Error
from Ft.Server.Server.Lib import LogUtil


def GetRepository(userName, passwd, logger, properties, verify=0):
    from Ft.Server.Server import Drivers
    driver = Drivers.Begin(logger, properties)
    driver.login(userName, passwd, verify)
    return _GetRepository('/', driver, logger, None)


def RetrieveSession(sessionId, key, logger, properties):
    from Ft.Server.Server import Drivers
    driver = Drivers.Begin(logger, properties)
    driver.retrieveSession(sessionId, key)
    return _GetRepository('/', driver, logger, sessionId)


def _GetRepository(documentRoot, driver, logger, sessionId):
    # A repository is any container in the system that is
    # acting like the doc root. (it may in fact be /).
    from Ft.Server.Server.Drivers import PathImp
    from Ft.Server.Common import ResourceTypes

    # Normalize the path in case someone gets fancy
    documentRoot = PathImp.CreateInitialPath(documentRoot, driver)

    if not driver.hasResource(documentRoot):
        logger.warning("Attempted to access unknown document root: %s" % documentRoot.absolutePath)
        raise FtServerServerException(Error.UNKNOWN_PATH,
                                      path=documentRoot.absolutePath)
    if driver.getType(documentRoot) != ResourceTypes.ResourceType.CONTAINER:
        logger.warning("Attempted to access invalid document root: %s" % documentRoot.absolutePath)
        raise FtServerServerException(Error.INVALID_PATH,
                                      path=documentRoot.absolutePath,
                                      type='Container')

    # Create the repository
    import RepositoryImp
    repo = RepositoryImp.RepositoryImp(documentRoot, driver, sessionId)
    return repo

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