Sha256: 83e158612c11bf264bfc22ec3d9b5682df6b1c40369e4df396c46309ccb64fff

Contents?: true

Size: 354 Bytes

Versions: 1

Compression:

Stored size: 354 Bytes

Contents

ronin_payload do
  parameter :var,
            :value => 'usual',
            :description => 'Parameter set by an exploit'

  cache do
    self.name = 'example'
    self.version = '0.2'

    arch :i686
    os :name => 'Linux'

    author :name => 'Anonymous', :email => 'anonymous@example.com'
  end

  def build
    @payload = "data/#{@var}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ronin-exploits-0.2.0 spec/objects/payloads/example.rb