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


Viewing file:     XHtmlPrinter.py (1.6 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
import string
import Printer
from xml.dom import XHTML_NAMESPACE

# Wrapper classes to convert nodes from HTML to XHTML

class XHtmlDocType:
    def __init__(self, doctype):
        self.name = 'html'
        self.publicId = "-//W3C//DTD XHTML 1.0 Strict//EN"
        self.systemId = "DTD/xhtml1-strict.dtd"
        self.entities = doctype and doctype.entities or []
        self.notations = doctype and doctype.notation or []
        return

class XHtmlAttr:
    def __init__(self, node):
        self.namespaceURI = XHTML_NAMESPACE
        self.name = string.lower(node.name)
        self.node = node
        return

    def __getattr__(self, key):
        return getattr(self.node, key)

class XHtmlElement:
    def __init__(self, node):
        self.tagName = string.lower(node.tagName)
        self.node = node
        return

    def __getattr__(self, key):
        return getattr(self.node, key)

class XHtmlPrintVisitor(Printer.PrintVisitor):
    def __init__(self, stream, encoding, indent):
        xhtml = {None: 'http://www.w3.org/1999/xhtml'}
        Printer.PrintVisitor.__init__(self, stream, encoding, indent, nsHints=xhtml)
        self._html = 0
        return

    def visitDocument(self,node):
        self.visitProlog()
        self._tryIndent()
        self.visitDocumentType(XHtmlDocType(node.doctype))
        self.visitNodeList(node.childNodes, exclude=node.doctype)
        return

    def visitAttr(self, node):
        Printer.PrintVisitor.visitAttr(self, XHtmlAttr(node))
        return

    def visitElement(self, node):
        Printer.PrintVisitor.visitElement(self, XHtmlElement(node))
        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.0043 ]--