[ Avaa Bypassed ]




Upload:

Command:

www-data@18.216.248.35: ~ $
#!/usr/bin/perl
# Show SSL options

require './dovecot-lib.pl';
&ui_print_header(undef, $text{'ssl_title'}, "");
$conf = &get_config();

print &ui_form_start("save_ssl.cgi", "post");
print &ui_table_start($text{'ssl_header'}, "width=100%", 4);

# SSL cert and key files
if (&find_value("ssl_cert", $conf, 2) || &version_atleast("2.2")) {
	$cert = &find_value("ssl_cert", $conf, 0, "");
	$cert =~ s/^<//;
	}
else {
	$cert = &find_value("ssl_cert_file", $conf);
	}
print &ui_table_row($text{'ssl_cert'},
	    &ui_opt_textbox("cert", $cert, 40, &getdef("ssl_cert_file")), 3,
	    [ undef, "nowrap" ]);

if (&find_value("ssl_key", $conf, 2) || &version_atleast("2.2")) {
	$key = &find_value("ssl_key", $conf, 0, "");
	$key =~ s/^<//;
	}
else {
	$key = &find_value("ssl_key_file", $conf);
	}
print &ui_table_row($text{'ssl_key'},
	    &ui_opt_textbox("key", $key, 40, &getdef("ssl_key_file")), 3,
	    [ undef, "nowrap" ]);

# SSL key password
$pass = &find_value("ssl_key_password", $conf);
print &ui_table_row($text{'ssl_pass'},
	    &ui_opt_textbox("pass", $pass, 20, $text{'ssl_prompt'}), 3,
	    [ undef, "nowrap" ]);

# SSL CA file
if (&find_value("ssl_ca", $conf, 2) || &version_atleast("2.2")) {
	$ca = &find_value("ssl_ca", $conf, 0, "");
	$ca =~ s/^<//;
	}
else {
	$ca = &find_value("ssl_ca_file", $conf);
	}
print &ui_table_row($text{'ssl_ca'},
	    &ui_opt_textbox("ca", $ca, 40,
		&getdef("ssl_ca_file", [ [ "", $text{'ssl_none'} ] ])), 3,
	    [ undef, "nowrap" ]);

# Parameter regen time
$regen = &find_value("ssl_parameters_regenerate", $conf);
print &ui_table_row($text{'ssl_regen'},
		    &ui_opt_textbox("regen", $regen, 5,
				    &getdef("ssl_parameters_regenerate")).
				    " ".$text{'ssl_hours'}, 3);

# Disable plaintext passwords when not SSL
@opts = ( [ 'yes', $text{'yes'} ], [ 'no', $text{'no'} ] );
$plain = &find_value("disable_plaintext_auth", $conf);
print &ui_table_row($text{'ssl_plain'},
    &ui_radio("plain", $plain,
	      [ @opts,
		[ '', &getdef("disable_plaintext_auth", \@opts) ] ]), 3);

print &ui_table_end();
print &ui_form_end([ [ "save", $text{'save'} ] ]);

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


Filemanager

Name Type Size Permission Actions
images Folder 0755
lang Folder 0755
CHANGELOG File 1.49 KB 0644
apply.cgi File 199 B 0755
backup_config.pl File 735 B 0755
bootup.cgi File 416 B 0755
cgi_args.pl File 150 B 0755
config File 135 B 0644
config-AlmaLinux-7.0-ALL File 128 B 0644
config-Amazon-Linux File 124 B 0644
config-CentOS-Stream-Linux-8.0-ALL File 128 B 0644
config-CloudLinux-8.0-ALL File 128 B 0644
config-Oracle-Linux-8.0-ALL File 128 B 0644
config-Rocky-Linux-7.0-ALL File 128 B 0644
config-debian-linux File 124 B 0644
config-freebsd-8.0-8.9 File 150 B 0644
config-freebsd-9-ALL File 142 B 0644
config-gentoo-linux File 104 B 0644
config-mandrake-linux File 116 B 0644
config-openSUSE-Linux-15.0-ALL File 124 B 0644
config-openmamba-linux File 116 B 0644
config-pardus-linux File 104 B 0644
config-redhat-linux-11.0-23.0 File 142 B 0644
config-redhat-linux-24.0-ALL File 146 B 0644
config-suse-linux File 124 B 0644
config-syno-linux File 162 B 0644
config.info File 240 B 0644
config.info.bg File 306 B 0644
config.info.ca File 225 B 0644
config.info.cs File 208 B 0644
config.info.de File 187 B 0644
config.info.es File 218 B 0644
config.info.fr File 0 B 0644
config.info.hr File 0 B 0644
config.info.hu File 0 B 0644
config.info.it File 185 B 0644
config.info.nl File 186 B 0644
config.info.no File 179 B 0644
config.info.pl File 189 B 0644
config.info.zh_TW File 192 B 0644
dovecot-lib.pl File 14.9 KB 0755
edit_login.cgi File 7.75 KB 0755
edit_mail.cgi File 5.13 KB 0755
edit_manual.cgi File 928 B 0755
edit_net.cgi File 1.67 KB 0755
edit_ssl.cgi File 2.1 KB 0755
index.cgi File 1.96 KB 0755
install_check.pl File 370 B 0755
log_parser.pl File 424 B 0755
module.info File 168 B 0644
module.info.af File 0 B 0644
module.info.af.auto File 103 B 0644
module.info.ar File 0 B 0644
module.info.ar.auto File 120 B 0644
module.info.be File 0 B 0644
module.info.be.auto File 125 B 0644
module.info.bg File 0 B 0644
module.info.bg.auto File 178 B 0644
module.info.ca File 116 B 0644
module.info.cs File 33 B 0644
module.info.cs.auto File 80 B 0644
module.info.da File 0 B 0644
module.info.da.auto File 94 B 0644
module.info.de File 102 B 0644
module.info.el File 0 B 0644
module.info.el.auto File 200 B 0644
module.info.es File 39 B 0644
module.info.es.auto File 82 B 0644
module.info.eu File 0 B 0644
module.info.eu.auto File 121 B 0644
module.info.fa File 0 B 0644
module.info.fa.auto File 135 B 0644
module.info.fi File 0 B 0644
module.info.fi.auto File 111 B 0644
module.info.fr File 0 B 0644
module.info.fr.auto File 122 B 0644
module.info.he File 0 B 0644
module.info.he.auto File 139 B 0644
module.info.hr File 0 B 0644
module.info.hr.auto File 127 B 0644
module.info.hu File 36 B 0644
module.info.hu.auto File 74 B 0644
module.info.it File 33 B 0644
module.info.it.auto File 73 B 0644
module.info.ja File 0 B 0644
module.info.ja.auto File 126 B 0644
module.info.ko File 0 B 0644
module.info.ko.auto File 119 B 0644
module.info.lt File 0 B 0644
module.info.lt.auto File 122 B 0644
module.info.lv File 0 B 0644
module.info.lv.auto File 108 B 0644
module.info.ms File 113 B 0644
module.info.mt File 0 B 0644
module.info.mt.auto File 118 B 0644
module.info.nl File 33 B 0644
module.info.nl.auto File 69 B 0644
module.info.no File 33 B 0644
module.info.no.auto File 54 B 0644
module.info.pl File 116 B 0644
module.info.pt File 0 B 0644
module.info.pt.auto File 119 B 0644
module.info.pt_BR File 0 B 0644
module.info.pt_BR.auto File 125 B 0644
module.info.ro File 0 B 0644
module.info.ro.auto File 117 B 0644
module.info.ru File 41 B 0644
module.info.ru.auto File 98 B 0644
module.info.sk File 0 B 0644
module.info.sk.auto File 108 B 0644
module.info.sl File 0 B 0644
module.info.sl.auto File 117 B 0644
module.info.sv File 0 B 0644
module.info.sv.auto File 105 B 0644
module.info.th File 0 B 0644
module.info.th.auto File 196 B 0644
module.info.tr File 0 B 0644
module.info.tr.auto File 109 B 0644
module.info.uk File 0 B 0644
module.info.uk.auto File 135 B 0644
module.info.ur File 0 B 0644
module.info.ur.auto File 131 B 0644
module.info.vi File 0 B 0644
module.info.vi.auto File 122 B 0644
module.info.zh File 0 B 0644
module.info.zh.auto File 99 B 0644
module.info.zh_TW File 0 B 0644
module.info.zh_TW.auto File 105 B 0644
save_login.cgi File 5.91 KB 0755
save_mail.cgi File 2.77 KB 0755
save_manual.cgi File 520 B 0755
save_net.cgi File 960 B 0755
save_ssl.cgi File 1.89 KB 0755
start.cgi File 194 B 0755
stop.cgi File 190 B 0755