Exploit databaseDownload repository ZIP
GH-16376e4357f06350aba70a4970a8d451
shadowabi/laravel-cve-2021-3129
Sources for CVE-2021-3129
36 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files8
shadowabi/laravel-cve-2021-3129Revision 65bcf17e1ccb
- ↑..Parent directory
- RCE/
- FileDelete.php
- FileRead.php
- FileWrite.php
- PHPInfo.php
- RCE.php
- SSRF.php
- SqlInjection.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lib/PHPGGC/GadgetChain/PHPInfo.php
PHP · 551 bytes<?php
namespace PHPGGC\GadgetChain;
abstract class PHPInfo extends \PHPGGC\GadgetChain
{
public static $type = self::TYPE_INFO;
public function test_setup()
{
return [];
}
public function test_confirm($arguments, $output)
{
$expected = [
'phpinfo()',
'PHP Authors',
'Module Authors',
'PHP Variables'
];
foreach($expected as $needle)
if(strpos($output, $needle) === false)
return false;
return true;
}
}