From a5d179311f3f7164e2066694fef2b1f0944b9a90 Mon Sep 17 00:00:00 2001 From: Joshua Drake Date: Wed, 21 Jul 2010 15:14:54 +0000 Subject: [PATCH] fix session creation, *facepalm* git-svn-id: file:///home/svn/framework3/trunk@9904 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/base/simple/exploit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/base/simple/exploit.rb b/lib/msf/base/simple/exploit.rb index 9450bdeb66..db70f24e7a 100644 --- a/lib/msf/base/simple/exploit.rb +++ b/lib/msf/base/simple/exploit.rb @@ -136,7 +136,7 @@ module Exploit dlog("Call stack:\n#{e.backtrace.join("\n")}", 'core', LEV_3) end - driver.session if driver + return driver.session if driver nil end