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 = File.open(path, 'w')
rcfd.write(data) rcfd.write(data)
rcfd.close rcfd.close
rescue ::Exception => e rescue ::Exception
end end
end end

View File

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

View File

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

View File

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

View File

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