From d368523f5e96c59b09ddee620b480f3526028df1 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 24 Oct 2013 02:33:47 +0200 Subject: [PATCH] bin/squvi: Add. --- bin/squvi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 bin/squvi 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' "$@" -- 2.44.1