!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 

uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC
2014 x86_64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/doc/python-nevow/examples/nestedsequence/   drwxr-xr-x
Free 129.72 GB of 142.11 GB (91.28%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     nestedsequence.py (1.21 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
from twisted.python.components import registerAdapter
from nevow import rend, loaders, tags as t, inevow, accessors

class Edge(object):
    pass

class Vertex(object):
    def __init__(self, name):
        self.name = name
        self.edges = []

v1 = Vertex('v1')
v2 = Vertex('v2')
v3 = Vertex('v3')
v1.edges = [Edge(), Edge(), Edge(), Edge()]
v2.edges = [Edge(), Edge(), Edge(), Edge()]
v3.edges = [Edge(), Edge(), Edge(), Edge()]

class Root(rend.Page):
    addSlash = True
    docFactory = loaders.stan(
        t.html[
            t.head[t.title["Nested Sequence"]],
            t.body[
                t.ul(data=t.directive("vertexes"), render=t.directive("sequence"))[
                    t.li(pattern="item")[
                        t.span(data=t.directive("name"), render=t.directive("string")),
                        t.ul(data=t.directive('edges'), render=t.directive("sequence"))[
                            t.li(pattern="item", render=t.directive("string"))
                            ]
                        ]
                    ]
                ]
            ]
        )
    
    def data_vertexes(self, ctx, data):
        return [v1, v2, v3]

registerAdapter(accessors.ObjectContainer, Vertex, inevow.IContainer)

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0083 ]--