Check for the database first

git-svn-id: file:///home/svn/framework3/trunk@12523 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-05-03 04:49:18 +00:00
parent f3ecba153e
commit 93b0c5beb3
1 changed files with 1 additions and 0 deletions

View File

@ -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