data/method/busybox/busybox-1.36.0/networking/ssl_helper-wolfssl
luozhikun 09a1681920 feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
..
00cfg-wolfssl-3.6.8 feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
00cfg-wolfssl-3.9.8 feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
README feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
ssl_helper.c feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
ssl_helper.sh feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00

README

A small SSL helper for busybox wget.

Precompiled static binary may be found in
http://busybox.net/downloads/binaries/

Build instructions:

* Unpack wolfssl-3.9.8.tar.gz from https://github.com/wolfSSL/wolfssl/releases
  to a wolfssl-3.9.8 subdirectory here.
* Create configure:
	(cd wolfssl-* && ./autogen.sh)
* Build it: see
	(cd wolfssl-* && ../00cfg-wolfssl-3.9.8)
* Run
	./ssl_helper.sh
  to compile and link the helper

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.