Securely encrypted pastebin for both interactive and CLI use.
Create a bash function,
pastebin ()
{
cat - | curl -s -k -F 'enc=1' -F 'link_only=1' -F 'data=<-' https://pastebin.sonassi.com/
}
Then pipe the output of the script/command to pastebin
echo "data to go into pastebin" | pastebin