From: Simon Ruderich Date: Thu, 24 Oct 2013 00:33:47 +0000 (+0200) Subject: bin/squvi: Add. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=d368523f5e96c59b09ddee620b480f3526028df1;p=config%2Fdotfiles.git bin/squvi: Add. --- diff --git a/bin/squvi b/bin/squvi new file mode 100755 index 0000000..8347721 --- /dev/null +++ b/bin/squvi @@ -0,0 +1,25 @@ +#!/bin/sh + +# Download video files with quvi. +# +# Don't use clive which is just a front-end to quvi, but with vulnerable +# "exec" code (system with missing "escaping")! + +# Copyright (C) 2013 Simon Ruderich +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + + +# quvi handles the --exec correctly and escapes the input. +exec quvi --format best --exec 'wget --no-clobber -O %t.%e %u' "$@"