rapid7/metasploit-framework — pull request #3586 by limhoff-r7 (2014-07-29 20:55:09+00:00)
Title: msfconsole -n

[MSP-10905](https://jira.tor.rapid7.com/secure/RapidBoard.jspa?rapidView=84&view=detail&selectedIssue=MSP-10905)

# Verification Steps

## Full bundle
- [ ] `bundle install --without ''`

### with database
- [ ] `./msfconsole`
- [ ] VERIFY no boot errors.
- [ ] VERIFY prompt is displayed
- [ ] `exit`

### without database
- [ ] `./msfconsole -n`
- [ ] VERIFY no boot errors.
- [ ] VERIFY warning that database support is disabled
- [ ] VERIFY prompt is displayed
- [ ] `exit`

## bundle without db

- [ ] `bundle install --without db development pcap test`

### with database
- [ ] `./msfconsole`
- [ ] VERIFY warning that `Msf::DBManager` cannot create `Metasploit::Credential`
```
metasploit-credential not in the bundle, so Metasploit::Credential creation will fail for Msf::DBManager
Bundle installed '--without db development test pcap'
To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or `rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`
```
- [ ] VERIFY warning that `Msf::Auxiliary::Rport cannot create `Metasploit::Credential`
```
metasploit-credential not in the bundle, so Metasploit::Credential creation will fail for Msf::Auxiliary::Report.
Bundle installed '--without db development test pcap'
To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or `rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`
```
- [ ] VERIFY warning that activerecord is not bundled so database support disabled:
```
activerecord not in the bundle, so database support will be disabled.
Bundle installed '--without db development test pcap'
To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or `rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`
```
- [ ] VERIFY warning that there is no database support:
```
[-] ***
[-] * WARNING: No database support: RuntimeError Bundle installed '--without db development test pcap'. To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or `rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`
[-] ***
```
- [ ] VERIFY prompt is displayed
- [ ] `exit`

### without database
- [ ] `./msfconsole -n`
- [ ] VERIFY warning that `Msf::DBManager` cannot create `Metasploit::Credential`
```
metasploit-credential not in the bundle, so Metasploit::Credential creation will fail for Msf::DBManager
Bundle installed '--without db development test pcap'
To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or `rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`
```
- [ ] VERIFY warning that `Msf::Auxiliary::Rport cannot create `Metasploit::Credential`
```
metasploit-credential not in the bundle, so Metasploit::Credential creation will fail for Msf::Auxiliary::Report.
Bundle installed '--without db development test pcap'
To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or `rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`
```
- [ ] VERIFY warning that activerecord is not bundled is NOT show.
- [ ] VERIFY warning that there is no database support contains no error:
```
[-] ***
[-] * WARNING: Database support has been disabled
[-] ***
```
- [ ] VERIFY prompt is displayed
- [ ] `exit`

## specs
- [ ] `bundle install --without ''`
- [ ] `rake spec`