!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/bin/X11/./../../lib/evolution-openldap/../python2.4/../python2.4/site-packages/Ft/Xml/XPath/   drwxr-xr-x
Free 4.77 GB of 27.03 GB (17.65%)
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 (3.95 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
########################################################################
# $Header: /var/local/cvsroot/4Suite/Ft/Xml/XPath/__init__.py,v 1.29 2005/04/03 04:14:15 jkloth Exp $
"""
4XPath initialization and principal functions

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

# From DOM Level 3 XPath
XPATH_NAMESPACE_NODE = NAMESPACE_NODE = 13

FT_EXT_NAMESPACE = 'http://xmlns.4suite.org/ext'

__all__ = [# global constants:
           'XPATH_NAMESPACE_NODE', 'NAMESPACE_NODE', 'FT_EXT_NAMESPACE',
           # exception classes:
           'XPathException', 'CompiletimeException', 'RuntimeException',
           # XPath expression parser:
           'g_parser', 'parser',
           # XPath context API:
           'Context', #the module; is this necessary to expose?
           # XPath expression processing:
           'Compile', 'Evaluate', 'SimpleEvaluate',
           # DOM preparation for XPath processing:
           'NormalizeNode',
           ]


# -- XPath exceptions --------------------------------------------------------

from Ft import FtException

class XPathException(FtException):
    """
    Base class for exceptions specific to XPath processing
    """
    def __init__(self, errorCode, messages, args):
        FtException.__init__(self, errorCode, messages, args)


class CompiletimeException(XPathException):
    """
    The exception raised when an error is encountered during the
    parsing or compilation of an XPath expression.
    """
    #errorCodes:
    # internal/unexpected errors
    INTERNAL = 1
    # other expression compile-time errors
    SYNTAX = 2

    def __init__(self, errorCode, *args):
        # import here to avoid circularity
        import MessageSource
        XPathException.__init__(self, errorCode,
                                MessageSource.ERROR_COMPILETIME, args)
        return


class RuntimeException(XPathException):
    """
    The exception raised when an error is encountered during the
    parsing or evaluation of an XPath expression.
    """
    #errorCodes:
    # internal/unexpected errors
    INTERNAL = 1
    # other expression evaluation (run-time) errors
    NO_CONTEXT         = 10
    UNDEFINED_VARIABLE = 100
    UNDEFINED_PREFIX   = 101
    UNDEFINED_FUNCTION = 102
    WRONG_ARGUMENTS    = 200
    ARGCOUNT_NONE      = 201
    ARGCOUNT_ATLEAST   = 202
    ARGCOUNT_EXACT     = 203
    ARGCOUNT_ATMOST    = 204

    def __init__(self, errorCode, *args):
        # import here to avoid circularity
        import MessageSource
        XPathException.__init__(self, errorCode,
                                MessageSource.ERROR_RUNTIME, args)
        return


# -- Additional setup --------------------------------------------------------

# This occurs near the end because we want to avoid circular import
# problems when the parser imports the expression token classes.
import XPathParserc as XPathParser
parser = XPathParser

# 2004-09-07 - uogbuji:
#   Name module global properly. Leave "parser" alone for now for
#   backwards-compat. Name "parser" is deprecated.
# 2004-10-15 - jkloth:
#   "parser" is not really a global variable, it is a module alias.  The
#   aliasing appears here instead of in XPathParser.py as that file takes a
#   long time to import and allows the ability of testing both versions by
#   importing each separately.
#   The name was chosen as lowercase to aid in merging with the PyXML codebase.
#   However, the XPath codebase has diverged greatly (Domlette/minidom
#   differences) so a new name is acceptible/appropriate, keeping in mind that
#   this name refers to a module.  I suggest simply "Parser".
g_parser = parser


# -- Core XPath API ----------------------------------------------------------

import Context

from Util import Evaluate, SimpleEvaluate, Compile

#Allow access to the NormalizeNode function
from Util import NormalizeNode

Util.XPathParser = g_parser
Util.Context = Context

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