Skip to content

Commit c3b753f

Browse files
committed
Make PHPFUNC advanced option
1 parent 4f333d8 commit c3b753f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

modules/exploits/unix/webapp/freepbx_config_exec.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,12 @@ def initialize(info={})
4444

4545
register_options(
4646
[
47-
OptString.new('TARGETURI', [true, 'The base path to the FreePBX installation', '/']),
48-
OptString.new('PHPFUNC', [true, 'The PHP execution function to use', 'passthru']),
47+
OptString.new('TARGETURI', [true, 'The base path to the FreePBX installation', '/'])
48+
], self.class)
49+
50+
register_advanced_options(
51+
[
52+
OptString.new('PHPFUNC', [true, 'The PHP execution function to use', 'passthru'])
4953
], self.class)
5054
end
5155

0 commit comments

Comments
 (0)