Prevent duplicate error messages from appearing
git-svn-id: file:///home/svn/framework3/trunk@5359 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
31d121da82
commit
e17f43b9d5
|
@ -124,10 +124,7 @@ class Exploit
|
||||||
'LocalInput' => driver.input,
|
'LocalInput' => driver.input,
|
||||||
'LocalOutput' => driver.output,
|
'LocalOutput' => driver.output,
|
||||||
'RunAsJob' => jobify)
|
'RunAsJob' => jobify)
|
||||||
rescue EOFError
|
|
||||||
print_error("Exploit failed: The remote connection closed.")
|
|
||||||
rescue
|
rescue
|
||||||
print_error("Exploit failed: #{$!}")
|
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue