diff --git a/documentation/samples/modules/exploits/ie_browser.rb b/documentation/samples/modules/exploits/ie_browser.rb index fcbeade692..6a49a3c7c4 100644 --- a/documentation/samples/modules/exploits/ie_browser.rb +++ b/documentation/samples/modules/exploits/ie_browser.rb @@ -29,7 +29,7 @@ class Metasploit4 < Msf::Exploit::Remote :ua_minver => "8.0", :ua_maxver => "10.0", :javascript => true, - :os_name => /^Windows/, + :os_name => OperatingSystems::Match::WINDOWS, :rank => NormalRanking })