Delete as3 detecotr

This commit is contained in:
jvazquez-r7 2015-07-13 18:23:39 -05:00
parent 8928c5529c
commit 8fb6bedd94
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
3 changed files with 1 additions and 37 deletions

Binary file not shown.

View File

@ -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 ""
}
}
}
}

View File

@ -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