blob: ff46f4bdfec940ff90e318a56554fabe6ae90cf1
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.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 | |
14 | * Unpack wolfssl-3.9.8.tar.gz from https://github.com/wolfSSL/wolfssl/releases |
15 | * Create configure: |
16 | ./autogen.sh |
17 | * Build it: see 00cfg-wolfssl-3.9.8 shell script |
18 | * Drop this directory into wolfssl-x.y.z/ssl_helper |
19 | * Run ssl_helper.sh to compile and link the helper |
20 | |
21 | Usage: "ssl_helper -d FILE_DESCRIPTOR" where FILE_DESCRIPTOR is open to the peer. |
22 | |
23 | In bash, you can do it this way: |
24 | $ ssl_helper -d3 3<>/dev/tcp/HOST/PORT |
25 | |
26 | Stdin will be SSL-encrypted and sent to FILE_DESCRIPTOR. |
27 | Data from FILE_DESCRIPTOR will be decrypted and sent to stdout. |
28 |