403Webshell
Server IP : 104.129.129.72  /  Your IP : 216.73.216.229
Web Server : LiteSpeed
System : Linux 123answers 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
User : answe8064 ( 1002)
PHP Version : 8.2.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /opt/installer/apps/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/installer/apps/webmin-latest-offirepo-apache
#!/bin/bash

if [ -f "include/startup.sh" ]; then
    . include/startup.sh
elif [ -f "../include/startup.sh" ]; then
    . ../include/startup.sh
fi

checkTagExist httpd.success

echo "Installing Packages"
installPackage software-properties-common
waitOrStop 0 "Failed apt install software-properties"
installPackage apt-transport-https
waitOrStop 0 "Failed apt install apt-transport-https"

echo "Adding repo to apt" | log
curlDownload http://www.webmin.com/jcameron-key.asc
waitOrStop 0 "File not downloaded from official source"
apt-key add jcameron-key.asc
echo "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"  | tee -a /etc/apt/sources.list
apt update

echo "Installing Webmin App"
installPackage webmin
waitOrStop 0 "Failed apt install Webmin"

echo "Adding descriptions" | log
descriptionAppend "Webmin Username: root"
descriptionAppend "Webmin Password: ${ADMINPASSWORD}"
descriptionAppend "Webmin UI: https://${CWM_DISPLAYED_ADDRESS}:10000"
descriptionAppend " "

tagScript success

exit 0


Youez - 2016 - github.com/yon3zu
LinuXploit