adjust for more limited require

This commit is contained in:
Jeffrey Martin 2019-10-07 10:58:15 -05:00
parent 0c5819de7a
commit 7389417fc5
No known key found for this signature in database
GPG Key ID: 0CD9BBC2AF15F171
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
require 'rexml/document' require 'rexml/document'
require 'rex/parser/nmap_xml' require 'rex/parser/nmap_xml'
require 'msf/core/db_export' require 'msf/core/db_export'
require 'msf/core/auxiliary/jtr' require 'metasploit/framework/jtr/formatter'
module Msf module Msf
module Ui module Ui
@ -43,7 +43,7 @@ class Creds
# #
# All commands that require an active database should call this before # All commands that require an active database should call this before
# doing anything. # doing anything.
# TODO: abstract the db methothds to a mixin that can be used by both dispatchers # TODO: abstract the db methods to a mixin that can be used by both dispatchers
# #
def active? def active?
if not framework.db.active if not framework.db.active