Sha256: c1668b932d95d57be2180c463f5ea07083c8322fac15fa8e49c18a22a18460c1
Contents?: true
Size: 491 Bytes
Versions: 1
Compression:
Stored size: 491 Bytes
Contents
require 'ronin/exploits/remote_tcp' require 'spec_helper' describe Exploits::RemoteTCP do before(:all) do @exp = Exploits::RemoteTCP.new( :default_port => 22, :host => '127.0.0.1' ) end it "should include the TCP Session module" do Exploits::RemoteTCP.include?(Sessions::TCP).should == true end it "should default the port to the default_port before deploying" do @exp.build! @exp.deploy! do |exp| exp.port.should == 22 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ronin-exploits-0.2.0 | spec/exploits/remote_tcp_spec.rb |