!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)

/usr/local/share/.cache/yarn/v6/npm-tape-5.6.1-integrity/node_modules/tape/test/   drwxr-xr-x
Free 13.09 GB of 57.97 GB (22.59%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     require.js (1.55 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
'use strict';

var tap = require('tap');
var spawn = require('child_process').spawn;
var concat = require('concat-stream');
var stripFullStack = require('./common').stripFullStack;

function tape(args) {
	var bin = __dirname + '/../bin/tape';

	return spawn('node', [bin].concat(args.split(' ')), { cwd: __dirname });
}

tap.test('requiring a single module', function (t) {
	t.plan(2);

	var tc = function (rows) {
		t.same(stripFullStack(rows.toString('utf8')), [
			'TAP version 13',
			'# module-a',
			'ok 1 loaded module a',
			'# test-a',
			'ok 2 module-a loaded in same context',
			'ok 3 test ran after module-a was loaded',
			'',
			'1..3',
			'# tests 3',
			'# pass  3',
			'',
			'# ok',
			'',
			''
		]);
	};

	var ps = tape('-r ./require/a require/test-a.js');
	ps.stdout.pipe(concat(tc));
	ps.on('exit', function (code) {
		t.equal(code, 0);
	});
});

tap.test('requiring multiple modules', function (t) {
	t.plan(2);

	var tc = function (rows) {
		t.same(rows.toString('utf8'), [
			'TAP version 13',
			'# module-a',
			'ok 1 loaded module a',
			'# module-b',
			'ok 2 loaded module b',
			'# test-a',
			'ok 3 module-a loaded in same context',
			'ok 4 test ran after module-a was loaded',
			'# test-b',
			'ok 5 module-b loaded in same context',
			'ok 6 test ran after module-b was loaded',
			'',
			'1..6',
			'# tests 6',
			'# pass  6',
			'',
			'# ok'
		].join('\n') + '\n\n');
	};

	var ps = tape('-r ./require/a -r ./require/b require/test-a.js require/test-b.js');
	ps.stdout.pipe(concat(tc));
	ps.on('exit', function (code) {
		t.equal(code, 0);
	});
});

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