• Resolved xxxsokxxx

    (@xxxsokxxx)


    malware new phpunit its name
    and use this on xml file can you check if is malware ?

    <?ini name=”date.timezone” value=”UTC”/>
    </php>xml version=”1.0″ encoding=”UTF-8″?>

    <phpunit bootstrap=”vendor/autoload.php” colors=”true”>
    <testsuites>
    <testsuite name=”Monolog Test Suite”>
    <directory>tests/Monolog/</directory>
    </testsuite>
    </testsuites>

    <filter>
    <whitelist>
    <directory suffix=”.php”>src/Monolog/</directory>
    </whitelist>
    </filter>

    <php>
    <
    </phpunit>

    and this is php file

    <?php

    // autoload_real.php @generated by Composer

    class ComposerAutoloaderInit4f3a72bfdbb290a7d8ac4bb49133c0b3
    {
    private static $loader;

    public static function loadClassLoader($class)
    {
    if (‘Composer\Autoload\ClassLoader’ === $class) {
    require __DIR__ . ‘/ClassLoader.php’;
    }
    }

    public static function getLoader()
    {
    if (null !== self::$loader) {
    return self::$loader;
    }

    spl_autoload_register(array(‘ComposerAutoloaderInit4f3a72bfdbb290a7d8ac4bb49133c0b3’, ‘loadClassLoader’), true, true);
    self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    spl_autoload_unregister(array(‘ComposerAutoloaderInit4f3a72bfdbb290a7d8ac4bb49133c0b3’, ‘loadClassLoader’));

    $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined(‘HHVM_VERSION’);
    if ($useStaticLoader) {
    require_once __DIR__ . ‘/autoload_static.php’;

    call_user_func(\Composer\Autoload\ComposerStaticInit4f3a72bfdbb290a7d8ac4bb49133c0b3::getInitializer($loader));
    } else {
    $map = require __DIR__ . ‘/autoload_namespaces.php’;
    foreach ($map as $namespace => $path) {
    $loader->set($namespace, $path);
    }

    $map = require __DIR__ . ‘/autoload_psr4.php’;
    foreach ($map as $namespace => $path) {
    $loader->setPsr4($namespace, $path);
    }

    $classMap = require __DIR__ . ‘/autoload_classmap.php’;
    if ($classMap) {
    $loader->addClassMap($classMap);
    }
    }

    $loader->register(true);

    return $loader;
    }
    }

    pls check it if is malware ty

    • This topic was modified 5 years, 2 months ago by xxxsokxxx.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey @xxxsokxxx,

    I’ll speak with the team to see if this is malicious. Can you please share the path where you’ve found the file? It looks like it’s a Composer file.

    Please let me know.

    Thanks,

    Gerroald

    Hi @xxxsokxxx,

    This is indeed an autoloader generated by composer. From this file alone, it does not look like you have any malicious scripts on your site.

    Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘malware new’ is closed to new replies.