remove unused exception variables

git-svn-id: file:///home/svn/framework3/trunk@5882 4d416f70-5f16-0410-b530-b9f4589650da
unstable
kris 2008-11-11 06:00:54 +00:00
parent cca9c39eab
commit 7b002d4288
5 changed files with 8 additions and 8 deletions

View File

@ -197,7 +197,7 @@ class Driver < Msf::Ui::Driver
rcfd = File.open(path, 'w')
rcfd.write(data)
rcfd.close
rescue ::Exception => e
rescue ::Exception
end
end

View File

@ -270,7 +270,7 @@ class Metasploit3 < Msf::Auxiliary
bcnt += data.length
lfd.write(data)
end
rescue ::EOFError => e
rescue ::EOFError
end
lfd.close

View File

@ -116,7 +116,7 @@ class Metasploit3 < Msf::Exploit::Remote
begin
dcerpc.call(0x0E, stb)
rescue => e
rescue
end
# Cleanup

View File

@ -188,7 +188,7 @@ class Metasploit3 < Msf::Exploit::Remote
print_status("Closing service handle...")
begin
response = dcerpc.call(0x0, svc_handle)
rescue ::Exception => e
rescue ::Exception
end
##

View File

@ -205,7 +205,7 @@ class Metasploit3 < Msf::Exploit::Remote
print_status("Closing service handle...")
begin
response = dcerpc.call(0x0, svc_handle)
rescue ::Exception => e
rescue ::Exception
end
##