����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
require_once(SG_LIB_PATH.'SGFileState.php');
require_once(SG_LIB_PATH.'SGDBState.php');
require_once(SG_LIB_PATH.'SGUploadState.php');
require_once(SG_LIB_PATH.'SGMigrateState.php');
class SGState
{
protected $inprogress = false;
protected $type = '';
protected $token = '';
protected $action = '';
protected $actionId = null;
protected $actionStartTs = 0;
protected $backupFileName = '';
protected $backupFilePath = '';
protected $progress = 0;
protected $warningsFound = false;
protected $pendingStorageUploads = array();
protected $restoreMode = '';
protected $restoreFiles = array();
protected $offset = 0;
function __construct()
{
}
public function setInprogress($inprogress)
{
$this->inprogress = $inprogress;
}
public function setToken($token)
{
$this->token = $token;
}
public function setAction($action)
{
$this->action = $action;
}
public function setType($type)
{
$this->type = $type;
}
public function setActionId($actionId)
{
$this->actionId = $actionId;
}
public function setActionStartTs($actionStartTs)
{
$this->actionStartTs = $actionStartTs;
}
public function setBackupFileName($name)
{
$this->backupFileName = $name;
}
public function setBackupFilePath($backupFilePath)
{
$this->backupFilePath = $backupFilePath;
}
public function setProgress($progress)
{
$this->progress = $progress;
}
public function setWarningsFound($warningsFound)
{
$this->warningsFound = $warningsFound;
}
public function setRestoreFiles($restoreFiles)
{
$this->restoreFiles = $restoreFiles;
}
public function setPendingStorageUploads($pendingStorageUploads)
{
$this->pendingStorageUploads = $pendingStorageUploads;
}
public function setRestoreMode($mode){
$this->restoreMode = $mode;
}
public function getRestoreMode(){
return $this->restoreMode;
}
public function getInprogress()
{
return $this->inprogress;
}
public function getToken()
{
return $this->token;
}
public function getAction()
{
return $this->action;
}
public function getType()
{
return $this->type;
}
public function getActionId()
{
return $this->actionId;
}
public function getActionStartTs()
{
return $this->actionStartTs;
}
public function getBackupFileName()
{
return $this->backupFileName;
}
public function getBackupFilePath()
{
return $this->backupFilePath;
}
public function getProgress()
{
return $this->progress;
}
public function getWarningsFound()
{
return $this->warningsFound;
}
public function getRestoreFiles()
{
return $this->restoreFiles;
}
public function getPendingStorageUploads()
{
return $this->pendingStorageUploads;
}
public function setOffset($offset)
{
$this->offset = $offset;
}
public function getOffset()
{
return $this->offset;
}
public function factory($stateJson)
{
$stateJson = json_decode($stateJson, true);
$type = $stateJson['type'];
if ($type == SG_STATE_TYPE_FILE) {
$sgState = new SGFileState();
}
else if ($type == SG_STATE_TYPE_UPLOAD) {
$sgState = new SGUploadState();
}
else if ($type == SG_STATE_TYPE_MIGRATE) {
$sgState = new SGMigrateState();
}
else {
$sgState = new SGDBState();
}
$sgState = $sgState->init($stateJson);
return $sgState;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| BackupGuard | Folder | 0755 |
|
|
| Dropbox | Folder | 0755 |
|
|
| Request | Folder | 0755 |
|
|
| SGArchive.php | File | 21.39 KB | 0644 |
|
| SGAuthClient.php | File | 6.68 KB | 0644 |
|
| SGCallback.php | File | 870 B | 0644 |
|
| SGCdrEntry.php | File | 1.01 KB | 0644 |
|
| SGCharsetHandler.php | File | 2.37 KB | 0644 |
|
| SGDBState.php | File | 2.95 KB | 0644 |
|
| SGEntry.php | File | 155 B | 0644 |
|
| SGFileEntry.php | File | 917 B | 0644 |
|
| SGFileState.php | File | 4.42 KB | 0644 |
|
| SGMigrateState.php | File | 1.17 KB | 0644 |
|
| SGMysqldump.php | File | 45.07 KB | 0644 |
|
| SGReloadHandler.php | File | 804 B | 0644 |
|
| SGReloader.php | File | 2.27 KB | 0644 |
|
| SGReloaderState.php | File | 1.2 KB | 0644 |
|
| SGReviewManager.php | File | 12.04 KB | 0644 |
|
| SGState.php | File | 3.21 KB | 0644 |
|
| SGStatsRequests.php | File | 1.81 KB | 0644 |
|
| SGUploadHandler.php | File | 905 B | 0644 |
|
| SGUploadState.php | File | 4.04 KB | 0644 |
|