403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/home/SERVERWEB/webmin-2.105/webalizer/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/home/SERVERWEB/webmin-2.105/webalizer/acl_security.pl
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in);
do 'webalizer-lib.pl';

# acl_security_form(&options)
# Output HTML for editing security options for the webalizer module
sub acl_security_form
{
my ($o) = @_;

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

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

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

print &ui_table_row($text{'acl_user'},
	&ui_radio("user_def", $o->{'user'} eq "" ? 1 :
			      $o->{'user'} eq "*" ? 2 : 0,
		  [ [ 1, $text{'acl_this'} ],
		    [ 2, $text{'acl_any'} ],
		    [ 0, &ui_user_textbox("user", $o->{'user'} eq "*" ? "" :
						$o->{'user'}, 20) ] ]));

print &ui_table_row($text{'acl_dir'},
	&ui_textbox("dir", $o->{'dir'}, 60), 3);
}

# acl_security_save(&options, &in)
# Parse the form for security options for the shell module
sub acl_security_save
{
my ($o, $in) = @_;
$o->{'view'} = $in->{'view'};
$o->{'global'} = $in->{'global'};
$o->{'add'} = $in->{'add'};
$o->{'dir'} = $in->{'dir'};
$o->{'user'} = $in->{'user_def'} == 2 ? "*" :
	       $in->{'user_def'} == 1 ? "" : $in->{'user'};
}


Youez - 2016 - github.com/yon3zu
LinuXploit