remove unused exception variables
git-svn-id: file:///home/svn/framework3/trunk@5882 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
cca9c39eab
commit
7b002d4288
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in New Issue