One Hat Cyber Team
Your IP :
3.135.182.115
Server IP :
103.133.214.160
Server :
Linux venus.ewebguru.net 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
Apache/2
PHP Version :
8.1.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
var
/
softaculous
/
myfaq
/
Edit File:
_clone.php
<?php ////////////////////////////////////////////////////////////// //=========================================================== // clone.php //=========================================================== // SOFTACULOUS // Version : 4.2.8 // Inspired by the DESIRE to be the BEST OF ALL // ---------------------------------------------------------- // Started by: Alons // Date: 10th Jan 2009 // Time: 21:00 hrs // Site: http://www.softaculous.com/ (SOFTACULOUS) // ---------------------------------------------------------- // Please Read the Terms of use at http://www.softaculous.com // ---------------------------------------------------------- //=========================================================== // (c)Softaculous Inc. //=========================================================== ////////////////////////////////////////////////////////////// if(!defined('SOFTACULOUS')){ die('Hacking Attempt'); } //The Install process function __clone(){ global $__settings, $error, $software, $globals, $replace_data, $source_data; //Do we meet the Minimum software requirements __requirements(); if(!empty($error)){ return false; } $temp = parse_url($source_data['softurl']); $source_data['relativeurl'] = $temp['path']; $temp = parse_url($__settings['softurl']); $__settings['relativeurl'] = $temp['path']; $__settings['domhost'] = $temp['host']; $__settings['protocol'] = $temp['scheme']; // database.php $file = sfile($__settings['softpath'].'/config/database.php'); if(empty($file)){ $error[] = 'Could not read the config file.'; return false; } sclone_replace($replace_data, $__settings['softpath'].'/config/database.php', true); soft_preg_replace('/\$DB\[("|\')prefix("|\')\](\s*?)=(\s*?)("|\')(.*?)("|\');/is', $file, $__settings['dbprefix'], 6); if(empty($__settings['dbprefix'])){ $error[] = 'Could not get the database prefix.'; return false; } //sql $query = "UPDATE `".$__settings['dbprefix']."faqconfig` SET config_value='".md5(uniqid(rand()))."' WHERE config_name='main.phpMyFAQToken';"; sdb_query($query, $__settings['softdbhost'], $__settings['softdbuser'], $__settings['softdbpass'], $__settings['softdb']); $query1 = "UPDATE `".$__settings['dbprefix']."faqinstances` SET "."url='".$__settings['protocol']."://".$__settings['domhost']."',"."instance='".$__settings['relativeurl']."/"."' WHERE id='1';"; sdb_query($query1, $__settings['softdbhost'], $__settings['softdbuser'], $__settings['softdbpass'], $__settings['softdb']); if(sfile_exists($__settings['softpath'].'/.htaccess')){ // If the installation is on root domain we need to change the below relative URL if(is_dom_root($source_data['softpath'])){ $replace_data['RewriteBase \'/\''] = 'RewriteBase \''.$__settings['relativeurl'].'\''; $replace_data['RewriteBase /'] = 'RewriteBase '.$__settings['relativeurl']; }elseif(is_dom_root($__settings['softpath'])){ $replace_data['RewriteBase \''.$source_data['relativeurl'].'\''] = 'RewriteBase \'/\''; $replace_data['RewriteBase '.$source_data['relativeurl']] = 'RewriteBase /'; } sclone_replace($replace_data, $__settings['softpath'].'/.htaccess', true); } } //Check whether the Minimum Software configuration matches function __requirements(){ global $__settings, $error, $software; return true; } ?>
Simpan