Sha256: 594b279eefd4782a93026dac21209c8a302692a614180af4c5c06b06d965b1cb

Contents?: true

Size: 362 Bytes

Versions: 3

Compression:

Stored size: 362 Bytes

Contents

require 'ronin/exploits/http'

require 'spec_helper'

describe Exploits::HTTP do
  before(:all) do
    @exploit = Exploits::HTTP.create(:name => 'example_httpd')
  end

  it "should initialize all parameters by default" do
    @exploit.params.should_not be_empty
  end

  it "should have a default port of 80" do
    @exploit.default_port.should == 80
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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