| 1 |
A small SSL helper for busybox wget. |
| 2 |
|
| 3 |
Precompiled static binary may be found in |
| 4 |
http://busybox.net/downloads/binaries/ |
| 5 |
|
| 6 |
Build instructions: |
| 7 |
|
| 8 |
* Unpack wolfssl-3.9.8.tar.gz from https://github.com/wolfSSL/wolfssl/releases |
| 9 |
to a wolfssl-3.9.8 subdirectory here. |
| 10 |
* Create configure: |
| 11 |
(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 |
| 17 |
|
| 18 |
Usage: "ssl_helper -d FILE_DESCRIPTOR" where FILE_DESCRIPTOR is open to the peer. |
| 19 |
|
| 20 |
In bash, you can do it this way: |
| 21 |
$ ssl_helper -d3 3<>/dev/tcp/HOST/PORT |
| 22 |
|
| 23 |
Stdin will be SSL-encrypted and sent to FILE_DESCRIPTOR. |
| 24 |
Data from FILE_DESCRIPTOR will be decrypted and sent to stdout. |