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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

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

Safe-mode: OFF (not secure)

/var/www/html/node-red/node_modules/catharsis/bin/   drwxr-xr-x
Free 13.21 GB of 57.97 GB (22.79%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     parse.js (1.36 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/env node

// Command-line tool that parses a type expression and dumps a JSON version of the parse tree.
const catharsis = require('../catharsis');
const path = require('path');
const util = require('util');

const command = path.basename(process.argv[1]);
const typeExpression = process.argv[2];
const opts = {
    describe: false,
    jsdoc: false
};
let parsedType;

function usage() {
    console.log(util.format('Usage:\n    %s typeExpression [--jsdoc] [--describe]', command));
}

function done(err) {
    /* eslint-disable no-process-exit */
    process.exit(err === undefined ? 0 : err);
    /* eslint-enable no-process-exit */
}

process.argv.slice(3).forEach(arg => {
    const parsedArg = arg.replace(/^-{2}/, '');

    if (opts[parsedArg] !== undefined) {
        opts[parsedArg] = true;
    } else {
        console.error('Unknown option "%s"', arg);
        usage();
        done(1);
    }
});

if (!typeExpression) {
    usage();
    done(1);
} else {
    try {
        parsedType = catharsis.parse(typeExpression, opts);
        if (opts.describe) {
            parsedType = catharsis.describe(parsedType);
        }
    } catch (e) {
        console.error(util.format('Unable to parse "%s" (exception follows):', typeExpression));
        console.error(e.stack || e.message);
        done(1);
    }

    console.log(JSON.stringify(parsedType, null, 2));
    done();
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

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