From 699363c409238b826d41c619b276c33fd3e1aaa4 Mon Sep 17 00:00:00 2001 From: Lucas Date: Fri, 3 Dec 2021 13:53:52 +0000 Subject: [PATCH] pstsrv: add pst.moe, retire w1r3.net --- bin/pstsrv.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bin/pstsrv.sh b/bin/pstsrv.sh index 163be9c..fc55e13 100644 --- a/bin/pstsrv.sh +++ b/bin/pstsrv.sh @@ -52,9 +52,10 @@ pst_ix_io() $torsocks curl -F "f:1=@$1" http://ix.io/ } -pst_w1r3_net() +pst_pst_moe() { - $torsocks curl -F "upload=@$1" https://w1r3.net/ + $torsocks curl -F "content=<$1" -F "expire_after=86400" \ + https://pst.moe/paste } do_upload() @@ -100,8 +101,8 @@ catbox.moe) ix.io) url=$(do_upload pst_ix_io "$@") ;; -w1r3.net) - url=$(do_upload pst_w1r3_net "$@") +pst.moe) + url=$(do_upload pst_pst_moe "$@") ;; *) err "unknown service $srv"