Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/spec/lib/msf/db_manager_spec.rb
Views: 11655
#1# Specs2#34require 'spec_helper'56#7# Project8#910require 'metasploit/framework/database'1112RSpec.describe Msf::DBManager do13include_context 'Msf::DBManager'1415subject do16db_manager17end1819it_should_behave_like 'Msf::DBManager::Adapter'20it_should_behave_like 'Msf::DBManager::Client'21it_should_behave_like 'Msf::DBManager::Connection'22it_should_behave_like 'Msf::DBManager::Cred'23it_should_behave_like 'Msf::DBManager::Event'24it_should_behave_like 'Msf::DBManager::ExploitAttempt'25it_should_behave_like 'Msf::DBManager::ExploitedHost'26it_should_behave_like 'Msf::DBManager::Host'27it_should_behave_like 'Msf::DBManager::HostDetail'28it_should_behave_like 'Msf::DBManager::HostTag'29it_should_behave_like 'Msf::DBManager::IPAddress'30it_should_behave_like 'Msf::DBManager::Import'31it_should_behave_like 'Msf::DBManager::Loot'32it_should_behave_like 'Msf::DBManager::Migration'33it_should_behave_like 'Msf::DBManager::ModuleCache'34it_should_behave_like 'Msf::DBManager::Note'35it_should_behave_like 'Msf::DBManager::Ref'36it_should_behave_like 'Msf::DBManager::Report'37it_should_behave_like 'Msf::DBManager::Route'38it_should_behave_like 'Msf::DBManager::Service'39it_should_behave_like 'Msf::DBManager::Session'40it_should_behave_like 'Msf::DBManager::SessionEvent'41it_should_behave_like 'Msf::DBManager::Task'42it_should_behave_like 'Msf::DBManager::Vuln'43it_should_behave_like 'Msf::DBManager::VulnAttempt'44it_should_behave_like 'Msf::DBManager::VulnDetail'45it_should_behave_like 'Msf::DBManager::WMAP'46it_should_behave_like 'Msf::DBManager::Web'47it_should_behave_like 'Msf::DBManager::Workspace'4849# Not implemented in remote data service50unless ENV['REMOTE_DB']51it { is_expected.to respond_to :check }52it { is_expected.to respond_to :error }53it { is_expected.to respond_to :service_name_map }54end5556end575859