Dont report to the db if the db isnt active

git-svn-id: file:///home/svn/framework3/trunk@6442 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-03-30 02:55:13 +00:00
parent 961dbe14ae
commit 5f484b5ede
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ class Plugin::CredCollect < Msf::Plugin
end
def on_session_open(session)
return if not self.framework.db.active
print_status("This is CredCollect, I have the conn!")
if (session.type == "meterpreter")