Linux ip-172-26-5-244 6.1.0-28-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64
Apache
: 172.26.5.244 | : 216.73.216.21
Cant Read [ /etc/named.conf ]
8.3.14
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
opt /
bitnami /
scripts /
[ HOME SHELL ]
Name
Size
Permission
Action
apache
[ DIR ]
drwxr-xr-x
apache-lamp
[ DIR ]
drwxr-xr-x
apache-php-fpm
[ DIR ]
drwxr-xr-x
init
[ DIR ]
drwxr-xr-x
mariadb
[ DIR ]
drwxr-xr-x
php
[ DIR ]
drwxr-xr-x
php-mysql
[ DIR ]
drwxr-xr-x
phpmyadmin
[ DIR ]
drwxr-xr-x
varnish
[ DIR ]
drwxr-xr-x
apache-env.sh
3.48
KB
-rw-r--r--
bitnami-env.sh
414
B
-rw-r--r--
libapache.sh
32.36
KB
-rw-r--r--
libfile.sh
4.29
KB
-rw-r--r--
libfs.sh
4.66
KB
-rw-r--r--
liblog.sh
2.61
KB
-rw-r--r--
libmariadb.sh
46.25
KB
-rw-r--r--
libnet.sh
4.71
KB
-rw-r--r--
libos.sh
15.69
KB
-rw-r--r--
libpersistence.sh
4.6
KB
-rw-r--r--
libphp.sh
7.48
KB
-rw-r--r--
libphpmyadmin.sh
8.94
KB
-rw-r--r--
libservice.sh
14.13
KB
-rw-r--r--
libvalidations.sh
6.62
KB
-rw-r--r--
libvarnish.sh
5.75
KB
-rw-r--r--
libversion.sh
1.42
KB
-rw-r--r--
libwebserver.sh
15.05
KB
-rw-r--r--
mariadb-env.sh
8.47
KB
-rw-r--r--
php-env.sh
3.61
KB
-rw-r--r--
phpmyadmin-env.sh
5.43
KB
-rw-r--r--
varnish-env.sh
3.48
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : liblog.sh
#!/bin/bash # Copyright Broadcom, Inc. All Rights Reserved. # SPDX-License-Identifier: APACHE-2.0 # # Library for logging functions # Constants RESET='\033[0m' RED='\033[38;5;1m' GREEN='\033[38;5;2m' YELLOW='\033[38;5;3m' MAGENTA='\033[38;5;5m' CYAN='\033[38;5;6m' # Functions ######################## # Print to STDERR # Arguments: # Message to print # Returns: # None ######################### stderr_print() { # 'is_boolean_yes' is defined in libvalidations.sh, but depends on this file so we cannot source it local bool="${BITNAMI_QUIET:-false}" # comparison is performed without regard to the case of alphabetic characters shopt -s nocasematch if ! [[ "$bool" = 1 || "$bool" =~ ^(yes|true)$ ]]; then printf "%b\\n" "${*}" >&2 fi } ######################## # Log message # Arguments: # Message to log # Returns: # None ######################### log() { stderr_print "${CYAN}${MODULE:-} ${MAGENTA}$(date "+%T.%2N ")${RESET}${*}" } ######################## # Log an 'info' message # Arguments: # Message to log # Returns: # None ######################### info() { log "${GREEN}INFO ${RESET} ==> ${*}" } ######################## # Log message # Arguments: # Message to log # Returns: # None ######################### warn() { log "${YELLOW}WARN ${RESET} ==> ${*}" } ######################## # Log an 'error' message # Arguments: # Message to log # Returns: # None ######################### error() { log "${RED}ERROR${RESET} ==> ${*}" } ######################## # Log a 'debug' message # Globals: # BITNAMI_DEBUG # Arguments: # None # Returns: # None ######################### debug() { # 'is_boolean_yes' is defined in libvalidations.sh, but depends on this file so we cannot source it local bool="${BITNAMI_DEBUG:-false}" # comparison is performed without regard to the case of alphabetic characters shopt -s nocasematch if [[ "$bool" = 1 || "$bool" =~ ^(yes|true)$ ]]; then log "${MAGENTA}DEBUG${RESET} ==> ${*}" fi } ######################## # Indent a string # Arguments: # $1 - string # $2 - number of indentation characters (default: 4) # $3 - indentation character (default: " ") # Returns: # None ######################### indent() { local string="${1:-}" local num="${2:?missing num}" local char="${3:-" "}" # Build the indentation unit string local indent_unit="" for ((i = 0; i < num; i++)); do indent_unit="${indent_unit}${char}" done # shellcheck disable=SC2001 # Complex regex, see https://github.com/koalaman/shellcheck/wiki/SC2001#exceptions echo "$string" | sed "s/^/${indent_unit}/" }
Close