@@ -12,10 +12,10 @@ module Msf::Payload::Php
12
12
#
13
13
# The generated code will initialize
14
14
#
15
- # @options options [String] :disabled_varname PHP variable name in which to
15
+ # @option options [String] :disabled_varname PHP variable name in which to
16
16
# store an array of disabled functions.
17
17
#
18
- # @returns [String] A chunk of PHP code
18
+ # @return [String] A chunk of PHP code
19
19
#
20
20
def php_preamble ( options = { } )
21
21
dis = options [ :disabled_varname ] || '$' + Rex ::Text . rand_text_alpha ( rand ( 4 ) + 4 )
@@ -42,15 +42,15 @@ def php_preamble(options = {})
42
42
#
43
43
# Generate a chunk of PHP code that tries to run a command.
44
44
#
45
- # @options options [String] :cmd_varname PHP variable name containing the
45
+ # @option options [String] :cmd_varname PHP variable name containing the
46
46
# command to run
47
- # @options options [String] :disabled_varname PHP variable name containing
47
+ # @option options [String] :disabled_varname PHP variable name containing
48
48
# 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
50
50
# store the output of the command. Will contain 0 if no exec functions
51
51
# work.
52
52
#
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
54
54
# command.
55
55
#
56
56
def php_system_block ( options = { } )
0 commit comments