Kernel : Linux vmw02p.internet-indee.net 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Tue Nov 16 14:42:35 UTC 2021 x86_64
Disable function : NONE
Safe mode : OFF
Host : firofichi.it | Server ip : 5.196.164.15 | Your ip : 18.217.40.118 | Time @ Server : 19 Oct 2024 05:26:55
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/webmaster/firofichi/www/vendor/codeception/codeception/

HOME about upload exec mass file domain root vuln newfile newfolder kill me

File Path : /home/webmaster/firofichi/www/vendor/codeception/codeception/PruneTest.php

<?php /** * This file allows for tests to be skipped. * For now conditions are simple. * We check if changes in the source with respect to the configured branch are limited to framework files, * if that is the case and the current framework isn't one with changed files then we skip it. */ $branch ="2.4"; function stderr($message) { fwrite(STDERR, $message . "\n"); } $currentFramework = getenv('FRAMEWORK'); if ($currentFramework === 'Codeception') { stderr('Codeception tests are always executed'); die(); } $files = []; exec("git diff --name-only $branch", $files); // Regexes for frameworks: $regexes = [ 'Yii2' => '/.*Yii2.*/', 'Lumen' => '/.*(Lumen|LaravelCommon).*/', 'Laravel' => '/.*Laravel.*/', 'Phalcon' => '/.*Phalcon.*/', 'Symfony' => '/.*Symfony.*/', 'Yii1' => '/.*Yii1.*/', 'ZendExpressive' => '/.*ZendExpressive.*/', 'Zend1' => '/.*ZF1.*/', 'Zend2' => '/.*ZF2.*/', ]; // First check if changes include files that are not framework files. $frameworkOnly = true; $frameworks = []; foreach ($files as $file) { $match = false; foreach ($regexes as $framework => $regex) { if (preg_match($regex, $file)) { $match = true; $frameworks[$framework] = $framework; break; } } if (!$match) { $frameworkOnly = false; break; } } if ($frameworkOnly) { stderr('Changes limited to frameworks: ' . implode(', ', $frameworks)); if (!isset($frameworks[$currentFramework])) { stderr("Skipping test for framework: $currentFramework"); echo "export FRAMEWORK=\n"; echo "export PECL=\n"; echo "export FXP=\n"; echo "export CI_USER_TOKEN=\n"; } }