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" ;;