A small CLI shell script to do URL encoding.
USAGE:
You can export the script to your path so you can call it from an alias.
./encoder.sh "<script>alert(1)</script>"
NOTE: You can use the fc
command to edit the previously entered command in the terminals default text editor.