⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.155
Server IP:
57.129.66.90
Server:
Linux vps-7f548908 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
lsws
/
admin
/
misc
/
Edit File: uninstall.sh
#!/bin/sh LSINSTALL_DIR=$(dirname "$0") cd "$LSINSTALL_DIR" || exit LSINSTALL_DIR=$(pwd) BASE_DIR=$(dirname "$LSINSTALL_DIR") BASE_DIR=$(dirname "$BASE_DIR") cd / INST_USER=$(id) INST_USER=$(expr "$INST_USER" : 'uid=.*(\(.*\)) gid=.*') if [ "x$INST_USER" != "xroot" ]; then DIR_OWN=$(ls -ld "$BASE_DIR" | awk '{print $3}') if [ "x$DIR_OWN" != "x$INST_USER" ]; then echo "[ERROR] You do not have the permission to uninstall LiteSpeed web server!" exit 1 fi fi cat <
Simpan