Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rapid7
GitHub Repository: rapid7/metasploit-framework
Path: blob/master/test/functional/framework/msftest/db_connect_unconnected.msftest
19520 views
<xml>
<msf_test>
	<name>
		db_connect_unconnected
	</name>
	<description>
		This test will run the db_connect command and check that the user is prompted.
	</description>
	<commands>
		db_connect
		exit
	</commands>
	<output>
		<successes>
			<success>OR: db_connect -y \[path\/to\/database.yml\]</success>
			<success>Examples:</success>
		</successes>
		<failures>
		</failures>
		<failure_exceptions>
		</failure_exceptions>
	</output>
<msf_test>