more yardtag cleanup

bug/bundler_fix
David Maloney 2014-02-06 11:16:00 -06:00
parent 34c4718e95
commit 9d9305d2c0
1 changed files with 15 additions and 15 deletions

View File

@ -72,21 +72,21 @@ module Msf
# @param opts [Hash] The options hash # @param opts [Hash] The options hash
# @option opts [String] :payload The refname of the payload to generate # @option opts [String] :payload (see #payload)
# @option opts [String] :format The format you want the payload returned in # @option opts [String] :format (see #format)
# @option opts [String] :encoder The encoder you want applied to the payload # @option opts [String] :encoder (see #encoder)
# @option opts [Fixnum] :iterations The number of iterations to run the encoder # @option opts [Fixnum] :iterations (see #iterations)
# @option opts [String] :arch The CPU architecture to build the payload for # @option opts [String] :arch (see #arch)
# @option opts [String] :platform The platform to build the payload for # @option opts [String] :platform (see #platform)
# @option opts [String] :badchars The bad characters that can't be in the payload # @option opts [String] :badchars (see #badchars)
# @option opts [String] :template The path to the template file to use # @option opts [String] :template (see #template)
# @option opts [Fixnum] :space The maximum size in bytes of the payload # @option opts [Fixnum] :space (see #space)
# @option opts [Fixnum] :nops The size in bytes of NOP sled to prepend the payload with # @option opts [Fixnum] :nops (see #nops)
# @option opts [String] :add_code The path to a shellcode file to execute in a seperate thread # @option opts [String] :add_code (see #add_code)
# @option opts [Boolean] :keep Whether or not to preserve the original functionality of the template # @option opts [Boolean] :keep (see #keep)
# @option opts [Hash] :datastore The datastore to apply to the payload module # @option opts [Hash] :datastore (see #datastore)
# @option opts [Msf::Framework] :framework The framework instance to use for generation # @option opts [Msf::Framework] :framework (see #framework)
# @option opts [Boolean] :cli Whether this is being run by a CLI script # @option opts [Boolean] :cli (see #cli)
# @raise [KeyError] if framework is not provided in the options hash # @raise [KeyError] if framework is not provided in the options hash
def initialize(opts={}) def initialize(opts={})
@add_code = opts.fetch(:add_code, '') @add_code = opts.fetch(:add_code, '')