!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/pyshared/axiom/test/historic/   drwxr-xr-x
Free 129.6 GB of 142.11 GB (91.2%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     stub_subStoreStartupService1to2.py (1.46 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
# -*- test-case-name: axiom.test.historic.test_subStoreStartupService1to2 -*-

from zope.interface import implements
from twisted.application.service import IService

from axiom.item import Item
from axiom.attributes import boolean
from axiom.substore import SubStore, SubStoreStartupService

from axiom.test.historic.stubloader import saveStub

class DummyService(Item):
    """
    Service which does nothing but mark itself as run, if it's ever run.  After
    the upgrader it should not be run.
    """
    typeName = 'substore_service_upgrade_stub_service'
    everStarted = boolean(default=False)
    implements(IService)

    name = property(lambda : "sucky-service")
    running = property(lambda : False)

    def setName(self, name):
        pass
    def setServiceParent(self, parent):
        pass
    def disownServiceParent(self):
        pass
    def startService(self):
        self.everStarted = True
    def stopService(self):
        pass
    def privilegedStartService(self):
        pass


def createDatabase(s):
    """
    Create a store which contains a substore-service-starter item powered up
    for IService, and a substore, which contains a service that should not be
    started after the upgrader runs.
    """
    ssi = SubStore.createNew(s, ["sub", "test"])
    ss = ssi.open()
    ds = DummyService(store=ss)
    ss.powerUp(ds, IService)
    ssss = SubStoreStartupService(store=s).installOn(s)

if __name__ == '__main__':
    saveStub(createDatabase, 7615)

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