uplss 200 B

123456
  1. #!/usr/bin/env bash
  2. file="$HOME/screenshot.png"
  3. url=`curl http://sadpanda.us/upload.php -F image=@$file | grep 'value="http://sadpanda.us/images/.*png"' -o`
  4. url=${url:7:${#url}-8}
  5. x-www-browser $url