mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-05 14:57:30 +01:00
fa3a86ec7a
git-svn-id: file:///home/svn/framework3/trunk@7484 4d416f70-5f16-0410-b530-b9f4589650da
15 lines
348 B
Ruby
Executable File
15 lines
348 B
Ruby
Executable File
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
|