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/services/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/installer/services/ubuntu-desktop-chrome-virtualbox-offirepo
#!/bin/bash

# Add this at the begining of all scripts.
if [ -f "include/startup.sh" ]; then
    . include/startup.sh
elif [ -f "../include/startup.sh" ]; then
    . ../include/startup.sh
fi

rootDir=$(rootDir)

echo "Installing Google Chrome latest stable" | log
cd $rootDir/temp
appFilename=google-chrome-stable_current_amd64.deb
curlDownload https://dl.google.com/linux/direct/$appFilename
waitOrStop 0 "File not downloaded from official source"
dpkg -i $appFilename
rm $appFilename

echo "Allowing Chrome to run as root" | log
sed -i '$s/$/ --user-data-dir --test-type --no-sandbox/' /opt/google/chrome/google-chrome

echo "Installing VirtualBox from apt" | log
export DEBIAN_FRONTEND="noninteractive"
debconf-set-selections <<< "virtualbox-ext-pack virtualbox-ext-pack/license select true"
installPackage virtualbox virtualbox-ext-pack
sleep 10
checkPackageInstalled virtualbox-ext-pack

tagScript success

exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit