diff --git a/data/flash_detector/detector.swf b/data/flash_detector/detector.swf deleted file mode 100644 index e7a48d9369..0000000000 Binary files a/data/flash_detector/detector.swf and /dev/null differ diff --git a/external/source/flash_detector/Detector.as b/external/source/flash_detector/Detector.as deleted file mode 100755 index 664ed66dd6..0000000000 --- a/external/source/flash_detector/Detector.as +++ /dev/null @@ -1,36 +0,0 @@ -/* -Code to do flash version detection from ActionScript - -* How to build: - 1. Use Flex SDK 4.6 / AIRSDK 18 - 2. Build with: mxmlc -o msf.swf Exploit.as -*/ - -package -{ - import flash.display.Sprite - import flash.external.ExternalInterface - import flash.system.Capabilities - - public class Detector extends Sprite - { - - public function Detector() - { - var version:String = getVersion() - ExternalInterface.call("setFlashVersion", version) - } - - private function getVersion():String - { - try { - var version:String = flash.system.Capabilities.version - version = version.split(/ /)[1] - version = version.replace(/,/g, ".") - return version - } catch (err:Error) { - return "" - } - } - } -} diff --git a/lib/msf/core/exploit/remote/browser_exploit_server.rb b/lib/msf/core/exploit/remote/browser_exploit_server.rb index 38cdcc9151..b2773491a0 100644 --- a/lib/msf/core/exploit/remote/browser_exploit_server.rb +++ b/lib/msf/core/exploit/remote/browser_exploit_server.rb @@ -547,7 +547,7 @@ module Msf end def load_swf_detection - path = ::File.join(Msf::Config.data_directory, 'flash_detector', 'detector.swf') + path = ::File.join(Msf::Config.data_directory, 'flash_detector', 'flashdetector.swf') swf = ::File.open(path, 'rb') { |f| swf = f.read } swf