blob: 34d676da0599f90d047576a2a1dd731815ce5898 [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
Denys Vlasenkode3da6b2016-08-21 03:39:39 +02008* Unpack wolfssl-3.9.8.tar.gz from https://github.com/wolfSSL/wolfssl/releases
Denys Vlasenko4acd3932016-12-22 15:13:37 +01009 to a wolfssl-3.9.8 subdirectory here.
Denys Vlasenkode3da6b2016-08-21 03:39:39 +020010* Create configure:
Denys Vlasenko4acd3932016-12-22 15:13:37 +010011 (cd wolfssl-* && ./autogen.sh)
12* Build it: see
13 (cd wolfssl-* && ../00cfg-wolfssl-3.9.8)
14* Run
15 ./ssl_helper.sh
16 to compile and link the helper
Denys Vlasenkode3da6b2016-08-21 03:39:39 +020017
Denys Vlasenko1c6c6702015-10-07 01:39:40 +020018Usage: "ssl_helper -d FILE_DESCRIPTOR" where FILE_DESCRIPTOR is open to the peer.
19
20In bash, you can do it this way:
21$ ssl_helper -d3 3<>/dev/tcp/HOST/PORT
22
23Stdin will be SSL-encrypted and sent to FILE_DESCRIPTOR.
24Data from FILE_DESCRIPTOR will be decrypted and sent to stdout.