then why use fetch at all if you don't want errors raised, just use [:blah]?  (I admit I haven't read the code yet)

On Feb 5, 2014, at 5:48 PM, dmaloney-r7 <notifications@github.com> wrote:

> In lib/msf/core/payload_generator.rb:
> 
> > +    # @option opts [String] :payload The refname of the payload to generate
> > +    # @option opts [String] :format The format you want the payload returned in
> > +    # @option opts [String] :encoder The encoder you want applied to the payload
> > +    # @option opts [Fixnum] :iterations The number of iterations to run the encoder
> > +    # @option opts [String] :arch The CPU architecture to build the payload for
> > +    # @option opts [String] :platform The platform to build the payload for
> > +    # @option opts [String] :badchars The bad characters that can't be in the payload
> > +    # @option opts [String] :template The path to the template file to use
> > +    # @option opts [Fixnum] :space The maximum size in bytes of the payload
> > +    # @option opts [Fixnum] :nops The size in bytes of NOP sled to prepend the payload with
> > +    # @option opts [String] :add_code The path to a shellcode file to execute in a seperate thread
> > +    # @option opts [Boolean] :keep Whether or not to preserve the original functionality of the template
> > +    # @option opts [Hash] :datastore The datastore to apply to the payload module
> > +    # @option opts [Msf::Framework] :framework The framework instance to use for generation
> > +    # @option opts [Booleab] :cli Whether this is being run by a CLI script
> > +    def initialize(opts={})
> Actually it won't raise key errors as i provide default values in the fetch.
> 
> —
> Reply to this email directly or view it on GitHub.
>