Exploit database

GH-16376e4357f06350aba70a4970a8d451

shadowabi/laravel-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 files3

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

lib/PHPGGC/GadgetChain/RCE/Command.php

PHP · 466 bytes
<?php

namespace PHPGGC\GadgetChain\RCE;

/**
 * Class Command
 * Executes a command (bash/batch).
 * @package PHPGGC\GadgetChain\RCE
 */
abstract class Command extends \PHPGGC\GadgetChain\RCE
{
    public static $type = self::TYPE_RCE_COMMAND;
    public static $parameters = [
        'command'
    ];
    
    public function test_setup()
    {
        $command = $this->_test_build_command();
        return [
            'command' => $command
        ];
    }
}