!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.3.29 

uname -a: Linux tardis23.nocplanet.net 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024
x86_64
 

 

Safe-mode: OFF (not secure)

/opt/cpanel/ea-ruby27/src/passenger-release-6.0.27/dev/ci/lib/   drwxr-xr-x
Free 1009.4 GB of 1859.98 GB (54.27%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     setup-container.sh (1.52 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/env bash

if ! grep -q passenger.test /etc/hosts; then
	header2 "Updating /etc/hosts"
	sudo sh -c "cat >> /etc/hosts" <<EOF
127.0.0.1 passenger.test
127.0.0.1 mycook.passenger.test
127.0.0.1 zsfa.passenger.test
127.0.0.1 norails.passenger.test
127.0.0.1 1.passenger.test 2.passenger.test 3.passenger.test
127.0.0.1 4.passenger.test 5.passenger.test 6.passenger.test
127.0.0.1 7.passenger.test 8.passenger.test 9.passenger.test
EOF
	echo
fi

header2 "Creating test/config.json"
if [[ "$OS" = linux ]]; then
	run cp test/config.json.travis test/config.json
else

    if [ "${GITHUB_ACTIONS:-false}" = "true" ]; then
        KEYCHAIN_PATH='/Library/Keychains/System.keychain'
    else
        KEYCHAIN_PATH='~/Library/Keychains/login.keychain-db'
    fi

    sed \
        -e "s/_AUTHORITY_/Developer/" \
        -e "s|_KEYCHAIN_|$KEYCHAIN_PATH|" \
        -e "s/_USER_/$USER/" \
        test/config.json.travis-osx > test/config.json
fi
echo "+ Done."
echo

# Relax permissions on home directory so that the application root
# permission checks pass.
header2 "Relaxing home permission"
run chmod g+x,o+x "$HOME"
echo

header2 "Removing previous build products"
run rm -rf buildout/*
run mkdir buildout/testlogs
run rm -f test/test.log
run rm -rf /tmp/psg-test-* /tmp/passenger-error-*.html
echo

# shellcheck source=../lib/set-container-envvars.sh
source "$PASSENGER_ROOT/dev/ci/lib/set-container-envvars.sh"

header "Running test-specific preparations"
# shellcheck source=/dev/null
source "$PASSENGER_ROOT/dev/ci/tests/$1/setup"
echo '+ Done.'
echo

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0146 ]--