Land #20297, converts Privileged property to Bool

Modules: Convert Privileged property to Boolean in several modules
This commit is contained in:
msutovsky-r7
2025-06-10 18:15:16 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -40,7 +40,7 @@ class MetasploitModule < Msf::Exploit::Remote
'Platform' => ['php'],
'Arch' => ARCH_PHP,
'Targets' => [['Automatic', {}]],
'Privileged' => 'true',
'Privileged' => true,
'DefaultTarget' => 0,
# The post2file.php vuln was reported in 2013 by Denis Andzakovic. And then on Aug 2015,
# it was discovered again by Ewerson 'Crash' Guimaraes.
@@ -36,7 +36,7 @@ class MetasploitModule < Msf::Exploit::Remote
],
'License' => MSF_LICENSE,
'Platform' => 'php',
'Privileged' => 'true',
'Privileged' => true,
'DefaultOptions' =>
{
'SSL' => true,