Fix session interaction again

git-svn-id: file:///home/svn/framework3/trunk@5734 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-10-10 05:01:49 +00:00
parent 7e5c759dd0
commit 0320809c18
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,6 @@ class Exploit
'LocalInput' => driver.input, 'LocalInput' => driver.input,
'LocalOutput' => driver.output, 'LocalOutput' => driver.output,
'RunAsJob' => jobify) 'RunAsJob' => jobify)
return false
rescue ::Interrupt rescue ::Interrupt
raise $! raise $!
rescue ::Exception => e rescue ::Exception => e
@ -134,6 +133,7 @@ class Exploit
# If we were given a session, let's see what we can do with it # If we were given a session, let's see what we can do with it
if (session) if (session)
# If we aren't told to run in the background and the session can be # If we aren't told to run in the background and the session can be
# interacted with, start interacting with it by issuing the session # interacted with, start interacting with it by issuing the session
# interaction command. # interaction command.