| Server IP : 95.46.96.79 / Your IP : 216.73.216.4 Web Server : Apache/2.4.41 (Ubuntu) System : Linux zaimer.uz 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : akslabs_uz_usr ( 1001) PHP Version : 7.4.3-4ubuntu2.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /etc/profile.d/ |
Upload File : |
#!/bin/bash
if [ `whoami` != 'root' ]
then
return
fi
source /etc/os-release
read -a X <<< `stty size`
for i in $(seq 1 ${X[0]}); do echo '' ; done
tput cuu ${X[0]}
printf '#%.0s' {1..75}; echo
echo -e "\t\t\tWelcome!\n"
echo -e "This server is captured by $(tput setaf 6)FASTPANEL$(tput sgr0) control panel.\n"
echo -e "Operating System:\t$(tput setaf 6)$PRETTY_NAME$(tput sgr0)"
printf '=%.0s' {1..75}; echo
echo -e "IPv4:"
echo -e "$(tput setaf 6)"
ip a show scope global |grep -oP '(?<=inet )(\d{1,3}\.){3}\d{1,3}'
echo -e "$(tput sgr0)"
printf '=%.0s' {1..75}; echo
if [ `ip a show scope global |grep -c inet6` != "0" ]; then
echo -e "IPv6:"
echo -e "$(tput setaf 6)"
ip a show scope global |grep -Po '(?<=inet6 ).+(?=/\d{1,3})'
echo -e "$(tput sgr0)"
printf '=%.0s' {1..75}; echo
fi
echo -e "By default configuration files can be found in the following directories:"
echo
echo -e "$(tput setaf 6)NGINX:$(tput sgr0)\t\t/etc/nginx/fastpanel2-available"
echo -e "$(tput setaf 6)APACHE2:$(tput sgr0)\t/etc/apache2/fastpanel2-available\n"
echo -e "$(tput setaf 1)Please do not edit configuration files manually.$(tput sgr0)"
echo -e "$(tput setaf 1)You may do that in your control panel.$(tput sgr0)"
printf '=%.0s' {1..75}; echo
echo
uptime
printf '#%.0s' {1..75}; echo