diff --git a/modules/exploits/unix/webapp/freepbx_config_exec.rb b/modules/exploits/unix/webapp/freepbx_config_exec.rb index dd78df1937..63ab31974e 100644 --- a/modules/exploits/unix/webapp/freepbx_config_exec.rb +++ b/modules/exploits/unix/webapp/freepbx_config_exec.rb @@ -44,8 +44,12 @@ class Metasploit3 < Msf::Exploit::Remote register_options( [ - OptString.new('TARGETURI', [true, 'The base path to the FreePBX installation', '/']), - OptString.new('PHPFUNC', [true, 'The PHP execution function to use', 'passthru']), + OptString.new('TARGETURI', [true, 'The base path to the FreePBX installation', '/']) + ], self.class) + + register_advanced_options( + [ + OptString.new('PHPFUNC', [true, 'The PHP execution function to use', 'passthru']) ], self.class) end