!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/4Suite/tests/Xml/XPath/Borrowed/   drwxr-xr-x
Free 8.31 GB of 27.03 GB (30.76%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     cz_20030217.py (1.29 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
# http://mail.python.org/pipermail/xml-sig/2003-February/009070.html
# SF#695819

def Test(tester):

    from Ft.Xml import InputSource
    from Ft.Xml import XPath
    
    SRC = """<?xml version='1.0'?>
<alpha>
  <beta no="a">
    <gamma>
      <delta>1</delta>
    </gamma>
    <delta mark="foo">2</delta>
    <gamma mark="bar">
      <delta>3</delta>
    </gamma>
  </beta>
  <beta no="b">
    <delta>4</delta>
    <gamma>
      <delta>5</delta>
    </gamma>
  </beta>
</alpha>"""

    isrc = InputSource.DefaultFactory.fromString(SRC, __file__)
    doc = tester.test_data['parse'](isrc)

    expr = '/alpha/beta[attribute::no = "a"]'
    tester.startTest(expr)
    nodeset = XPath.Evaluate(expr, contextNode=doc)
    tester.compare(1, len(nodeset))
    tester.testDone()

    expr = '/alpha/beta[attribute::no = 1]'
    tester.startTest(expr)
    nodeset = XPath.Evaluate(expr, contextNode=doc)
    tester.compare(0, len(nodeset))
    tester.testDone()

    expr = '/alpha/beta[@no = "a"]'
    tester.startTest(expr)
    nodeset = XPath.Evaluate(expr, contextNode=doc)
    tester.compare(1, len(nodeset))
    tester.testDone()

    expr = '/alpha/beta[@no = 1]'
    tester.startTest(expr)
    nodeset = XPath.Evaluate(expr, contextNode=doc)
    tester.compare(0, len(nodeset))
    tester.testDone()

    return

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