hoaxshell
hoaxshell copied to clipboard
Added on-the-fly crypto and --ssl option
Hey there, I noticed that the HTTPS option required OpenSSL or the user to create their own private key and certificate. I added the --ssl option from the command line and an import file that uses "cryptography" to create a private key and certificate in the same directory as hoaxshell.
If --ssl is provided with a key and cert file, we use the supplied args. If not, it generates a key (unencrypted) and cert on-the-fly. Hopefully this lowers the barrier-to-entry for use of encryption with this shell to prevent data leaks.