!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 3.53 GB of 27.03 GB (13.05%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     sr_20021217.py (1.02 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#http://lists.fourthought.com/pipermail/4suite/2002-December/004771.html
from Ft.Xml import InputSource
from Ft.Xml.XPath import Evaluate, NormalizeNode
from Ft.Xml.XPath.Conversions import StringValue

DOC1 = """
<a>
<b>
<c/>
<d/>
</b>
</a>
"""


def Test(tester):    
    tester.startTest("descendant-or-self document order")
    isrc = InputSource.DefaultFactory.fromString(DOC1, 'sr_20021217')
    dom = tester.test_data['parse'](isrc)
    #NormalizeNode(dom)

    node_list = Evaluate('.//*', dom.documentElement)
    node_names = [ str(node.nodeName) for node in node_list ]

    tester.compare(3, len(node_names))
    #Must contain all nodes, but not necessarily in any order
    node_name_set = {}
    for n in node_names: node_name_set[n] = None
    tester.compare({'b': None, 'c': None, 'd': None}, node_name_set)

    node_list = Evaluate('(.//*)[1]', dom.documentElement)
    node_names = [ str(node.nodeName) for node in node_list ]

    tester.compare(1, len(node_names))
    tester.compare(['b'], node_names)

    tester.testDone()


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