#PEAR_Config 0.9 a:12:{s:7:"php_dir";s:67:"//pear/php";s:8:"data_dir";s:68:"//pear/data";s:7:"www_dir";s:67:"//pear/www";s:7:"cfg_dir";s:67:"//pear/cfg";s:7:"ext_dir";s:67:"//pear/ext";s:7:"doc_dir";s:68:"//pear/docs";s:8:"test_dir";s:69:"//pear/tests";s:9:"cache_dir";s:69:"//pear/cache";s:12:"download_dir";s:72:"//pear/download";s:8:"temp_dir";s:68:"//pear/temp";s:7:"bin_dir";s:63:"//pear";s:7:"man_dir";s:67:"//pear/man";}
|
Server IP : 99.192.176.69 / Your IP : 216.73.217.68 Web Server : Apache System : Linux platinumpuzzy2.eosdns.net 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64 User : bbwcamhouse ( 1000) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0555) : /../etc/python/../rpm/../python/../python/../python/../python/../python/../../dev/../bin/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
#!/bin/sh
# lftpget - get a file with lftp
# Copyright (c) 1999-2000 Alexander V. Lukyanov <lav@yars.free.net>
# This file is covered by GNU GPL. See file COPYING for details.
if [ $# -eq 0 ]; then
echo "Usage: $0 [-c] [-d] [-v] URL [URL...]"
echo " -c continue, reget"
echo " -d debug output"
echo " -v verbose messages"
exit 1
fi
INTRO="set cmd:at-exit;set xfer:max-redirections 16;"
SCRIPT=""
verbose=false
while :
do
case "$1" in
-*v*) verbose=true
INTRO="$INTRO set cmd:verbose y;"
;;
esac
case "$1" in
-*d*) INTRO="$INTRO debug 8;";;
esac
case "$1" in
-*c*) CONT=-c;;
-*[dv]*) ;;
*) break;;
esac
shift
done
for f
do
need_pass=false
case "$f" in
"*[\"'\\]*")
# need to quote
f="`echo "$f" | sed 's/\([\\\"'\'']\)/\\\1/g'`"
;;
esac
case "$f" in
"*://*:*@*") ;;
"*://*@*") need_pass=true;;
esac
if $verbose; then
SCRIPT="$SCRIPT echo Retrieving \`\"$f\"\'...;"
fi
if $need_pass; then
SCRIPT="$SCRIPT echo \"$f\" needs password;"
fi
SCRIPT="$SCRIPT get1 $CONT \"$f\";"
if $verbose; then
SCRIPT="$SCRIPT && echo Got \`\"$f\"\'.;"
fi
done
if [ "$SCRIPT" = "" ]; then
echo "Usage: $0 URL [URL...]" >&2
exit 1
fi
exec lftp -c "$INTRO $SCRIPT"