__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?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, $data;
//Do we meet the Minimum software requirements
__requirements();
if(!empty($error)){
return false;
}
sclone_replace($replace_data, $__settings['softpath'].'/application/config/database.php', true);
$file = sfile($__settings['softpath'].'/application/config/config.php');
if(empty($file)){
$error[] = 'Could not read the config file.';
return false;
}
soft_preg_replace('/\$config\[("|\')encryption_key("|\')\](\s*?)=(\s*?)("|\')(.*?)("|\');/is', $file, $encryption_key, 6);
$__settings['encryption_key'] = srandstr(10);
$replace_data[$encryption_key] = $__settings['encryption_key'];
sclone_replace($replace_data, $__settings['softpath'].'/application/config/config.php', true);
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($data['softpath'])){
$replace_data['RewriteBase /'] = 'RewriteBase '.$__settings['relativeurl'].'/';
}elseif(is_dom_root($__settings['softpath'])){
$replace_data['RewriteBase '.$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;
}
?>| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| images | Folder | 0755 |
|
|
| php53 | Folder | 0755 |
|
|
| php56 | Folder | 0755 |
|
|
| php71 | Folder | 0755 |
|
|
| php81 | Folder | 0755 |
|
|
| php82 | Folder | 0755 |
|
|
| .env | File | 2.99 KB | 0644 |
|
| .htaccess | File | 1.15 KB | 0644 |
|
| _clone.php | File | 2.34 KB | 0644 |
|
| changelog.txt | File | 803 B | 0644 |
|
| edit.php | File | 4.7 KB | 0644 |
|
| edit.xml | File | 433 B | 0644 |
|
| extend.php | File | 9.27 KB | 0644 |
|
| fileindex.php | File | 279 B | 0644 |
|
| import.php | File | 4.27 KB | 0644 |
|
| info.xml | File | 3.57 KB | 0644 |
|
| install.js | File | 921 B | 0644 |
|
| install.php | File | 4.52 KB | 0644 |
|
| install.xml | File | 792 B | 0644 |
|
| md5 | File | 2.14 KB | 0644 |
|
| notes.txt | File | 655 B | 0644 |
|
| update_pass.php | File | 541 B | 0644 |
|
| upgrade.php | File | 5.76 KB | 0644 |
|
| upgrade.xml | File | 248 B | 0644 |
|