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.write(data)
|
||||
rcfd.close
|
||||
rescue ::Exception => e
|
||||
rescue ::Exception
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -381,4 +381,4 @@ end
|
|||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -270,7 +270,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
bcnt += data.length
|
||||
lfd.write(data)
|
||||
end
|
||||
rescue ::EOFError => e
|
||||
rescue ::EOFError
|
||||
end
|
||||
|
||||
lfd.close
|
||||
|
@ -281,4 +281,4 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -116,7 +116,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
|
||||
begin
|
||||
dcerpc.call(0x0E, stb)
|
||||
rescue => e
|
||||
rescue
|
||||
end
|
||||
|
||||
# Cleanup
|
||||
|
@ -124,4 +124,4 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
disconnect
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
||||
##
|
||||
|
|
|
@ -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
|
||||
|
||||
##
|
||||
|
|
Loading…
Reference in New Issue