CHips L MINI SHELL

CHips L pro

Current Path : /proc/self/root/proc/2/root/usr/local/rvglobalsoft/rvmanager/auto/
Upload File :
Current File : //proc/self/root/proc/2/root/usr/local/rvglobalsoft/rvmanager/auto/uninstallrvglobalsoftmanager.pl

#!/bin/sh
eval 'if [ -x /usr/local/cpanel/3rdparty/bin/perl ]; then exec /usr/local/cpanel/3rdparty/bin/perl -x -- $0 ${1+"$@"}; else exec /usr/bin/perl -x $0 ${1+"$@"}; fi;'
if 0;

#!/usr/bin/perl 

##LICENSE##

use strict;
use warnings;


	
	
	
	#unregis app
	if (-x '/usr/local/cpanel/bin/unregister_appconfig') {
		system('/usr/local/cpanel/bin/unregister_appconfig /usr/local/rvglobalsoft/rvglobalsoftmanager/auto/appconfig/rvglobalsoftmanager.conf');
	}
	
	
	#delete app on cgi path
	if (-l '/usr/local/cpanel/whostmgr/docroot/cgi/rvglobalsoftmanager') {
		system('rm','-rf','/usr/local/cpanel/whostmgr/docroot/cgi/rvglobalsoftmanager');
	}
	
	#delete addon
	if (-f '/usr/local/cpanel/whostmgr/docroot/cgi/addon_rvglobalsoftmanager.cgi') {
		system('rm','-f','/usr/local/cpanel/whostmgr/docroot/cgi/addon_rvglobalsoftmanager.cgi');
	}
	if (-f '/usr/local/cpanel/whostmgr/cgi/addon_rvglobalsoftmanager.cgi') {
		system('rm','-f','/usr/local/cpanel/whostmgr/cgi/addon_rvglobalsoftmanager.cgi');
	}
	
	
	
	
	#delete program path
	if (-d '/usr/local/rvglobalsoft/rvglobalsoftmanager') {
		system('rm','-rf','/usr/local/rvglobalsoft/rvglobalsoftmanager');
	}

	#refresh plugin cache
	if (-x '/usr/local/cpanel/bin/refresh_plugin_cache') {
		system('/usr/local/cpanel/bin/refresh_plugin_cache');
	}
	
	print "\nUninstall RVglobalsoft Manager completed.\n";


	
	
	


1;

Copyright 2K16 - 2K18 Indonesian Hacker Rulez