2015-10-07 05:30:11 +05:30
|
|
|
A small SSL helper for busybox wget.
|
|
|
|
|
|
|
|
Precompiled static binary may be found in
|
|
|
|
http://busybox.net/downloads/binaries/
|
|
|
|
|
2015-10-07 05:09:40 +05:30
|
|
|
Build instructions:
|
|
|
|
|
2016-08-21 07:09:39 +05:30
|
|
|
* Unpack wolfssl-3.9.8.tar.gz from https://github.com/wolfSSL/wolfssl/releases
|
2016-12-22 19:43:37 +05:30
|
|
|
to a wolfssl-3.9.8 subdirectory here.
|
2016-08-21 07:09:39 +05:30
|
|
|
* Create configure:
|
2016-12-22 19:43:37 +05:30
|
|
|
(cd wolfssl-* && ./autogen.sh)
|
|
|
|
* Build it: see
|
|
|
|
(cd wolfssl-* && ../00cfg-wolfssl-3.9.8)
|
|
|
|
* Run
|
|
|
|
./ssl_helper.sh
|
|
|
|
to compile and link the helper
|
2016-08-21 07:09:39 +05:30
|
|
|
|
2015-10-07 05:09:40 +05:30
|
|
|
Usage: "ssl_helper -d FILE_DESCRIPTOR" where FILE_DESCRIPTOR is open to the peer.
|
|
|
|
|
|
|
|
In bash, you can do it this way:
|
|
|
|
$ ssl_helper -d3 3<>/dev/tcp/HOST/PORT
|
|
|
|
|
|
|
|
Stdin will be SSL-encrypted and sent to FILE_DESCRIPTOR.
|
|
|
|
Data from FILE_DESCRIPTOR will be decrypted and sent to stdout.
|