403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/libexec/webmin/bind8/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/libexec/webmin/bind8/conf_forwarding.cgi
#!/usr/bin/perl
# conf_forwarding.cgi
# Display global forwarding and transfer options

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

$conf = &get_config();
$options = &find("options", $conf);
$mems = $options->{'members'};

# Start of the form
print &ui_form_start("save_forwarding.cgi", "post");
print &ui_table_start($text{'forwarding_header'}, "width=100%", 4);

print &forwarders_input($text{'forwarding_fwders'}, 'forwarders', $mems);

print &choice_input($text{'forwarding_fwd'}, 'forward', $mems,
		    $text{'yes'}, 'first', $text{'no'}, 'only',
		    $text{'default'}, undef);

print &opt_input($text{'forwarding_max'}, "max-transfer-time-in",
		 $mems, $text{'default'}, 4, $text{'forwarding_minutes'});

print &choice_input($text{'forwarding_format'}, 'transfer-format', $mems,
		    $text{'forwarding_one'}, 'one-answer',
		    $text{'forwarding_many'}, 'many-answers',
		    $text{'default'}, undef);

print &opt_input($text{'forwarding_in'}, "transfers-in",
		 $mems, $text{'default'}, 4);

print &opt_input($text{'forwarding_per_ns'}, "transfers-per-ns",
		 $mems, $text{'default'}, 4);

print &opt_input($text{'forwarding_out'}, "transfers-out",
		 $mems, $text{'default'}, 4);

print &ui_table_end();
print &ui_form_end([ [ undef, $text{'save'} ] ]);

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


Youez - 2016 - github.com/yon3zu
LinuXploit