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


Viewing file:     rs-030516.py (1.32 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
import cStringIO
from Ft.Xml.Domlette import Print, PrettyPrint, NonvalidatingReader


SRC1 = """\
<S:foo xmlns:S="http://example.com/1">
  <bar>test</bar>
  <bar xmlns="http://example.com/2">test2</bar>
  <S:bar xmlns:S="http://example.com/2">test2</S:bar>
</S:foo>
"""

EXPECTED1_PRINTED = """\
<?xml version="1.0" encoding="UTF-8"?>
<S:foo xmlns:S="http://example.com/1">
  <bar>test</bar>
  <bar xmlns="http://example.com/2">test2</bar>
  <S:bar xmlns:S="http://example.com/2">test2</S:bar>
</S:foo>"""

EXPECTED1_PRETTY = """\
<?xml version="1.0" encoding="UTF-8"?>
<S:foo xmlns:S="http://example.com/1">
  <bar>test</bar>
  <bar xmlns="http://example.com/2">test2</bar>
  <S:bar xmlns:S="http://example.com/2">test2</S:bar>
</S:foo>
"""


def Test(tester):
    tester.startGroup('Rich Salz reports default namespace munging')
    doc = NonvalidatingReader.parseString(SRC1, __name__)
    tester.startTest('Ft.Xml.Domlette.Print')
    stream = cStringIO.StringIO()
    Print(doc, stream=stream)
    result = stream.getvalue()
    tester.compare(EXPECTED1_PRINTED, result)
    tester.testDone()
    tester.startTest('Ft.Xml.Domlette.PrettyPrint')
    stream = cStringIO.StringIO()
    PrettyPrint(doc, stream=stream)
    result = stream.getvalue()
    tester.compare(EXPECTED1_PRETTY, result)
    tester.testDone()
    tester.groupDone()
    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.003 ]--