Exploit database

GH-7c3f210736b96137d01066be808bddae

0x0d3ad/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 files4
0x0d3ad/cve-2021-3129Revision baf217c497da

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

lib/PHPGGC/Phar/Phar.php

PHP · 325 bytes
<?php

namespace PHPGGC\Phar;


class Phar extends Format
{
    protected $format = '.phar';

    protected function update_signature()
    {
        $data = substr($this->data, 0, -28);
        $signature = $this->compute_signature($data);
        $this->data = $this->in_place_replace($this->data, -28, $signature);
    }
}