rapid7/metasploit-framework — pull request #1891 by wchen-r7 (2013-06-02 08:09:57+00:00)
Title: Modifies the exploit a little for better stability

Without this patch, it looks like the 1st attempt tends to fail first, but then IE recovers from the crash, and then that's how we get a shell.

This patch makes sure the LFH is enabled before the CGenericElement object is created. Triggers is also modified a little. Seems better.

Tested on XP SP3 + IE 8 and Win 7 + IE8