Adapted realm and global styling

This commit is contained in:
2025-02-20 17:07:39 +01:00
parent 0782dc404d
commit a4c3bcd6af
4 changed files with 174 additions and 109 deletions

View File

@@ -16,8 +16,12 @@ HOSTNAME_COLOR="\033[1;4;5;32m"
clear
# Primary IP (determined via default route)
PRIMARY_IP=$(ip route get 8.8.8.8 2>/dev/null | awk '{print $7}' | head -n1)
# Print welcome message
echo -e "${HEADER_COLOR}Welcome, $USER on ${HOSTNAME_COLOR}$HOSTNAME!${RESET_COLOR}"
echo -e "Primary IP Address: ${PRIMARY_IP}"
echo -e "${HEADER_COLOR}Today is $(date +"%A, %d.%m.%Y %T")${RESET_COLOR}"
echo -e "\033[94mPowered by: CyMaIS - Cyber Master Infrastructure Solutions!"
echo -e "\033[1;31mWARNING: This software is not to be used for generating commercial profits.\033[94m"