Sha256: c21d21f824be77756d4592fb8d28e826fc0175fcb6b79cb6a25074a7b5028dc4

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

require 'ronin/exploits/targets/buffer_overflow'

require 'spec_helper'

describe Exploits::Targets::BufferOverflow do
  it "should require an ip to overwrite with" do
    target = Exploits::Targets::BufferOverflow.new
    target.should_not be_valid

    target.ip = 0xffffeeee
    target.should be_valid
  end

  it "should have a default frame_repeat of 1" do
    target = Exploits::Targets::BufferOverflow.new
    target.frame_repeat.should == 1
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ronin-exploits-0.2.0 spec/exploits/targets/buffer_overflow_spec.rb