[ Avaa Bypassed ]




Upload:

Command:

www-data@3.148.202.164: ~ $
#!/usr/bin/perl
# Update mail file options

require './dovecot-lib.pl';
&ReadParse();
&error_setup($text{'mail_err'});
$conf = &get_config();
&lock_dovecot_files($conf);

# Mail file location
if ($in{'envmode'} == 4) {
	$in{'other'} =~ /^\S+$/ || &error($text{'mail_eenv'});
	$env = $in{'other'};
	}
else {
	$env = $mail_envs[$in{'envmode'}];
	}

# Add index file location
$env || !$in{'indexmode'} || &error($text{'mail_eindexmode'});
$env || !$in{'controlmode'} || &error($text{'mail_econtrolmode'});
if ($in{'indexmode'} == 1) {
	$env .= ":INDEX=MEMORY";
	}
elsif ($in{'indexmode'} == 2) {
	$in{'index'} =~ /^\/\S+$/ || &error($text{'mail_eindex'});
	$env .= ":INDEX=".$in{'index'};
	}
if ($in{'controlmode'}) {
	$in{'control'} =~ /^\/\S+$/ || &error($text{'mail_econtrol'});
	$env .= ":CONTROL=".$in{'control'};
	}

if (&find("mail_location", $conf, 2)) {
	&save_directive($conf, "mail_location", $env eq "" ? undef : $env);
	}
else {
	&save_directive($conf, "default_mail_env", $env eq "" ? undef : $env);
	}

# Idle intervals
$in{'idle'} != 2 || $in{'idlei'} =~ /^\d+$/ || &error($text{'mail_eidle'});
&save_directive($conf, "mailbox_idle_check_interval",
	$in{'idle'} == 1 ? "520 weeks" : $in{'idle'} == 2 ? "$in{'idlei'} seconds" : undef);

# Yes/no options
&save_directive($conf, "mail_full_filesystem_access",
		$in{'full'} ? $in{'full'} : undef);
&save_directive($conf, "mail_save_crlf",
		$in{'crlf'} ? $in{'crlf'} : undef);
if (&find("mbox_dirty_syncs", $conf, 2)) {
	&save_directive($conf, "mbox_dirty_syncs",
			$in{'change'} ? $in{'change'} : undef);
	}
else {
	&save_directive($conf, "maildir_check_content_changes",
			$in{'change'} ? $in{'change'} : undef);
	}

# Umask
$in{'umask_def'} || $in{'umask'} =~ /^[0-7]{4}$/ ||&error($text{'mail_eumask'});
&save_directive($conf, "umask",
		$in{'umask_def'} ? undef : $in{'umask'});

# UIDL format
if (&find("pop3_uidl_format", $conf, 2)) {
	$uidl = $in{'pop3_uidl_format'} eq '*' ?
			$in{'pop3_uidl_format_other'} : $in{'pop3_uidl_format'};
	$uidl =~ /^\S+$/ || &error($text{'mail_euidl'});
	&save_directive($conf, "pop3_uidl_format", $uidl);
	}

# LAST command
&save_directive($conf, "pop3_enable_last",
		$in{'last'} ? $in{'last'} : undef);

# Index lock method
if (&find("lock_method", $conf, 2)) {
	&save_directive($conf, "lock_method",
			$in{'lock_method'} ? $in{'lock_method'} : undef);
	}

# Mailbox lock method
foreach $l ("mbox_read_locks", "mbox_write_locks") {
	next if (!&find($l, $conf, 2));
	if ($in{$l."_def"}) {
		&save_directive($conf, $l, undef);
		}
	else {
		@methods = ( );
		for(my $i=0; defined($m = $in{$l."_".$i}); $i++) {
			push(@methods, $m) if ($m);
			}
		@methods || &error($text{'mail_e'.$l});
		&save_directive($conf, $l, join(" ", @methods));
		}
	}

&flush_file_lines();
&unlock_dovecot_files($conf);
&webmin_log("mail");
&redirect("");


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