!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/simple-cli/   drwxr-xr-x
Free 12.93 GB of 57.97 GB (22.3%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Gruntfile.js (4.8 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
module.exports = function(grunt) {
  const skipInit = process.argv.includes('--skip-init');
  if (!skipInit) {
    grunt.loadNpmTasks('grunt-eslint');
    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-contrib-clean');
    grunt.loadNpmTasks('grunt-mocha-test');
    grunt.loadNpmTasks('grunt-travis-matrix');
    grunt.loadNpmTasks('grunt-simple-istanbul');
    grunt.loadNpmTasks('grunt-open');
  } else {
    grunt.loadTasks('test/fixtures/tasks');
  }

  const onComplete = function(err, stdout, done) {
    console.log(stdout);
    done();
  };

  const taskConfig = {
    open: {
      coverage: {
        path: 'coverage/lcov-report/index.html'
      }
    },
    clean: {
      coverage: 'coverage'
    },
    eslint: {
      lib: {
        options: {
          configFile: '.eslint.json',
          format: 'node_modules/eslint-codeframe-formatter'
        },
        src: ['lib/**/*.js']
      }
    },
    mochaTest: {
      options: {
        reporter: 'list',
        require: [ 'should', 'should-sinon' ],
        timeout: 3000
      },
      unit: {
        src: [ 'test/**/*.js', '!test/fixtures/**', '!test/integration.js' ]
      },
      integration: {
        src: ['test/integration.js']
      }
    },
    travisMatrix: {
      v10: {
        test: () => /^v11/.test(process.version),
        tasks: ['istanbul:cover']
      }
    },
    watch: {
      tests: {
        files: [ 'lib/**/*.js', 'test/**/*.js' ],
        tasks: ['mocha'],
        options: {
          atBegin: true
        }
      },
      unit: {
        files: [ 'lib/**/*.js', 'test/**/*.js', '!test/fixtures/**', '!test/integration.js' ],
        tasks: ['mochaTest:unit'],
        options: {
          atBegin: true
        }
      },
      int: {
        files: [ 'lib/**/*.js', 'test/integration.js', 'test/fixtures/**' ],
        tasks: ['mochaTest:integration'],
        options: {
          atBegin: true
        }
      }
    },
    istanbul: {
      cover: {
        options: {
          root: 'lib',
          dir: 'coverage',
          simple: {
            env: {
              FORCE_COLOR: true
            },
            args: [ 'grunt', 'mochaTest:unit' ]
          }
        }
      }
    }
  };

  const testConfig = {
    'simple-test': {
      opts: {
        options: {
          fruit: 'banana',
          animal: [ 'tiger', 'moose' ],
          multiWord: true,
          negated: false,
          b: 'quux',
          c: true,
          'author=': 'Andrew'
        },
        onComplete,
      },
      env: {
        onComplete,
        env: {
          FOO: 'BAR'
        }
      },
      cwd: {
        options: {
          cwd: true
        },
        onComplete,
        cwd: `${__dirname}/test`
      },
      force: {
        options: {
          fail: true
        },
        onComplete,
        force: true
      },
      cmd: {
        onComplete,
        cmd: 'not-cmd'
      },
      args: {
        onComplete,
        args: [ 'jingle', 'bells' ]
      },
      raw: {
        onComplete,
        rawArgs: '-- $% "hello" '
      },
      debug: {
        onComplete,
        debug: true
      },
      stdout: {
        onComplete,
        debug: {
          stdout: 'Hey banana'
        }
      },
      dynamic: {
        options: {
          foo: '{{ foo }}'
        },
        onComplete,
      },
      'dynamic-nested': {
        options: {
          foo: '{{ foo }}'
        },
        onComplete,
        args: ['{{ hello.world }}']
      },
      'no-sub': {
        options: {
          foo: 'bar'
        },
        args: [ 'baz', 'quux' ],
        cmd: false
      }
    },
    proxy: {},
    'opts-test': {
      custom: {
        onComplete,
        foo: 'Ned'
      },
      dash: {
        options: {
          foo: 'bar'
        },
        onComplete,
      }
    },
    'callback-test': {
      cb: {
        onComplete,
      }
    },
    'local-bin-test': {
      foo: {
        onComplete,
      }
    },
    'flags-first': {
      args: {
        onComplete,
        options: {
          foo: 'bar'
        },
        args: [ 'baz', 'quux' ]
      }
    },
    standalone: {
      'no-sub': {
        onComplete,
        options: {
          foo: 'bar'
        },
        args: [ 'baz', 'quux' ]
      }
    },
    'standalone-flags': {
      test: {
        onComplete,
        options: {
          foo: 'bar'
        },
        args: [ 'baz', 'quux' ],
        rawArgs: '-- blah'
      }
    }
  };

  grunt.initConfig(skipInit ? testConfig : taskConfig);

  if (!skipInit) {
    grunt.registerTask('unit', ['mochaTest:unit']);
    grunt.registerTask('int', ['mochaTest:integration']);
    grunt.registerTask('mocha', [ 'unit', 'int' ]);
    grunt.registerTask('default', [ 'eslint:lib', 'mocha' ]);
    grunt.registerTask('coverage', ['istanbul']);
    grunt.registerTask('travis', [ 'eslint:lib', 'mocha', 'travisMatrix' ]);
  }
};

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