Skip to content

Commit d2e3e5d

Browse files
committed
Merge branch 'jlee-r7-cleanup/post-windows-services'
2 parents ae4f434 + 9b768a2 commit d2e3e5d

File tree

14 files changed

+388
-229
lines changed

14 files changed

+388
-229
lines changed

lib/msf/core/payload/php.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ module Msf::Payload::Php
1212
#
1313
# The generated code will initialize
1414
#
15-
# @options options [String] :disabled_varname PHP variable name in which to
15+
# @option options [String] :disabled_varname PHP variable name in which to
1616
# store an array of disabled functions.
1717
#
18-
# @returns [String] A chunk of PHP code
18+
# @return [String] A chunk of PHP code
1919
#
2020
def php_preamble(options = {})
2121
dis = options[:disabled_varname] || '$' + Rex::Text.rand_text_alpha(rand(4) + 4)
@@ -42,15 +42,15 @@ def php_preamble(options = {})
4242
#
4343
# Generate a chunk of PHP code that tries to run a command.
4444
#
45-
# @options options [String] :cmd_varname PHP variable name containing the
45+
# @option options [String] :cmd_varname PHP variable name containing the
4646
# command to run
47-
# @options options [String] :disabled_varname PHP variable name containing
47+
# @option options [String] :disabled_varname PHP variable name containing
4848
# an array of disabled functions. See #php_preamble
49-
# @options options [String] :output_varname PHP variable name in which to
49+
# @option options [String] :output_varname PHP variable name in which to
5050
# store the output of the command. Will contain 0 if no exec functions
5151
# work.
5252
#
53-
# @returns [String] A chunk of PHP code that, with a little luck, will run a
53+
# @return [String] A chunk of PHP code that, with a little luck, will run a
5454
# command.
5555
#
5656
def php_system_block(options = {})

0 commit comments

Comments
 (0)