Delete as3 detecotr
This commit is contained in:
parent
8928c5529c
commit
8fb6bedd94
Binary file not shown.
|
@ -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 ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue