mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
862efac37d
git-svn-id: file:///home/svn/framework3/trunk@7896 4d416f70-5f16-0410-b530-b9f4589650da
15 lines
348 B
Ruby
15 lines
348 B
Ruby
require 'testbase'
|
|
|
|
describe Msf::Simple::Framework do
|
|
$msf.exploits.each_module do |name, mod|
|
|
e = $msf.exploits.create(name)
|
|
e.targets.each_with_index do |t, idx|
|
|
it "#{name} target #{idx} should have compatible payloads" do
|
|
e.datastore['TARGET'] = idx
|
|
r = e.compatible_payloads
|
|
r.length.should_not == 0
|
|
end
|
|
end
|
|
end
|
|
end
|