Sha256: bd54ffc09cf5e111fd251c8816d39f4b3cd9ff82d6f0d0ee567a4cd2f800b8bc

Contents?: true

Size: 532 Bytes

Versions: 3

Compression:

Stored size: 532 Bytes

Contents

ronin_exploit do
  parameter :path,
            :default => 'data',
            :description => 'Parameter to be shared with the exploit'

  cache do
    self.name = 'example'

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

    targeting do |target|
      target.arch :i686
      target.os :name => 'Linux', :version => '2.6.23'
      target.product :name => 'ExampleWare', :version => '1.5'
    end
  end

  def buffer
    @buffer
  end

  def build
    @buffer = "GET /#{@path}/#{@encoded_payload}"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ronin-exploits-0.3.1 spec/objects/exploits/example.rb
ronin-exploits-0.3.0 spec/objects/exploits/example.rb
ronin-exploits-0.2.1 spec/objects/exploits/example.rb