!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/usr/lib/python2.4/site-packages/_xmlplus/dom/ext/   drwxr-xr-x
Free 50.73 GB of 127.8 GB (39.69%)
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:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0133 ]--