by jingo · 12y ago · 0 comments
I no longer have a Blackboard account, but if I did, or had a guest account to play with, I would try rewriting your Bash script in POSIX-like sh.
Nice work and a good choice of project.
"Requirements
bash curl sed openssl or python"
You can substitute other tcp clients for curl.
And the openssl binary is ubiquitous, so he is smart to use it for generating base64 versus other userland utilities for generating base64 that are not always found outside of GNU/Linux.
I like using shell scripts for projects like this because of the power of piping commands/functions and doing line-based processing with e.g. sed.