Advertisement
Guest User

decode

a guest
Oct 19th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. sal a New-Object;
  2. Add-Type -AssemblyName "System.Drawing";
  3. $g= a System.Drawing.Bitmap("D:\image001.png");
  4. $o= a Byte[] 1920;
  5. (0..0) |% {foreach($x in (0..1919)){$p=$g.GetPixel($x, $_);
  6. $o[$_*1920+$x] = ([math]::Floor(($p.B -band15)*16) -bor ($p.G -band15))}};
  7. $g.Dispose();
  8. Write-Debug([System.Text.Encoding]::ASCII.GetString($o[0..502]));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement