pstsrv: add w1r3.net

This commit is contained in:
Lucas 2020-08-01 20:27:19 +00:00
parent 0c497ffde9
commit 2bf7cf7f71
1 changed files with 8 additions and 0 deletions

View File

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