diff --git a/How-to-write-a-browser-exploit-using-BrowserExploitServer.md b/How-to-write-a-browser-exploit-using-BrowserExploitServer.md index bd60cbd590..e631074a8b 100644 --- a/How-to-write-a-browser-exploit-using-BrowserExploitServer.md +++ b/How-to-write-a-browser-exploit-using-BrowserExploitServer.md @@ -37,8 +37,8 @@ You can also define target-specific requirements. This is also how the mixin is [ 'Windows XP with IE 8', { - 'os_flavor' => 'XP', - 'ua_name' => 'MSIE', + 'os_flavor' => WindowsVersions::XP, + 'ua_name' => HttpClients::IE, 'ua_ver' => '8.0', 'Rop' => true, 'Offset' => 0x100 @@ -47,8 +47,8 @@ You can also define target-specific requirements. This is also how the mixin is [ 'Windows 7 with IE 9', { - 'os_flavor' => '7', - 'ua_name' => 'MSIE', + 'os_flavor' => WindowsVersions::SEVEN, + 'ua_name' => HttpClients::IE, 'ua_ver' => '9.0', 'Rop' => true, 'Offset' => 0x200 @@ -74,6 +74,7 @@ The exact values available for :os_flavor: * WindowsVersions::VISTA = "Vista" * WindowsVersions::TWOK8 = "2008" * WindowsVersions::SEVEN = "7" +* WindowsVersions::EIGHT = "8" The exact values for :ua_name: * HttpClients::IE = "MSIE"