rapid7/metasploit-framework — pull request #4292 by wchen-r7 (2014-12-02 07:21:44+00:00)
Title: Fix modules that still use os_flavor to detect Windows version

This is for https://github.com/rapid7/metasploit-framework/issues/4283.

Since #3373, we no longer use os_flavor to detect Windows version. If we want to specify a Windows 7 target, then the module should set os_name to 'Windows 7'.

To verify:

- [ ] Get a Win 7 box (unpatched). It does not actually matter what IE you have, or 3rd party DLL.
- [ ] Start msfconsole
- [ ] Before you test each module, make sure you ```set verbose true```
- [ ] Test ie_setmousecapture_uaf.rb against that Windows box, make sure you don't see os_flavor being an unmet requirement.
- [ ] Test ms13_059_cflatmarkuppointer.rb against the same box, also make sure you don't see os_flavor being an unmet requirement.
- [ ] Test ms14_012_cmarkup_uaf.rb, once again make sure you don't see os_flavor being an unmet requirement.