blob: 58a381c204dc84ddddfc0c5ff8ea8662d04a3e32 [file] [log] [blame]
Denys Vlasenko78fb6ea2015-10-07 02:00:11 +02001A small SSL helper for busybox wget.
2
3Precompiled static binary may be found in
4http://busybox.net/downloads/binaries/
5
Denys Vlasenko1c6c6702015-10-07 01:39:40 +02006Build instructions:
7
8* Unpack wolfssl-3.6.8.zip
9* Build it:
10 ./configure --enable-static --disable-shared && make
11* Drop this directory into wolfssl-3.6.8/ssl_helper
12* Run ssl_helper.sh to compile and link the helper
13
14Usage: "ssl_helper -d FILE_DESCRIPTOR" where FILE_DESCRIPTOR is open to the peer.
15
16In bash, you can do it this way:
17$ ssl_helper -d3 3<>/dev/tcp/HOST/PORT
18
19Stdin will be SSL-encrypted and sent to FILE_DESCRIPTOR.
20Data from FILE_DESCRIPTOR will be decrypted and sent to stdout.