From 7124937abf13412f5ce81822f49628b84b55d406 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 15 May 2022 08:42:46 +0200 Subject: use tor if everything else fails --- mirror.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mirror.php b/mirror.php index 763bf47..c21aa4e 100644 --- a/mirror.php +++ b/mirror.php @@ -80,7 +80,8 @@ "curl -Ls '".$quelle."' || ". "curl -Ls -A 'Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0' '".$quelle."' || ". "wget -O - '".$quelle."' || " . - "wget -O - 'https://crux.ster.zone/distfiles/" . basename($quelle) . "'; ". + "wget -O - 'https://crux.ster.zone/distfiles/" . basename($quelle) . "' || ". + "curl -x socks5://tor.home.eckner.net:9050/ -Ls '".$quelle."' ;" . ") | ". // oder curl! "tee \"".$pfad."\"" ); -- cgit v1.2.3-70-g09d2