����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(dirname(__FILE__).'/SGState.php');
class SGDBState extends SGState
{
private $progressCursor = 0;
private $cursor = 0;
private $numberOfEntries = 0;
private $lineSize = 0;
private $backedUpTables = array();
private $tablesToBackup = array();
function __construct()
{
$this->type = SG_STATE_TYPE_DB;
}
public function setBackedUpTables($backedUpTables)
{
$this->backedUpTables = $backedUpTables;
}
public function getBackedUpTables()
{
return $this->backedUpTables;
}
public function getTablesToBackup(){
return $this->tablesToBackup;
}
public function setTablesToBackup($tablesToBackup){
$this->tablesToBackup = $tablesToBackup;
}
public function setLineSize($lineSize)
{
$this->lineSize = $lineSize;
}
public function getLineSize()
{
return $this->lineSize;
}
public function setNumberOfEntries($numberOfEntries)
{
$this->numberOfEntries = $numberOfEntries;
}
public function getNumberOfEntries()
{
return $this->numberOfEntries;
}
public function setCursor($cursor)
{
$this->cursor = $cursor;
}
public function getCursor()
{
return $this->cursor;
}
public function setProgressCursor($progressCursor)
{
$this->progressCursor = $progressCursor;
}
public function getProgressCursor()
{
return $this->progressCursor;
}
public function init($stateJson)
{
$this->lineSize = $stateJson['lineSize'];
$this->numberOfEntries = $stateJson['numberOfEntries'];
$this->inprogress = $stateJson['inprogress'];
$this->cursor = $stateJson['cursor'];
$this->progressCursor = $stateJson['progressCursor'];
$this->offset = $stateJson['offset'];
$this->action = $stateJson['action'];
$this->actionId = $stateJson['actionId'];
$this->actionStartTs = $stateJson['actionStartTs'];
$this->backupFileName = $stateJson['backupFileName'];
$this->backupFilePath = $stateJson['backupFilePath'];
$this->progress = $stateJson['progress'];
$this->warningsFound = $stateJson['warningsFound'];
$this->pendingStorageUploads = $stateJson['pendingStorageUploads'];
$this->backedUpTables = $stateJson['backedUpTables'];
$this->tablesToBackup = $stateJson['tablesToBackup'];
return $this;
}
public function save()
{
file_put_contents(SG_BACKUP_DIRECTORY.SG_STATE_FILE_NAME, json_encode(array(
'lineSize' => $this->lineSize,
'numberOfEntries' => $this->numberOfEntries,
'inprogress' => $this->inprogress,
'cursor' => $this->cursor,
'progressCursor' => $this->progressCursor,
'offset' => $this->offset,
'type' => $this->type,
'token' => $this->token,
'action' => $this->action,
'actionId' => $this->actionId,
'actionStartTs' => $this->actionStartTs,
'backupFileName' => $this->backupFileName,
'backupFilePath' => $this->backupFilePath,
'progress' => $this->progress,
'warningsFound' => $this->warningsFound,
'pendingStorageUploads' => $this->pendingStorageUploads,
'backedUpTables' => $this->backedUpTables,
'tablesToBackup' => $this->tablesToBackup
)));
}
}
| 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 |
|