From 2bf7cf7f7116d11f21e7fa056ab5d6bca9684bcc Mon Sep 17 00:00:00 2001 From: Lucas Date: Sat, 1 Aug 2020 20:27:19 +0000 Subject: [PATCH] pstsrv: add w1r3.net --- bin/pstsrv.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/pstsrv.sh b/bin/pstsrv.sh index a76efe4..163be9c 100644 --- a/bin/pstsrv.sh +++ b/bin/pstsrv.sh @@ -52,6 +52,11 @@ pst_ix_io() $torsocks curl -F "f:1=@$1" http://ix.io/ } +pst_w1r3_net() +{ + $torsocks curl -F "upload=@$1" https://w1r3.net/ +} + do_upload() { uploader=$1 @@ -95,6 +100,9 @@ catbox.moe) ix.io) url=$(do_upload pst_ix_io "$@") ;; +w1r3.net) + url=$(do_upload pst_w1r3_net "$@") + ;; *) err "unknown service $srv" ;;