SILENT KILLERPanel

Current Path: > home > codekrsu > > cuddlebuds.lk > > wp-content > plugins > > > elementor


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//cuddlebuds.lk//wp-content/plugins///elementor

NameTypeSizeLast ModifiedActions
app Directory - -
assets Directory - -
core Directory - -
data Directory - -
includes Directory - -
modules Directory - -
vendor Directory - -
vendor_prefixed Directory - -
changelog.txt File 328380 bytes July 30 2025 18:59:04.
elementor.php File 3766 bytes July 30 2025 18:59:04.
license.txt File 35147 bytes April 23 2023 15:22:46.
readme.txt File 30799 bytes July 30 2025 18:59:04.
run-on-linux.js File 1140 bytes January 20 2025 19:15:08.

Reading File: /home/codekrsu//cuddlebuds.lk//wp-content/plugins///elementor/run-on-linux.js

const { spawn, exec } = require( 'child_process' );
const packageJson = require( './package.json' );

function isDockerExist() {
	return new Promise( ( resolve ) => {
		exec( 'docker -v', ( error ) => {
			resolve( ! error );
		} );
	} );
}

async function run( tag ) {
	const playwrightVersion = packageJson.devDependencies[ '@playwright/test' ];
	const workingDir = process.cwd();

	const command = 'docker run';
	const options = [
		'--rm',
		'--network host',
		`--volume ${ workingDir }:/work`,
		'--workdir /work/',
		'--interactive',
		process.env.CI ? '' : '--tty',
	];
	const image = `mcr.microsoft.com/playwright:v${ playwrightVersion.replace( '^', '' ) }-jammy`;
	const commandToRun = `/bin/bash -c "npm run test:playwright -- --grep="${ tag }""`;

	spawn( `${ command } ${ options.join( ' ' ) } ${ image } ${ commandToRun }`, {
		stdio: 'inherit',
		stderr: 'inherit',
		shell: true,
	} );
}

( async () => {
	if ( ! await isDockerExist() ) {
		// eslint-disable-next-line no-console
		console.error( 'Docker is not installed, please install it first.' );

		process.exit( 1 );
	}

	await run( process.argv.slice( 2 ) );
} )();

SILENT KILLER Tool