Dont report to the db if the db isnt active
git-svn-id: file:///home/svn/framework3/trunk@6442 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
961dbe14ae
commit
5f484b5ede
|
@ -36,6 +36,9 @@ class Plugin::CredCollect < Msf::Plugin
|
||||||
end
|
end
|
||||||
|
|
||||||
def on_session_open(session)
|
def on_session_open(session)
|
||||||
|
|
||||||
|
return if not self.framework.db.active
|
||||||
|
|
||||||
print_status("This is CredCollect, I have the conn!")
|
print_status("This is CredCollect, I have the conn!")
|
||||||
|
|
||||||
if (session.type == "meterpreter")
|
if (session.type == "meterpreter")
|
||||||
|
|
Loading…
Reference in New Issue