⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.31
Server IP:
95.217.99.93
Server:
Linux sv1.sonichosted.com 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
lsws
/
admin
/
misc
/
Edit File: mgr_ver.sh
removeit() { FILEPATH=$LSWSHOME/$LSFILE.$NEWVER if [ -f $FILEPATH ] || [ -d $FILEPATH ]; then echo "Removing $FILEPATH" rm -rf $FILEPATH else if [ $LSFILE != "modules" ]; then echo "$FILEPATH does not exist." fi fi } testit() { FILEPATH=$LSWSHOME/$LSFILE.$NEWVER if [ ! -f $FILEPATH ] && [ ! -d $FILEPATH ] && [ $LSFILE != "modules" ] && [ $LSFILE != "BUILD" ]; then echo "[ERROR] $FILEPATH does not exist, please run installer again." exit 3 fi } switchit() { FILEPATH=$LSWSHOME/$LSFILE if [ $LSFILE != "modules" ] || [ -d $FILEPATH.$NEWVER ]; then rm -f $FILEPATH FILENAME=`basename $FILEPATH` ln -sf "./$FILENAME.$NEWVER" "$FILEPATH" fi } CURDIR=`dirname "$0"` cd $CURDIR CURDIR=`pwd` LSWSHOME=`dirname $CURDIR` LSWSHOME=`dirname $LSWSHOME` if [ "x-d" = "x$1" ]; then ACTION="del" shift fi if [ "x$1" = "x" ]; then cat <
$LSWSHOME/VERSION exit 0
Simpan