From cab84b5c27012ec0e3bdc33369e775806067f758 Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Sun, 30 Dec 2012 13:02:13 +0100 Subject: [PATCH] Fix for issue #1219 --- modules/exploits/windows/browser/ie_cdwnbindinfo_uaf.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/exploits/windows/browser/ie_cdwnbindinfo_uaf.rb b/modules/exploits/windows/browser/ie_cdwnbindinfo_uaf.rb index 08a226a2d7..d31e84edf9 100644 --- a/modules/exploits/windows/browser/ie_cdwnbindinfo_uaf.rb +++ b/modules/exploits/windows/browser/ie_cdwnbindinfo_uaf.rb @@ -90,6 +90,9 @@ class Metasploit3 < Msf::Exploit::Remote os_name = 'Windows Vista' when '6.1' os_name = 'Windows 7' + else + # OS not supported + return nil end targets.each do |t|