From 4b44b1a1ade2ce4d6923f69b041ec46482bd1983 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani <3fb650a9-b47e-4604-a282-1dd91953b2ee@anonaddy.me> Date: Sat, 28 Nov 2020 17:38:43 -0500 Subject: [PATCH] add 0x0 Add simple 0x0 script to make interacting with 0x0.st super easy --- 0x0 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 0x0 diff --git a/0x0 b/0x0 new file mode 100755 index 0000000..dee68b3 --- /dev/null +++ b/0x0 @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +# Makes interacting with the 0x0.st service easy. Just pipe command output +# into 0x0 or point $0 to a file + +input="-" + +if [[ -n $1 ]]; then + input=$1 +fi + +curl -F "file=@${input}" https://0x0.st -- 2.39.2