Created
July 31, 2016 09:32
-
-
Save prologic/9e9524b427fd020f5d8ece977ac2a5e7 to your computer and use it in GitHub Desktop.
Demo Gopher upload/download service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo "EXEC:upload" | nc localhost 70 | |
iUpload: cat filename | nc -c localhost 52162 error.host 1 | |
iDownload: gopher://127.0.0.1:70/9/files/rvv6Y5wE7hUppGCAkukWXg error.host 1 | |
. | |
$ cat README.md | nc -c localhost 52162 | |
$ md5sum README.md | |
fb8b63ff9eedda78da3e542bea7da746 | |
$ md5sum <(curl -q -s -o - gopher://127.0.0.1:70/9/files/rvv6Y5wE7hUppGCAkukWXg) | |
fb8b63ff9eedda78da3e542bea7da746 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment