mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-09-04 20:18:27 +02:00
Add source code to the player
This commit is contained in:
parent
b0db18674c
commit
3e6cbe9486
22
data/exploits/mp4player.as
Normal file
22
data/exploits/mp4player.as
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
function randText(newLength:Number):String{
|
||||||
|
var a:String = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
|
||||||
|
var alphabet:Array = a.split("");
|
||||||
|
var randomLetter:String = "";
|
||||||
|
for (var i:Number = 0; i < newLength; i++){
|
||||||
|
randomLetter += alphabet[Math.floor(Math.random() * alphabet.length)];
|
||||||
|
}
|
||||||
|
return randomLetter;
|
||||||
|
}
|
||||||
|
|
||||||
|
var connect_nc:NetConnection = new NetConnection();
|
||||||
|
connect_nc.connect(null);
|
||||||
|
|
||||||
|
var stream_ns:NetStream = new NetStream(connect_nc);
|
||||||
|
stream_ns.onStatus = function(p_evt:Object):Void { }
|
||||||
|
|
||||||
|
|
||||||
|
video.attachVideo(stream_ns);
|
||||||
|
|
||||||
|
stream_ns.play(randText(Math.floor(Math.random() * 8) + 4) + ".mp4");
|
||||||
|
|
||||||
|
|
BIN
data/exploits/mp4player.fla
Executable file
BIN
data/exploits/mp4player.fla
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user