Check for the database first
git-svn-id: file:///home/svn/framework3/trunk@12523 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
f3ecba153e
commit
93b0c5beb3
|
@ -279,6 +279,7 @@ class Meterpreter < Rex::Post::Meterpreter::Client
|
|||
# Also reports a session_fingerprint note for host os normalization.
|
||||
#
|
||||
def load_session_info()
|
||||
return if not (framework.db and framework.db.active)
|
||||
begin
|
||||
::Timeout.timeout(60) do
|
||||
username = self.sys.config.getuid
|
||||
|
|
Loading…
Reference in New Issue