⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
webmin
/
cluster-passwd
/
View File Name :
acl_security.pl
require 'cluster-passwd-lib.pl'; # acl_security_form(&options) # Output HTML for editing security options for the passwd module sub acl_security_form { print "
$passwd::text{'acl_users'}
\n"; printf "
%s\n", $_[0]->{'mode'} == 0 ? 'checked' : '', $passwd::text{'acl_mode0'}; printf "
%s
\n", $_[0]->{'mode'} == 3 ? 'checked' : '', $passwd::text{'acl_mode3'}; printf "
%s\n", $_[0]->{'mode'} == 1 ? 'checked' : '', $passwd::text{'acl_mode1'}; printf "
%s
\n", $_[0]->{'mode'} == 1 ? $_[0]->{'users'} : '', &user_chooser_button("users1", 1); printf "
%s\n", $_[0]->{'mode'} == 2 ? 'checked' : '', $passwd::text{'acl_mode2'}; printf "
%s
\n", $_[0]->{'mode'} == 2 ? $_[0]->{'users'} : '', &user_chooser_button("users2", 1); printf "
%s\n", $_[0]->{'mode'} == 4 ? 'checked' : '', $passwd::text{'acl_mode4'}; printf "
-\n", $_[0]->{'mode'} == 4 ? $_[0]->{'low'} : ''; printf "
\n", $_[0]->{'mode'} == 4 ? $_[0]->{'high'} : ''; printf "
%s\n", $_[0]->{'mode'} == 5 ? 'checked' : '', $passwd::text{'acl_mode5'}; printf "
%s
\n", $_[0]->{'mode'} == 5 ? $_[0]->{'users'} : '', &group_chooser_button("groups", 1); printf "%s
%s
\n", " " x 5, $_[0]->{'sec'} ? 'checked' : '',$passwd::text{'acl_sec'}; printf "
%s\n", $_[0]->{'mode'} == 6 ? 'checked' : '', $passwd::text{'acl_mode6'}; printf "
\n", $_[0]->{'mode'} == 6 ? $_[0]->{'users'} : ''; print "
$passwd::text{'acl_repeat'}
\n"; printf "
$passwd::text{'yes'}\n", $_[0]->{'repeat'} ? "checked" : ""; printf "
$passwd::text{'no'}
\n", $_[0]->{'repeat'} ? "" : "checked"; print "
$passwd::text{'acl_others'}
\n"; printf "
$passwd::text{'yes'}\n", $_[0]->{'others'} == 1 ? "checked" : ""; printf "
$passwd::text{'acl_opt'}\n", $_[0]->{'others'} == 2 ? "checked" : ""; printf "
$passwd::text{'no'}
\n", $_[0]->{'others'} == 0 ? "checked" : ""; print "
$passwd::text{'acl_old'}
\n"; printf "
$passwd::text{'yes'}\n", $_[0]->{'old'} == 1 ? "checked" : ""; printf "
$passwd::text{'acl_old_this'}\n", $_[0]->{'old'} == 2 ? "checked" : ""; printf "
$passwd::text{'no'}
\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'}; }