[ Avaa Bypassed ]




Upload:

Command:

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

# acl_security_form(&options)
# Output HTML for editing security options for the passwd module
sub acl_security_form
{
my ($o) = @_;
print &ui_table_row($text{'acl_users'},
    &ui_radio_table("mode", $o->{'mode'},
	[ [ 0, $text{'acl_mode0'} ],
	  [ 3, $text{'acl_mode3'} ],
	  [ 1, $text{'acl_mode1'},
	    &ui_textbox("users1", $o->{'mode'} == 1 ? $o->{'users'} : "", 40).
	    " ".&user_chooser_button("users1", 1) ],
	  [ 2, $text{'acl_mode2'},
	    &ui_textbox("users2", $o->{'mode'} == 2 ? $o->{'users'} : "", 40).
	    " ".&user_chooser_button("users2", 1) ],
	  [ 4, $text{'acl_mode4'},
	    &ui_textbox("low", $o->{'low'}, 8)." - ".
	    &ui_textbox("high", $o->{'high'}, 8) ],
	  [ 5, $text{'acl_mode5'},
	    &ui_textbox("groups", $o->{'mode'} == 5 ? $o->{'groups'} : "", 40).
	    " ".&group_chooser_button("groups", 1)."<br>\n".
	    &ui_checkbox("sec", 1, $text{'acl_sec'}, $o->{'sec'})."<br>\n".
	    $text{'acl_notusers'}." ".
	    &ui_textbox("notusers", $o->{'notusers'}, 20)." ".
	    &user_chooser_button("notusers", 1) ],
	  [ 6, $text{'acl_mode6'},
	    &ui_textbox("match", $o->{'mode'} == 6 ? $o->{'users'} : "", 20) ],
	]), 3);

print &ui_table_row($text{'acl_self'},
	&ui_yesno_radio("self", $o->{'self'}), 3);

print &ui_table_row($text{'acl_repeat'},
	&ui_yesno_radio("repeat", $o->{'repeat'}), 3);

print &ui_table_row($text{'acl_expire'},
	&ui_yesno_radio("expire", $o->{'expire'}), 3);

print &ui_table_row($text{'acl_others'},
	&ui_radio("others", $o->{'others'},
		  [ [ 1, $text{'yes'} ],
		    [ 2, $text{'acl_opt'} ],
		    [ 0, $text{'no'} ] ]), 3);

print &ui_table_row($text{'acl_old'},
	&ui_radio("old", $o->{'old'},
		  [ [ 1, $text{'yes'} ],
		    [ 2, $text{'acl_old_this'} ],
		    [ 0, $text{'no'} ] ]), 3);
}

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


Filemanager

Name Type Size Permission Actions
images Folder 0755
lang Folder 0755
CHANGELOG File 648 B 0644
acl_security.pl File 2.37 KB 0755
change-passwd.pl File 1.44 KB 0755
change_passwd.cgi File 1.6 KB 0755
config File 39 B 0644
config-openmamba-linux File 57 B 0644
config.info File 229 B 0644
config.info.af File 256 B 0644
config.info.ar File 371 B 0644
config.info.ca File 285 B 0644
config.info.cs File 288 B 0644
config.info.de File 271 B 0644
config.info.el File 456 B 0644
config.info.es File 307 B 0644
config.info.fa File 433 B 0644
config.info.fi File 261 B 0644
config.info.fr File 312 B 0644
config.info.hr File 0 B 0644
config.info.hu File 310 B 0644
config.info.it File 250 B 0644
config.info.ja File 307 B 0644
config.info.ko File 239 B 0644
config.info.ms File 259 B 0644
config.info.nl File 264 B 0644
config.info.no File 241 B 0644
config.info.pl File 231 B 0644
config.info.ru File 498 B 0644
config.info.tr File 299 B 0644
config.info.uk File 482 B 0644
config.info.zh_TW File 175 B 0644
defaultacl File 71 B 0644
edit_passwd.cgi File 1.8 KB 0755
index.cgi File 2.74 KB 0755
log_parser.pl File 423 B 0755
module.info File 218 B 0644
module.info.af File 26 B 0644
module.info.af.auto File 85 B 0644
module.info.ar File 130 B 0644
module.info.ar.auto File 19 B 0644
module.info.be File 0 B 0644
module.info.be.auto File 148 B 0644
module.info.bg File 0 B 0644
module.info.bg.auto File 164 B 0644
module.info.ca File 97 B 0644
module.info.ca.auto File 15 B 0644
module.info.cs File 21 B 0644
module.info.cs.auto File 78 B 0644
module.info.da File 0 B 0644
module.info.da.auto File 104 B 0644
module.info.de File 96 B 0644
module.info.de.auto File 15 B 0644
module.info.el File 0 B 0644
module.info.el.auto File 197 B 0644
module.info.es File 31 B 0644
module.info.es.auto File 86 B 0644
module.info.eu File 0 B 0644
module.info.eu.auto File 105 B 0644
module.info.fa File 0 B 0644
module.info.fa.auto File 157 B 0644
module.info.fi File 26 B 0644
module.info.fi.auto File 87 B 0644
module.info.fr File 32 B 0644
module.info.fr.auto File 95 B 0644
module.info.he File 0 B 0644
module.info.he.auto File 117 B 0644
module.info.hr File 0 B 0644
module.info.hr.auto File 104 B 0644
module.info.hu File 32 B 0644
module.info.hu.auto File 92 B 0644
module.info.it File 24 B 0644
module.info.it.auto File 79 B 0644
module.info.ja File 33 B 0644
module.info.ja.auto File 115 B 0644
module.info.ko File 22 B 0644
module.info.ko.auto File 105 B 0644
module.info.lt File 0 B 0644
module.info.lt.auto File 112 B 0644
module.info.lv File 0 B 0644
module.info.lv.auto File 96 B 0644
module.info.ms File 88 B 0644
module.info.ms.auto File 15 B 0644
module.info.mt File 0 B 0644
module.info.mt.auto File 105 B 0644
module.info.nl File 30 B 0644
module.info.nl.auto File 84 B 0644
module.info.no File 31 B 0644
module.info.no.auto File 75 B 0644
module.info.pl File 22 B 0644
module.info.pl.auto File 76 B 0644
module.info.pt File 0 B 0644
module.info.pt.auto File 98 B 0644
module.info.pt_BR File 25 B 0644
module.info.pt_BR.auto File 81 B 0644
module.info.ro File 0 B 0644
module.info.ro.auto File 103 B 0644
module.info.ru File 21 B 0644
module.info.ru.auto File 114 B 0644
module.info.sk File 20 B 0644
module.info.sk.auto File 84 B 0644
module.info.sl File 0 B 0644
module.info.sl.auto File 105 B 0644
module.info.sv File 0 B 0644
module.info.sv.auto File 106 B 0644
module.info.th File 0 B 0644
module.info.th.auto File 190 B 0644
module.info.tr File 31 B 0644
module.info.tr.auto File 92 B 0644
module.info.uk File 0 B 0644
module.info.uk.auto File 151 B 0644
module.info.ur File 0 B 0644
module.info.ur.auto File 160 B 0644
module.info.vi File 0 B 0644
module.info.vi.auto File 145 B 0644
module.info.zh File 0 B 0644
module.info.zh.auto File 88 B 0644
module.info.zh_TW File 24 B 0644
module.info.zh_TW.auto File 73 B 0644
passwd-lib.pl File 4.76 KB 0755
prefs.info File 39 B 0644
rbac-mapping File 73 B 0644
safeacl File 47 B 0644
save_passwd.cgi File 2.88 KB 0755