404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.139.90.0: ~ $
from twisted.internet.defer import succeed


current_instance = None


class TestPlugin(object):

    def __init__(self):
        self.sysinfo = None
        self.has_run = False

        global current_instance
        current_instance = self

    def register(self, sysinfo):
        self.sysinfo = sysinfo

    def run(self):
        self.has_run = True
        self.sysinfo.add_header("Test header", "Test value")
        self.sysinfo.add_note("Test note")
        self.sysinfo.add_footnote("Test footnote")
        return succeed(None)

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
__init__.py File 0 B 0644
deployment.py File 4.86 KB 0644
disk.py File 2.52 KB 0644
landscapelink.py File 336 B 0644
load.py File 264 B 0644
loggedinusers.py File 497 B 0644
memory.py File 606 B 0644
network.py File 1.14 KB 0644
processes.py File 896 B 0644
sysinfo.py File 9.72 KB 0644
temperature.py File 806 B 0644
testplugin.py File 541 B 0644