cleanup payload and exploit after failure

git-svn-id: file:///home/svn/incoming/trunk@2950 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Miller 2005-10-02 18:39:51 +00:00
parent 43192bdf23
commit ad6273ce35
1 changed files with 4 additions and 0 deletions

View File

@ -172,6 +172,10 @@ protected
end
rescue
elog("Exploit failed: #{$!}", 'core', LEV_0)
payload.stop_handler
exploit.cleanup
raise $!
end
end