403Webshell
Server IP : 103.75.185.95  /  Your IP : 216.73.217.162
Web Server : nginx/1.30.0
System : Linux cs-linux-20260509085757017 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : cuuhootoxema ( 1215)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /etc/profile.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/profile.d/motd.sh
#!/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  "Operation 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

Youez - 2016 - github.com/yon3zu
LinuXploit