(articolo in italiano qui )
This script opens a GUI to set another PowerShell script, called "carrier.ps1", that will bring and show an image and/or some text in a Windows Form. Some graphical elements can be customized and it's possible to add one or two buttons to run some PowerShell code, that can be inserted manually, linked to local scripts or loaded as embedded script (some scripts will need a little syntax review to be properly embedded in "carrier.ps1").
The file carrier.ps1 can be password protected; the content will be encrypted with AES 256. It must be considered that the decryption time is directly proportional to the data quantity. The password is not hardcoded in carrier.ps1: even if it was not necessary (the wrong key will just not decrypt the cipher text), the file contains the SHA512 of a part of the SHA384 of a part of the password. The only purpose is to check the password when inserted, before trying to use it as a decipher key; considering the partial multi-hashing, is not possible to first reconstruct and then bruteforce (nor check in any dictionary or rainbow table) the correct password.
It's also possibile to set the file to auto-delete itself after a custom interval; in this case, even if its window will stay displayed untill closed, after the set time the file will be permanentely delated (it will not just go to the Recycle Bin).
Some use cases may be:
- protection of text and/or images in local storage;
- sharing of password protected data without using third party applications;
- instructional short guide with an image (also animated) and explanation text;
- code execution (through the buttons press), for remote maintenance or help;
- nerd communications, for birthdays cards or just for fun.