solusipse / fiche

Command line pastebin for sharing terminal output.
http://termbin.com
MIT License
1.41k stars 166 forks source link

Added SSL support #104

Open DrRemorse opened 4 years ago

DrRemorse commented 4 years ago

Hi,

I added SSL support to fiche this weekend and thought others might find it useful.

Thank you for your consideration.

soakes commented 1 month ago

Thank you @DrRemorse, will give it a test here.

soakes commented 1 month ago

If anyone wants to apply this patch, its quite easy to do...

git clone https://github.com/solusipse/fiche.git /usr/src/fiche 
cd /usr/src/fiche 
git fetch origin pull/104/head:pr-104 
git checkout pr-104 
make
make install

Thanks agian @DrRemorse for making this possible.

To send data to the SSL version, you need to use ssl enabled version of netcat, nmap package contains ncat which has ssl support, then you you can use...

 ❯ echo moo | ncat --ssl termbin.example.com 9999
https://termbin.example.com/4yx4ct