shell bypass 403

GrazzMean Shell

Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.118.163.179
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : rvm-shell_comment_test.sh
source "$rvm_path/scripts/rvm"

: prepare
d=${TMPDIR:=/tmp}/test-rvm-shell/ # status=0
mkdir -p $d                       # status=0
echo "rvm current" > $d/rvm-shell-rvm-current-script.sh # status=0
chmod +x $d/rvm-shell-rvm-current-script.sh
rvm use 2.3.4 --install
rvm use system

: Test1
echo "rvm use 2.3.4@acme --create" > $d/.rvmrc     # status=0
ls -ld $d/.rvmrc
rvm rvmrc trust $d/.rvmrc                               # status=0
rvm $d do rvm current                                   # match=/ruby-2.3.4@acme/
rvm-shell --path $d -c "rvm current"                    # match=/ruby-2.3.4@acme/
rvm $d do $d/rvm-shell-rvm-current-script.sh            # match=/ruby-2.3.4@acme/
rvm-shell --path $d $d/rvm-shell-rvm-current-script.sh  # match=/ruby-2.3.4@acme/
rvm use $d                                              # env[GEM_HOME]=/ruby-2.3.4@acme$/
rvm use system

: Test2
echo "rvm 2.3.4@acme --create" > $d/.rvmrc         # status=0
ls -ld $d/.rvmrc
rvm rvmrc trust $d/.rvmrc                               # status=0
rvm $d do rvm current                                   # match=/ruby-2.3.4@acme/
rvm-shell --path $d -c "rvm current"                    # match=/ruby-2.3.4@acme/
rvm $d do $d/rvm-shell-rvm-current-script.sh            # match=/ruby-2.3.4@acme/
rvm-shell --path $d $d/rvm-shell-rvm-current-script.sh  # match=/ruby-2.3.4@acme/
rvm $d                                                  # env[GEM_HOME]=/ruby-2.3.4@acme$/

: Cleaning
rm -rf $d # status=0
© 2025 GrazzMean