2005-12-17 07:46:23 +01:00
|
|
|
#!/usr/bin/env ruby
|
2005-05-24 07:35:12 +02:00
|
|
|
|
|
|
|
require 'test/unit'
|
2005-07-09 23:18:49 +02:00
|
|
|
require 'msf/core'
|
|
|
|
require 'msf/core/exceptions.rb.ut'
|
|
|
|
require 'msf/core/option_container.rb.ut'
|
|
|
|
require 'msf/core/session_manager.rb.ut'
|
|
|
|
|
|
|
|
require 'msf/core/module/author.rb.ut'
|
|
|
|
require 'msf/core/module/platform_list.rb.ut'
|
|
|
|
require 'msf/core/module/reference.rb.ut'
|
|
|
|
require 'msf/core/module/target.rb.ut'
|
|
|
|
|
2005-11-01 03:42:48 +01:00
|
|
|
require 'msf/core/handler/bind_tcp.rb.ut'
|
|
|
|
require 'msf/core/handler/reverse_tcp.rb.ut'
|
|
|
|
|
2005-07-09 23:18:49 +02:00
|
|
|
require 'msf/core/exploit.rb.ut'
|
2005-07-13 20:06:12 +02:00
|
|
|
require 'msf/core/exploit/tcp.rb.ut'
|
|
|
|
require 'msf/core/exploit/dcerpc.rb.ut'
|
2005-06-05 00:26:42 +02:00
|
|
|
|
2005-05-24 07:35:12 +02:00
|
|
|
class Msf::TestSuite
|
|
|
|
def self.suite
|
2005-06-04 09:51:59 +02:00
|
|
|
suite = Test::Unit::TestSuite.new("Msf Core")
|
2005-05-24 07:35:12 +02:00
|
|
|
|
2005-06-04 21:45:47 +02:00
|
|
|
suite << Msf::Exceptions::UnitTest.suite
|
2005-05-24 07:35:12 +02:00
|
|
|
suite << Msf::OptionContainer::UnitTest.suite
|
2005-05-26 08:35:37 +02:00
|
|
|
suite << Msf::SessionManager::UnitTest.suite
|
2005-05-24 07:35:12 +02:00
|
|
|
|
2005-06-05 02:33:38 +02:00
|
|
|
suite << Msf::Module::Author::UnitTest.suite
|
2005-06-05 02:03:23 +02:00
|
|
|
suite << Msf::Module::PlatformList::UnitTest.suite
|
2005-06-05 02:33:38 +02:00
|
|
|
suite << Msf::Module::Reference::UnitTest.suite
|
|
|
|
suite << Msf::Module::Target::UnitTest.suite
|
2005-11-01 03:42:48 +01:00
|
|
|
|
|
|
|
suite << Msf::Handler::BindTcp::UnitTest.suite
|
|
|
|
suite << Msf::Handler::ReverseTcp::UnitTest.suite
|
2005-06-05 02:03:23 +02:00
|
|
|
|
2005-06-05 00:26:42 +02:00
|
|
|
suite << Msf::Exploit::UnitTest.suite
|
2005-06-05 08:07:18 +02:00
|
|
|
suite << Msf::Exploit::Remote::Tcp::UnitTest.suite
|
|
|
|
suite << Msf::Exploit::Remote::DCERPC::UnitTest.suite
|
2005-06-05 00:26:42 +02:00
|
|
|
|
2005-05-24 07:35:12 +02:00
|
|
|
return suite;
|
|
|
|
end
|
|
|
|
end
|