aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Frank Denis <github@pureftpd.org>2017-12-30 03:33:04 +0100
committerGravatar Frank Denis <github@pureftpd.org>2017-12-30 03:33:04 +0100
commit0ead3c88f32afb82158b6e7e8c7e2dcfc35edfaf (patch)
tree4cd550f7b5739595538acfca831fae7d6b2dab40
parentccb5ff9bb3a75d6ceac19e193eac447f7e84de79 (diff)
downloadtweetpipe-0ead3c88f32afb82158b6e7e8c7e2dcfc35edfaf.tar.gz
Add an example
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index c5be77f..f86c668 100644
--- a/README.md
+++ b/README.md
@@ -18,6 +18,13 @@ encpipe -d -p password -i inputfile -o outputfile
`-i` and `-o` can be set to `-` or omitted to read/write from the
standard input/output.
+Ex:
+
+```sh
+nc -l 6666 | encpipe -d -p password
+encpipe -e -p password -i /etc/passwd | nc 127.0.0.1 6666
+```
+
# Dependencies
[libhydrogen](https://github.com/jedisct1/libhydrogen)